Hey guys!
I'm programmatically creating all my deployments and am wondering what's a nice way to create them idempotently.
Meaning, I run the
create_deployments
script multiple times and overwrite the deployments (similar to blocks).
I'm currently using the
.build_from_flow
and
.apply
methods but I keep running into warnings
✅ 1
Kelvin DeCosta
10/19/2022, 4:18 PM
For more context, here's the warning:
Copy code
/path/to/site-packages/prefect/blocks/core.py:655: UserWarning: Block document has schema checksum sha256:long-checksum which does not match the schema checksum for class 'ECSTask'. This indicates the schema has changed and this block may not load.
return cls._from_block_document(block_document)
j
Jeff Hale
10/19/2022, 4:41 PM
That warning should be safe to ignore @Kelvin DeCosta. cc: @alex
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.