By default, Prefect will validate the types of inputs to your workflow.
Copy
from prefect import flow@flowdef my_workflow(name: str = "World"): return f"Hello, {name}!"my_workflow(name=1) # This will fail with a type validation error
To turn off type validation, set the validate_parameters parameter to False: