https://prefect.io logo
Title
k

Kelvin DeCosta

10/19/2022, 4:16 PM
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
For more context, here's the warning:
/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
👀 1