tirkarthi commented on issue #46487:
URL: https://github.com/apache/airflow/issues/46487#issuecomment-2652758841
`logical_date` is also nullable after AIP-83. I have been getting below
error in dags where manual trigger from UI without `logical_date` is done.
During handling of the above exception, another exception occurred:
```
File
"/home/karthikeyan/stuff/python/airflow/airflow/api_fastapi/core_api/routes/public/task_instances.py",
line 450, in get_task_instances
return TaskInstanceCollectionResponse(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/home/karthikeyan/stuff/python/airflow/.venv/lib/python3.11/site-packages/pydantic/main.py",
line 214, in __init__
validated_self = self.__pydantic_validator__.validate_python(data,
self_instance=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 15 validation errors for
TaskInstanceCollectionResponse
task_instances.0.logical_date
Input should be a valid datetime [type=datetime_type, input_value=None,
input_type=NoneType]
For further information visit
https://errors.pydantic.dev/2.10/v/datetime_type
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]