Hello, We encounter a bug(?) when using a paramete...
# ask-community
j
Hello, We encounter a bug(?) when using a parameter with a
pendulum.Date
, we get a validation error because the parameter being passed from the UI to the flow is in String type instead of
Date
type. This was working before but when the UI change for the date picker in the prefect cloud, we started seeing this error. Error message in the thread below
Copy code
Parameter validation failed for flow 'Test flow': [{'type': 'is_instance_of', 'loc': ('start_date',), 'msg': 'Input should be an instance of Date', 'input': '2025-03-01', 'ctx': {'class': 'Date'}, 'url': '<https://errors.pydantic.dev/2.10/v/is_instance_of>'}, {'type': 'is_instance_of', 'loc': ('end_date',), 'msg': 'Input should be an instance of Date', 'input': '2025-04-01', 'ctx': {'class': 'Date'}, 'url': '<https://errors.pydantic.dev/2.10/v/is_instance_of>'}