Jonathan Wright
03/30/2021, 4:00 PMworkspace
variable is not showing in the UI. I have also shown that when the flow runs, in an environment with the same version of the storage class, the workspace
variable is None. I assumed my storage class would be pickled and stored with the flow and I wouldn’t need to make any code changes outside of this file. What am I missing?
https://github.com/PrefectHQ/prefect/blob/master/src/prefect/storage/bitbucket.pybb_storage = Bitbucket(
workspace="mycompany",
project="TRAN",
repo="prefect_scratch_pad",
path="myflow.py",
)
assert bb_storage.build().workspace == "mycompany"
with Flow("Bitbucket cloud storage test", storage = bb_storage) as f:
caller_identity()
f.register(project_name="jwright")
workspace
is not showing here?Mariia Kerimova
03/30/2021, 4:14 PMworkspace
parameter, that's why it doesn't show up in details. Let me open an issue for this.Jonathan Wright
03/30/2021, 4:15 PMMariia Kerimova
03/30/2021, 4:25 PMJonathan Wright
03/30/2021, 4:26 PMMariia Kerimova
03/30/2021, 4:57 PMZanie
03/30/2021, 6:29 PM