Adam
02/25/2021, 12:07 PMregister
with an idempotency_key
set, the flow is uploaded to storage despite it not having changed. Is this intended? Command used in the commentsAdam
02/25/2021, 12:08 PMflow.storage = GCS(bucket="abc")
flow.run_config = KubernetesRun(...)
flow.register(
project_name="abc",
idempotency_key=flow.serialized_hash(),
)
Zanie
Zanie
serialized_hash
is a hash for the serialized flow which is just metadata. The code of one of your tasks could change slightly and the hash would not change. In this case, your storage would be updated but your flow version in Cloud would not be updated.Adam
02/25/2021, 3:56 PMZanie
Adam
02/25/2021, 3:57 PMZanie
git
to check if there are changes to any of their flow filesAdam
02/25/2021, 3:59 PMZanie
DockerRun
(or in your case KubernetesRun
) with a base image that has your shared code and storing your flows using a lighter storage (ie S3
)Adam
02/26/2021, 11:21 AMAdam
02/26/2021, 11:22 AMZanie
Zanie
Adam
03/01/2021, 8:18 PM