I'm attempting to schedule a Flow, but receiving t...
# prefect-community
I'm attempting to schedule a Flow, but receiving this error message:
prefect.utilities.exceptions.ClientError: Flows with required parameters can not be scheduled automatically.
I understand what the error message is saying, but in the
for the
of the Flow, I have the required Parameters defined. It's easy to remove the required flag for these Parameters, but for code readability I'd like to keep them in there. Why is it considered an error, when all of the
defined in the
of the Flow have a value for the required Parameters defined?
Hi @Scott Zelenka - we preserved this error message even for scheduled parameter defaults as a matter of simplicity (e.g., what if one clock provides the default but another doesn’t) but honestly now that you’ve raised it I can see why it’s suboptimal UX
I can work on updating that right now
Hey @Scott Zelenka here’s a PR that will fix this: https://github.com/PrefectHQ/prefect/pull/2166