dramis opened a new issue, #50023:
URL: https://github.com/apache/airflow/issues/50023

   ### Apache Airflow version
   
   3.0.0
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Error 500 display on interface after a database clean:
   
   
   ```
   Apr 30 07:22:50 fondor airflow[28511]: INFO:     127.0.0.1:36494 - "GET 
/ui/dags/recent_dag_runs?dag_runs_limit=14&limit=50&offset=0 HTTP/1.1" 500 
Internal Server Error
   Apr 30 07:22:50 fondor airflow[28511]: ERROR:    Exception in ASGI 
application
   Apr 30 07:22:50 fondor airflow[28511]:   + Exception Group Traceback (most 
recent call last):
   Apr 30 07:22:50 fondor airflow[28511]:   |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_utils.py", line 76, 
in collapse_excgroups
   Apr 30 07:22:50 fondor airflow[28511]:   |     yield
   Apr 30 07:22:50 fondor airflow[28511]:   |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 177, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:   |     async with 
anyio.create_task_group() as task_group:
   Apr 30 07:22:50 fondor airflow[28511]:   |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", 
line 772, in __aexit__
   Apr 30 07:22:50 fondor airflow[28511]:   |     raise BaseExceptionGroup(
   Apr 30 07:22:50 fondor airflow[28511]:   | ExceptionGroup: unhandled errors 
in a TaskGroup (1 sub-exception)
   Apr 30 07:22:50 fondor airflow[28511]:   +-+---------------- 1 
----------------
   Apr 30 07:22:50 fondor airflow[28511]:     | Traceback (most recent call 
last):
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py",
 line 409, in run_asgi
   Apr 30 07:22:50 fondor airflow[28511]:     |     result = await app(  # 
type: ignore[func-returns-value]
   Apr 30 07:22:50 fondor airflow[28511]:     |              
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/fastapi/applications.py", line 
1054, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     |     await 
super().__call__(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/applications.py", 
line 112, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     |     await 
self.middleware_stack(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/errors.py",
 line 187, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     |     raise exc
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/errors.py",
 line 165, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     |     await self.app(scope, 
receive, _send)
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/gzip.py", 
line 29, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     |     await responder(scope, 
receive, send)
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/gzip.py", 
line 126, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     |     await 
super().__call__(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/gzip.py", 
line 46, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     |     await self.app(scope, 
receive, self.send_with_compression)
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/cors.py", 
line 85, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     |     await self.app(scope, 
receive, send)
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 176, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     |     with recv_stream, 
send_stream, collapse_excgroups():
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/usr/lib/python3.11/contextlib.py", line 155, in __exit__
   Apr 30 07:22:50 fondor airflow[28511]:     |     self.gen.throw(typ, value, 
traceback)
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_utils.py", line 82, 
in collapse_excgroups
   Apr 30 07:22:50 fondor airflow[28511]:     |     raise exc
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 178, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     |     response = await 
self.dispatch_func(request, call_next)
   Apr 30 07:22:50 fondor airflow[28511]:     |                
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/airflow/api_fastapi/core_api/middleware.py",
 line 28, in dispatch
   Apr 30 07:22:50 fondor airflow[28511]:     |     response = await 
call_next(request)
   Apr 30 07:22:50 fondor airflow[28511]:     |                
^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 156, in call_next
   Apr 30 07:22:50 fondor airflow[28511]:     |     raise app_exc
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 141, in coro
   Apr 30 07:22:50 fondor airflow[28511]:     |     await self.app(scope, 
receive_or_disconnect, send_no_error)
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/exceptions.py",
 line 62, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     |     await 
wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py",
 line 53, in wrapped_app
   Apr 30 07:22:50 fondor airflow[28511]:     |     raise exc
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py",
 line 42, in wrapped_app
   Apr 30 07:22:50 fondor airflow[28511]:     |     await app(scope, receive, 
sender)
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 
714, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     |     await 
self.middleware_stack(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 
734, in app
   Apr 30 07:22:50 fondor airflow[28511]:     |     await route.handle(scope, 
receive, send)
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 
288, in handle
   Apr 30 07:22:50 fondor airflow[28511]:     |     await self.app(scope, 
receive, send)
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 76, 
in app
   Apr 30 07:22:50 fondor airflow[28511]:     |     await 
wrap_app_handling_exceptions(app, request)(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py",
 line 53, in wrapped_app
   Apr 30 07:22:50 fondor airflow[28511]:     |     raise exc
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py",
 line 42, in wrapped_app
   Apr 30 07:22:50 fondor airflow[28511]:     |     await app(scope, receive, 
sender)
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 73, 
in app
   Apr 30 07:22:50 fondor airflow[28511]:     |     response = await f(request)
   Apr 30 07:22:50 fondor airflow[28511]:     |                ^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/fastapi/routing.py", line 301, 
in app
   Apr 30 07:22:50 fondor airflow[28511]:     |     raw_response = await 
run_endpoint_function(
   Apr 30 07:22:50 fondor airflow[28511]:     |                    
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/fastapi/routing.py", line 214, 
in run_endpoint_function
   Apr 30 07:22:50 fondor airflow[28511]:     |     return await 
run_in_threadpool(dependant.call, **values)
   Apr 30 07:22:50 fondor airflow[28511]:     |            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/concurrency.py", line 
37, in run_in_threadpool
   Apr 30 07:22:50 fondor airflow[28511]:     |     return await 
anyio.to_thread.run_sync(func)
   Apr 30 07:22:50 fondor airflow[28511]:     |            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/anyio/to_thread.py", line 56, 
in run_sync
   Apr 30 07:22:50 fondor airflow[28511]:     |     return await 
get_async_backend().run_sync_in_worker_thread(
   Apr 30 07:22:50 fondor airflow[28511]:     |            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", 
line 2470, in run_sync_in_worker_thread
   Apr 30 07:22:50 fondor airflow[28511]:     |     return await future
   Apr 30 07:22:50 fondor airflow[28511]:     |            ^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", 
line 967, in run
   Apr 30 07:22:50 fondor airflow[28511]:     |     result = context.run(func, 
*args)
   Apr 30 07:22:50 fondor airflow[28511]:     |              
^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/airflow/api_fastapi/core_api/routes/ui/dags.py",
 line 148, in recent_dag_runs
   Apr 30 07:22:50 fondor airflow[28511]:     |     dag_run_response = 
DAGRunResponse.model_validate(dag_run)
   Apr 30 07:22:50 fondor airflow[28511]:     |                        
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/pydantic/main.py", line 703, in 
model_validate
   Apr 30 07:22:50 fondor airflow[28511]:     |     return 
cls.__pydantic_validator__.validate_python(
   Apr 30 07:22:50 fondor airflow[28511]:     |            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:     | 
pydantic_core._pydantic_core.ValidationError: 1 validation error for 
DAGRunResponse
   Apr 30 07:22:50 fondor airflow[28511]:     | dag_versions.0
   Apr 30 07:22:50 fondor airflow[28511]:     |   Input should be a valid 
dictionary or object to extract fields from [type=model_attributes_type, 
input_value=None, input_type=NoneType]
   Apr 30 07:22:50 fondor airflow[28511]:     |     For further information 
visit https://errors.pydantic.dev/2.11/v/model_attributes_type
   Apr 30 07:22:50 fondor airflow[28511]:     
+------------------------------------
   Apr 30 07:22:50 fondor airflow[28511]: During handling of the above 
exception, another exception occurred:
   Apr 30 07:22:50 fondor airflow[28511]: Traceback (most recent call last):
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py",
 line 409, in run_asgi
   Apr 30 07:22:50 fondor airflow[28511]:     result = await app(  # type: 
ignore[func-returns-value]
   Apr 30 07:22:50 fondor airflow[28511]:              
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/fastapi/applications.py", line 
1054, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     await super().__call__(scope, 
receive, send)
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/applications.py", 
line 112, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     await 
self.middleware_stack(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/errors.py",
 line 187, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     raise exc
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/errors.py",
 line 165, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     await self.app(scope, receive, 
_send)
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/gzip.py", 
line 29, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     await responder(scope, receive, 
send)
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/gzip.py", 
line 126, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     await super().__call__(scope, 
receive, send)
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/gzip.py", 
line 46, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     await self.app(scope, receive, 
self.send_with_compression)
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/cors.py", 
line 85, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     await self.app(scope, receive, 
send)
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 176, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     with recv_stream, send_stream, 
collapse_excgroups():
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/usr/lib/python3.11/contextlib.py", line 155, in __exit__
   Apr 30 07:22:50 fondor airflow[28511]:     self.gen.throw(typ, value, 
traceback)
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_utils.py", line 82, 
in collapse_excgroups
   Apr 30 07:22:50 fondor airflow[28511]:     raise exc
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 178, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     response = await 
self.dispatch_func(request, call_next)
   Apr 30 07:22:50 fondor airflow[28511]:                
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/airflow/api_fastapi/core_api/middleware.py",
 line 28, in dispatch
   Apr 30 07:22:50 fondor airflow[28511]:     response = await 
call_next(request)
   Apr 30 07:22:50 fondor airflow[28511]:                
^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 156, in call_next
   Apr 30 07:22:50 fondor airflow[28511]:     raise app_exc
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 141, in coro
   Apr 30 07:22:50 fondor airflow[28511]:     await self.app(scope, 
receive_or_disconnect, send_no_error)
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/exceptions.py",
 line 62, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     await 
wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py",
 line 53, in wrapped_app
   Apr 30 07:22:50 fondor airflow[28511]:     raise exc
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py",
 line 42, in wrapped_app
   Apr 30 07:22:50 fondor airflow[28511]:     await app(scope, receive, sender)
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 
714, in __call__
   Apr 30 07:22:50 fondor airflow[28511]:     await 
self.middleware_stack(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 
734, in app
   Apr 30 07:22:50 fondor airflow[28511]:     await route.handle(scope, 
receive, send)
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 
288, in handle
   Apr 30 07:22:50 fondor airflow[28511]:     await self.app(scope, receive, 
send)
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 76, 
in app
   Apr 30 07:22:50 fondor airflow[28511]:     await 
wrap_app_handling_exceptions(app, request)(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py",
 line 53, in wrapped_app
   Apr 30 07:22:50 fondor airflow[28511]:     raise exc
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py",
 line 42, in wrapped_app
   Apr 30 07:22:50 fondor airflow[28511]:     await app(scope, receive, sender)
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 73, 
in app
   Apr 30 07:22:50 fondor airflow[28511]:     response = await f(request)
   Apr 30 07:22:50 fondor airflow[28511]:                ^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/fastapi/routing.py", line 301, 
in app
   Apr 30 07:22:50 fondor airflow[28511]:     raw_response = await 
run_endpoint_function(
   Apr 30 07:22:50 fondor airflow[28511]:                    
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/fastapi/routing.py", line 214, 
in run_endpoint_function
   Apr 30 07:22:50 fondor airflow[28511]:     return await 
run_in_threadpool(dependant.call, **values)
   Apr 30 07:22:50 fondor airflow[28511]:            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/concurrency.py", line 
37, in run_in_threadpool
   Apr 30 07:22:50 fondor airflow[28511]:     return await 
anyio.to_thread.run_sync(func)
   Apr 30 07:22:50 fondor airflow[28511]:            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/anyio/to_thread.py", line 56, 
in run_sync
   Apr 30 07:22:50 fondor airflow[28511]:     return await 
get_async_backend().run_sync_in_worker_thread(
   Apr 30 07:22:50 fondor airflow[28511]:            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", 
line 2470, in run_sync_in_worker_thread
   Apr 30 07:22:50 fondor airflow[28511]:     return await future
   Apr 30 07:22:50 fondor airflow[28511]:            ^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", 
line 967, in run
   Apr 30 07:22:50 fondor airflow[28511]:     result = context.run(func, *args)
   Apr 30 07:22:50 fondor airflow[28511]:              ^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/airflow/api_fastapi/core_api/routes/ui/dags.py",
 line 148, in recent_dag_runs
   Apr 30 07:22:50 fondor airflow[28511]:     dag_run_response = 
DAGRunResponse.model_validate(dag_run)
   Apr 30 07:22:50 fondor airflow[28511]:                        
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/pydantic/main.py", line 703, in 
model_validate
   Apr 30 07:22:50 fondor airflow[28511]:     return 
cls.__pydantic_validator__.validate_python(
   Apr 30 07:22:50 fondor airflow[28511]:            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28511]: 
pydantic_core._pydantic_core.ValidationError: 1 validation error for 
DAGRunResponse
   Apr 30 07:22:50 fondor airflow[28511]: dag_versions.0
   Apr 30 07:22:50 fondor airflow[28511]:   Input should be a valid dictionary 
or object to extract fields from [type=model_attributes_type, input_value=None, 
input_type=NoneType]
   Apr 30 07:22:50 fondor airflow[28511]:     For further information visit 
https://errors.pydantic.dev/2.11/v/model_attributes_type
   Apr 30 07:22:50 fondor airflow[28512]: INFO:     127.0.0.1:36498 - "GET 
/api/v2/dags?limit=50&offset=0&order_by=-last_run_start_date HTTP/1.1" 200 OK
   Apr 30 07:22:50 fondor airflow[28510]: INFO:     127.0.0.1:36514 - "GET 
/ui/dags/recent_dag_runs?dag_runs_limit=14&limit=50&offset=0 HTTP/1.1" 500 
Internal Server Error
   Apr 30 07:22:50 fondor airflow[28510]: ERROR:    Exception in ASGI 
application
   Apr 30 07:22:50 fondor airflow[28510]:   + Exception Group Traceback (most 
recent call last):
   Apr 30 07:22:50 fondor airflow[28510]:   |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_utils.py", line 76, 
in collapse_excgroups
   Apr 30 07:22:50 fondor airflow[28510]:   |     yield
   Apr 30 07:22:50 fondor airflow[28510]:   |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 177, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:   |     async with 
anyio.create_task_group() as task_group:
   Apr 30 07:22:50 fondor airflow[28510]:   |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", 
line 772, in __aexit__
   Apr 30 07:22:50 fondor airflow[28510]:   |     raise BaseExceptionGroup(
   Apr 30 07:22:50 fondor airflow[28510]:   | ExceptionGroup: unhandled errors 
in a TaskGroup (1 sub-exception)
   Apr 30 07:22:50 fondor airflow[28510]:   +-+---------------- 1 
----------------
   Apr 30 07:22:50 fondor airflow[28510]:     | Traceback (most recent call 
last):
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py",
 line 409, in run_asgi
   Apr 30 07:22:50 fondor airflow[28510]:     |     result = await app(  # 
type: ignore[func-returns-value]
   Apr 30 07:22:50 fondor airflow[28510]:     |              
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/fastapi/applications.py", line 
1054, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     |     await 
super().__call__(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/applications.py", 
line 112, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     |     await 
self.middleware_stack(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/errors.py",
 line 187, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     |     raise exc
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/errors.py",
 line 165, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     |     await self.app(scope, 
receive, _send)
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/gzip.py", 
line 29, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     |     await responder(scope, 
receive, send)
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/gzip.py", 
line 126, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     |     await 
super().__call__(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/gzip.py", 
line 46, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     |     await self.app(scope, 
receive, self.send_with_compression)
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/cors.py", 
line 85, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     |     await self.app(scope, 
receive, send)
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 176, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     |     with recv_stream, 
send_stream, collapse_excgroups():
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/usr/lib/python3.11/contextlib.py", line 155, in __exit__
   Apr 30 07:22:50 fondor airflow[28510]:     |     self.gen.throw(typ, value, 
traceback)
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_utils.py", line 82, 
in collapse_excgroups
   Apr 30 07:22:50 fondor airflow[28510]:     |     raise exc
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 178, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     |     response = await 
self.dispatch_func(request, call_next)
   Apr 30 07:22:50 fondor airflow[28510]:     |                
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/airflow/api_fastapi/core_api/middleware.py",
 line 28, in dispatch
   Apr 30 07:22:50 fondor airflow[28510]:     |     response = await 
call_next(request)
   Apr 30 07:22:50 fondor airflow[28510]:     |                
^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 156, in call_next
   Apr 30 07:22:50 fondor airflow[28510]:     |     raise app_exc
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 141, in coro
   Apr 30 07:22:50 fondor airflow[28510]:     |     await self.app(scope, 
receive_or_disconnect, send_no_error)
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/exceptions.py",
 line 62, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     |     await 
wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py",
 line 53, in wrapped_app
   Apr 30 07:22:50 fondor airflow[28510]:     |     raise exc
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py",
 line 42, in wrapped_app
   Apr 30 07:22:50 fondor airflow[28510]:     |     await app(scope, receive, 
sender)
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 
714, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     |     await 
self.middleware_stack(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 
734, in app
   Apr 30 07:22:50 fondor airflow[28510]:     |     await route.handle(scope, 
receive, send)
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 
288, in handle
   Apr 30 07:22:50 fondor airflow[28510]:     |     await self.app(scope, 
receive, send)
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 76, 
in app
   Apr 30 07:22:50 fondor airflow[28510]:     |     await 
wrap_app_handling_exceptions(app, request)(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py",
 line 53, in wrapped_app
   Apr 30 07:22:50 fondor airflow[28510]:     |     raise exc
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py",
 line 42, in wrapped_app
   Apr 30 07:22:50 fondor airflow[28510]:     |     await app(scope, receive, 
sender)
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 73, 
in app
   Apr 30 07:22:50 fondor airflow[28510]:     |     response = await f(request)
   Apr 30 07:22:50 fondor airflow[28510]:     |                ^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/fastapi/routing.py", line 301, 
in app
   Apr 30 07:22:50 fondor airflow[28510]:     |     raw_response = await 
run_endpoint_function(
   Apr 30 07:22:50 fondor airflow[28510]:     |                    
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/fastapi/routing.py", line 214, 
in run_endpoint_function
   Apr 30 07:22:50 fondor airflow[28510]:     |     return await 
run_in_threadpool(dependant.call, **values)
   Apr 30 07:22:50 fondor airflow[28510]:     |            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/concurrency.py", line 
37, in run_in_threadpool
   Apr 30 07:22:50 fondor airflow[28510]:     |     return await 
anyio.to_thread.run_sync(func)
   Apr 30 07:22:50 fondor airflow[28510]:     |            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/anyio/to_thread.py", line 56, 
in run_sync
   Apr 30 07:22:50 fondor airflow[28510]:     |     return await 
get_async_backend().run_sync_in_worker_thread(
   Apr 30 07:22:50 fondor airflow[28510]:     |            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", 
line 2470, in run_sync_in_worker_thread
   Apr 30 07:22:50 fondor airflow[28510]:     |     return await future
   Apr 30 07:22:50 fondor airflow[28510]:     |            ^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", 
line 967, in run
   Apr 30 07:22:50 fondor airflow[28510]:     |     result = context.run(func, 
*args)
   Apr 30 07:22:50 fondor airflow[28510]:     |              
^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/airflow/api_fastapi/core_api/routes/ui/dags.py",
 line 148, in recent_dag_runs
   Apr 30 07:22:50 fondor airflow[28510]:     |     dag_run_response = 
DAGRunResponse.model_validate(dag_run)
   Apr 30 07:22:50 fondor airflow[28510]:     |                        
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:     |   File 
"/opt/airflow/venv/lib/python3.11/site-packages/pydantic/main.py", line 703, in 
model_validate
   Apr 30 07:22:50 fondor airflow[28510]:     |     return 
cls.__pydantic_validator__.validate_python(
   Apr 30 07:22:50 fondor airflow[28510]:     |            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:     | 
pydantic_core._pydantic_core.ValidationError: 1 validation error for 
DAGRunResponse
   Apr 30 07:22:50 fondor airflow[28510]:     | dag_versions.0
   Apr 30 07:22:50 fondor airflow[28510]:     |   Input should be a valid 
dictionary or object to extract fields from [type=model_attributes_type, 
input_value=None, input_type=NoneType]
   Apr 30 07:22:50 fondor airflow[28510]:     |     For further information 
visit https://errors.pydantic.dev/2.11/v/model_attributes_type
   Apr 30 07:22:50 fondor airflow[28510]:     
+------------------------------------
   Apr 30 07:22:50 fondor airflow[28510]: During handling of the above 
exception, another exception occurred:
   Apr 30 07:22:50 fondor airflow[28510]: Traceback (most recent call last):
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py",
 line 409, in run_asgi
   Apr 30 07:22:50 fondor airflow[28510]:     result = await app(  # type: 
ignore[func-returns-value]
   Apr 30 07:22:50 fondor airflow[28510]:              
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/fastapi/applications.py", line 
1054, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     await super().__call__(scope, 
receive, send)
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/applications.py", 
line 112, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     await 
self.middleware_stack(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/errors.py",
 line 187, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     raise exc
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/errors.py",
 line 165, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     await self.app(scope, receive, 
_send)
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/gzip.py", 
line 29, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     await responder(scope, receive, 
send)
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/gzip.py", 
line 126, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     await super().__call__(scope, 
receive, send)
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/gzip.py", 
line 46, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     await self.app(scope, receive, 
self.send_with_compression)
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/cors.py", 
line 85, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     await self.app(scope, receive, 
send)
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 176, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     with recv_stream, send_stream, 
collapse_excgroups():
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/usr/lib/python3.11/contextlib.py", line 155, in __exit__
   Apr 30 07:22:50 fondor airflow[28510]:     self.gen.throw(typ, value, 
traceback)
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_utils.py", line 82, 
in collapse_excgroups
   Apr 30 07:22:50 fondor airflow[28510]:     raise exc
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 178, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     response = await 
self.dispatch_func(request, call_next)
   Apr 30 07:22:50 fondor airflow[28510]:                
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/airflow/api_fastapi/core_api/middleware.py",
 line 28, in dispatch
   Apr 30 07:22:50 fondor airflow[28510]:     response = await 
call_next(request)
   Apr 30 07:22:50 fondor airflow[28510]:                
^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 156, in call_next
   Apr 30 07:22:50 fondor airflow[28510]:     raise app_exc
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/base.py", 
line 141, in coro
   Apr 30 07:22:50 fondor airflow[28510]:     await self.app(scope, 
receive_or_disconnect, send_no_error)
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/middleware/exceptions.py",
 line 62, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     await 
wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py",
 line 53, in wrapped_app
   Apr 30 07:22:50 fondor airflow[28510]:     raise exc
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py",
 line 42, in wrapped_app
   Apr 30 07:22:50 fondor airflow[28510]:     await app(scope, receive, sender)
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 
714, in __call__
   Apr 30 07:22:50 fondor airflow[28510]:     await 
self.middleware_stack(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 
734, in app
   Apr 30 07:22:50 fondor airflow[28510]:     await route.handle(scope, 
receive, send)
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 
288, in handle
   Apr 30 07:22:50 fondor airflow[28510]:     await self.app(scope, receive, 
send)
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 76, 
in app
   Apr 30 07:22:50 fondor airflow[28510]:     await 
wrap_app_handling_exceptions(app, request)(scope, receive, send)
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py",
 line 53, in wrapped_app
   Apr 30 07:22:50 fondor airflow[28510]:     raise exc
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py",
 line 42, in wrapped_app
   Apr 30 07:22:50 fondor airflow[28510]:     await app(scope, receive, sender)
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/routing.py", line 73, 
in app
   Apr 30 07:22:50 fondor airflow[28510]:     response = await f(request)
   Apr 30 07:22:50 fondor airflow[28510]:                ^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/fastapi/routing.py", line 301, 
in app
   Apr 30 07:22:50 fondor airflow[28510]:     raw_response = await 
run_endpoint_function(
   Apr 30 07:22:50 fondor airflow[28510]:                    
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/fastapi/routing.py", line 214, 
in run_endpoint_function
   Apr 30 07:22:50 fondor airflow[28510]:     return await 
run_in_threadpool(dependant.call, **values)
   Apr 30 07:22:50 fondor airflow[28510]:            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/starlette/concurrency.py", line 
37, in run_in_threadpool
   Apr 30 07:22:50 fondor airflow[28510]:     return await 
anyio.to_thread.run_sync(func)
   Apr 30 07:22:50 fondor airflow[28510]:            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/anyio/to_thread.py", line 56, 
in run_sync
   Apr 30 07:22:50 fondor airflow[28510]:     return await 
get_async_backend().run_sync_in_worker_thread(
   Apr 30 07:22:50 fondor airflow[28510]:            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", 
line 2470, in run_sync_in_worker_thread
   Apr 30 07:22:50 fondor airflow[28510]:     return await future
   Apr 30 07:22:50 fondor airflow[28510]:            ^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", 
line 967, in run
   Apr 30 07:22:50 fondor airflow[28510]:     result = context.run(func, *args)
   Apr 30 07:22:50 fondor airflow[28510]:              ^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/airflow/api_fastapi/core_api/routes/ui/dags.py",
 line 148, in recent_dag_runs
   Apr 30 07:22:50 fondor airflow[28510]:     dag_run_response = 
DAGRunResponse.model_validate(dag_run)
   Apr 30 07:22:50 fondor airflow[28510]:                        
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]:   File 
"/opt/airflow/venv/lib/python3.11/site-packages/pydantic/main.py", line 703, in 
model_validate
   Apr 30 07:22:50 fondor airflow[28510]:     return 
cls.__pydantic_validator__.validate_python(
   Apr 30 07:22:50 fondor airflow[28510]:            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Apr 30 07:22:50 fondor airflow[28510]: 
pydantic_core._pydantic_core.ValidationError: 1 validation error for 
DAGRunResponse
   Apr 30 07:22:50 fondor airflow[28510]: dag_versions.0
   Apr 30 07:22:50 fondor airflow[28510]:   Input should be a valid dictionary 
or object to extract fields from [type=model_attributes_type, input_value=None, 
input_type=NoneType]
   Apr 30 07:22:50 fondor airflow[28510]:     For further information visit 
https://errors.pydantic.dev/2.11/v/model_attributes_type
   ```
   
   ### What you think should happen instead?
   
   No error on interface and in log after database clean
   
   ### How to reproduce
   
   Clean the database with command:
   
   ` airflow db clean --clean-before-timestamp '2025-04-30' --skip-archive`
   
   ### Operating System
   
   debian 12
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   postgressql backend
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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]


Reply via email to