make hub push public by default (#10138)

This commit is contained in:
Harrison Chase 2023-09-03 13:04:58 -07:00 committed by GitHub
parent 0c0a7d19eb
commit 9e6cc7b236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
"""