Yury Cheremushkin

06/30/2023, 7:41 AM
Hello! Little question about Prefect Cloud and flows’ local development. I’ve got several colleagues writing flows in their local environment. It means a lot of write-run-fix loops. And every single run is collected by Prefect Cloud and displayed in UI. Everyone has an active Prefect profile in their environment. We need to have it activated because we rely on custom Blocks, deployed into Prefect Cloud + shared credentials in blocks like GCPCredentials or GCPSecret. So we can’t just initialize Prefect - we need to have everyone connected to Prefect Cloud. And the question is: can we somehow switch off sending information about Flow’s run to the server, depending on some local variable, but still be able to access Blocks in the Cloud? So local development will not turn Cloud UI into a mess.