when i try to register this flow, i get the following:
TypeError: notall arguments converted during string formatting
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File"register_flows.py", line7, in <module>
File"/usr/local/bin/ddiqa-aws/ddiqa_aws/flows/dev_flow.py", line234, inregister
File"/usr/local/bin/ddiqa-aws/ddiqa_aws/flows/dev_flow.py", line227, in main
File"/home/nlambeth/.local/lib/python3.8/site-packages/prefect/core/flow.py", line1668, inregister
registered_flow = client.register(
File"/home/nlambeth/.local/lib/python3.8/site-packages/prefect/client/client.py", line802, inregister
ValueError: Flow could not be deserialized successfully. Error was: TypeError('notall arguments converted during string formatting')
this flow registers and runs 100% ok if i don't pass
in to Flow(). i can't seem to find any relevant bug reports out there.
1 year ago
As an aside, if you intend to schedule the flow to run daily at a particular hour and minute, perhaps a
would be simpler?
1 year ago
definitely; that's my next approach
i can confirm i get the same error whether i set
to either a
doh! this is a bonehead move on my part. i need to do
schedule = Schedule(clocks=[etc])
before passing it into Flow. i'll leave this here for anyone that makes the same mistake!