Define workflow inputs
Define the inputs to a workflow by adding parameters to the function definition.Validate inputs
By default, Prefect will validate the types of inputs to your workflow.validate_parameters parameter to False:
pydantic, parameters typed with a BaseModel subclass will be coerced to the appropriate types and validated.