Hey folks 🙂
With Prefect 0.15.6 we are experiencing a (weird?) behaviour, which we didn’t have before.
We have a flow, with no schedule defined.
When we register the flow, Prefect activate the schedule.
As a result, we see this in the Prefect UI
ale
11/09/2021, 2:11 PM
Is this a known issue?
k
Kevin Kho
11/09/2021, 2:12 PM
It is known yep and is only a warning on Flows with no schedules.
Kevin Kho
11/09/2021, 2:13 PM
This is a result of a batched registration where bigger flows needed to be batched up as they get registered to get through the API.
a
ale
11/09/2021, 2:14 PM
Do you have plan to improve/fix this behaviour? Should I open an issue on Github?
k
Kevin Kho
11/09/2021, 2:20 PM
Is this on Server for you?
a
ale
11/09/2021, 2:20 PM
Yep
k
Kevin Kho
11/09/2021, 2:24 PM
Yeah I think this is known though but I don’t know the details
a
ale
11/09/2021, 2:39 PM
Ok thanks.
Please let me know if you want me to open an issue on GH
a
Anna Geller
11/09/2021, 2:42 PM
@ale perhaps you could add this flag during registration?
Copy code
flow.register(set_schedule_active=False)
upvote 1
a
ale
11/09/2021, 2:46 PM
Hey @Anna Geller thanks for the suggestion!
I think this is the way to go 👍