We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 640766a commit 4b58024Copy full SHA for 4b58024
src/manager_github.py
@@ -18,7 +18,7 @@ class GitHubManager:
18
_REMOTE_PATH: str
19
_SINGLE_COMMIT_BRANCH = "latest_branch"
20
21
- @staticmethod
+ @classmethod
22
def prepare_github_env(cls):
23
"""
24
Download and store for future use:
@@ -37,7 +37,7 @@ def prepare_github_env(cls):
37
cls.REMOTE = github.get_repo(cls._REMOTE_NAME)
38
cls.REPO = Repo.clone_from(cls._REPO_PATH, to_path=clone_path)
39
40
41
def branch(cls, requested_branch: str) -> str:
42
43
Gets requested branch name or the default branch name if requested branch wasn't found.
0 commit comments