Hello, I have a problem, I am using prefect with p...
# prefect-community
j
Hello, I have a problem, I am using prefect with python and cloud environment. when I try to register workflows to Prefect Cloud with AWS s3 method, they are "registered" but in prefect, the version does not change (it keeps the version at 1 even when I registered 3 times): This is causing issues with code sync, meaning that the agent has the newest code, but the flow runs a different version or something
Copy code
flow.storage = S3(
   bucket=DEPLOYMENT_BUCKET, stored_as_script=False, add_default_labels=False
)
flow.register(
   PROJECT_NAME,
   add_default_labels=False,
   idempotency_key=flow.serialized_hash(),
)
1
j
wow great, thanks for that. That is what I am looking for
🙌 1