I want to store some state in a JSON block, but there needs to be an individual state per incoming flow parameter. Is it possible to create JSON blocks in the job? do I just wrap a
JSON.load(state/{mykey}
in a try, and then in the except block do
JSON(value={initvalue})
+
json_block.save
?
Matt Fysh
04/06/2023, 2:09 AM
ok, I ended up implementing the try/except block to dynamically create the json block per input params, reused the cache key fn to hash the inputs into the block slug name.
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.