From 9e6cc7b236482ca003390a96c9370dde8ca7b66d Mon Sep 17 00:00:00 2001 From: Harrison Chase Date: Sun, 3 Sep 2023 13:04:58 -0700 Subject: [PATCH] make hub push public by default (#10138) --- libs/langchain/langchain/hub.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/langchain/langchain/hub.py b/libs/langchain/langchain/hub.py index 0c0d2d0fef..ac5012e635 100644 --- a/libs/langchain/langchain/hub.py +++ b/libs/langchain/langchain/hub.py @@ -30,7 +30,7 @@ def push( api_url: Optional[str] = None, api_key: Optional[str] = None, parent_commit_hash: Optional[str] = "latest", - new_repo_is_public: bool = False, + new_repo_is_public: bool = True, new_repo_description: str = "", ) -> str: """ @@ -45,7 +45,7 @@ def push( :param parent_commit_hash: The commit hash of the parent commit to push to. Defaults to the latest commit automatically. :param new_repo_is_public: Whether the repo should be public. Defaults to - False (Private by default). + True (Public by default). :param new_repo_description: The description of the repo. Defaults to an empty string. """