Anurag Bajpai
01/20/2022, 9:15 AMclient.get(f"repositories/{self.workspace}/{self.repo}/refs/branches") call to get the list of branches actually returns a paginated list, and the method is not able to find the hash corresponding to the branch if the branch is not included in the first page. Additionally, the error raised in case the branch is not found is not formatted properly (it's a string instead of an f-string).Anna Geller
Anurag Bajpai
01/20/2022, 11:23 AMFailed to load and execute Flow's environment: ValueError("ref {ref!r} not found in '{self.workspace}/{self.repo}'",)
• Output of prefect diagnostics :
{
"config_overrides": {},
"env_vars": [
"PREFECT__SERVER__HOST",
"PREFECT__SERVER__PORT",
"PREFECT__BACKEND"
],
"system_information": {
"platform": "Linux-4.14.248-189.473.amzn2.x86_64-x86_64-with-Ubuntu-18.04-bionic",
"prefect_backend": "server",
"prefect_version": "0.15.4",
"python_version": "3.6.8"
}
}
• Bitbucket cloud should always be the latest version I think? The atlassian-python-api module is v 3.12.1
• The flow storage is defined as:
Bitbucket(workspace=workspace, project=project, repo=repo, ref='master', path=path, cloud_username_secret='BITBUCKET_USERNAME', cloud_app_password_secret='BITBUCKET_PASSWORD')Anna Geller
Anna Geller
Anurag Bajpai
01/20/2022, 12:01 PMref='master' once it started failing. In both cases, sometimes it works, sometimes not, depending on whether the master branch is included in the first page or not.Anna Geller
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by