is there a way to validate flows before registerin...
# prefect-server
l
is there a way to validate flows before registering them? i’d like to test things locally like storage, etc. that would otherwise cause an error on the registering step
k
Not really because
flow.run()
does not respect storage or RunConfig. What are you imagining? Some easier way to debug? Cuz you can do something like
Copy code
storage = S3(...)
storage.build()
The registration calls the build but you can do it independently lol
k
Not sure if its a support pattern per-say, but we have the following
Copy code
flow.storage = S3(storage_bucket)
flow.run_config = ECSRun(image=image)
flow.serialize(build=True)
I’ve seen this catch issues with the flow, before actually registering it
k
Ah that’s true that should call the build as well
l
sweeeet! thanks yall