jscheffl commented on PR #48821:
URL: https://github.com/apache/airflow/pull/48821#issuecomment-2780676347

   Mhm, tested with Airflow 2.10.5 and when starting there I get the error:
   ```
   [2025-04-05T11:33:26.148+0000] {before.py:42} WARNING - Starting call to 
'airflow.providers.edge.cli.api_client._make_generic_request', this is the 4th 
time calling it.
   Traceback (most recent call last):
     File "/usr/local/bin/airflow", line 10, in <module>
       sys.exit(main())
                ^^^^^^
     File "/usr/local/lib/python3.12/site-packages/airflow/__main__.py", line 
62, in main
       args.func(args)
     File "/usr/local/lib/python3.12/site-packages/airflow/utils/cli.py", line 
116, in wrapper
       return f(*args, **kwargs)
              ^^^^^^^^^^^^^^^^^^
     File 
"/usr/local/lib/python3.12/site-packages/airflow/utils/providers_configuration_loader.py",
 line 55, in wrapped_function
       return func(*args, **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^
     File 
"/usr/local/lib/python3.12/site-packages/airflow/providers/edge/cli/edge_command.py",
 line 500, in worker
       edge_worker.start()
     File 
"/usr/local/lib/python3.12/site-packages/airflow/providers/edge/cli/edge_command.py",
 line 328, in start
       self.last_hb = worker_register(
                      ^^^^^^^^^^^^^^^^
     File 
"/usr/local/lib/python3.12/site-packages/airflow/providers/edge/cli/api_client.py",
 line 131, in worker_register
       return WorkerRegistrationReturn(**result)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/usr/local/lib/python3.12/site-packages/pydantic/main.py", line 253, 
in __init__
       validated_self = self.__pydantic_validator__.validate_python(data, 
self_instance=self)
                        
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   pydantic_core._pydantic_core.ValidationError: 1 validation error for 
WorkerRegistrationReturn
   last_update
     Field required [type=missing, input_value={'__classname__': 'airflo...: 
2}}, '__version__': 0}, input_type=dict]
       For further information visit https://errors.pydantic.dev/2.11/v/missing
   ```
   ...it seems there is a small glitch with the code.


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