Over the weekend I tried the Cloud Storage example locally and it worked fine. Now trying it again (nothing changed), I'm getting the following error:
Copy code
ValueError: Unable to find block document named my-uniq-bucket for block type gcs-bucket
⢠Prefect server and agent are running
⢠Deployment has been applied via :
python gcs_example.py
ā 1
kasteph
03/06/2023, 7:58 PM
It does, however, work when I add a Block via the UI. Is there a way to do this programmatically instead of the UI? I thought that it automatically creates a Block when calling
GcsBucket.load
a
Austin Weisgrau
03/06/2023, 8:00 PM
Block.load() loads a block from the cloud. Block.save() saves a block to the cloud
š 1
k
kasteph
03/06/2023, 8:04 PM
Oh, so that's not provided by the prefect-provided GcsBucket Block out of the box?
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.