Zanie Blue

Results 2936 comments of Zanie Blue

Thanks for the request! We do not recommend using methods for tasks as managing state during concurrent and distributed execution can be confusing. That said, if someone wants to try...

We should provide unique names for these tasks with the `name` option i.e. "Create GCP Secret"

This could also be trivially implemented as a setting for agents — it can just place the run in a new state instead of running it.

@WillRaphaelson Yeah I think `CANCELLED` sounds right to me!

@joelluijmes it's good to claim it to avoid duplicated work. I'd add the setting `PREFECT_LATE_RUNS_CANCEL_AFTER_SECONDS`

Thanks for putting together a POC! This is a little tricky. We can add server-side settings for this that could then be enforced by the late runs service and could...

@joelluijmes that's a possibility but it's more of a deployment-level feature — it doesn't make any sense for ad-hoc flow calls.

Really interesting. In my opinion, `load_script_as_module` should be modified to properly import modules such that your example works as it would if executed normally. I'm not sure it's possible though!

This is on our roadmap. In the meantime, you can use asynchronous tasks from synchronous flows without changing the rest of your code. This would allow you to use the...

I think we should probably add this as a setting first `PREFECT_AGENT_QUERY_RUN_FETCH_LIMIT`. We'll also need to expose the `limit` option for work pools in our client and use this option...