pydantic.errors.PydanticUserError: `StateCreate` is not fully defined; you should define all referenced types, then call `StateCreate.model_rebuild()`.
I appear to be able to replicate the issue by running the following
Copy code
import prefect.states
state = prefect.states.Scheduled()
state.to_state_create()
Is this an existing issue or am I calling the method incorrectly for Prefect 3.0?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.