dheerajturaga opened a new pull request, #63327:
URL: https://github.com/apache/airflow/pull/63327

   timetable_partitioned was added in 3.2.0 but the client model required it, 
causing a Pydantic validation error against older servers. Add = False default 
to tolerate its absence.
   
   ```
   Traceback (most recent call last):
     File "/usr/python/bin/airflowctl", line 6, in <module>
       sys.exit(main())
     File "/usr/python/lib/python3.10/site-packages/airflowctl/__main__.py", 
line 34, in main
       safe_call_command(args.func, args=args)
     File 
"/usr/python/lib/python3.10/site-packages/airflowctl/ctl/cli_config.py", line 
77, in safe_call_command
       function(args)
     File "/usr/python/lib/python3.10/site-packages/airflowctl/api/client.py", 
line 465, in wrapper
       return func(*args, api_client=api_client, **kwargs)
     File 
"/usr/python/lib/python3.10/site-packages/airflowctl/ctl/cli_config.py", line 
663, in _get_func
       method_output = operation_method_object(**method_params)
     File 
"/usr/python/lib/python3.10/site-packages/airflowctl/api/operations.py", line 
126, in wrapped
       return _exit_if_server_response_error(response=func(self, *args, 
**kwargs))
     File 
"/usr/python/lib/python3.10/site-packages/airflowctl/api/operations.py", line 
481, in list
       return super().execute_list(path="dags", 
data_model=DAGCollectionResponse)
     File 
"/usr/python/lib/python3.10/site-packages/airflowctl/api/operations.py", line 
169, in execute_list
       first_pass = data_model.model_validate_json(self.response.content)
     File "/usr/python/lib/python3.10/site-packages/pydantic/main.py", line 
766, in model_validate_json
       return cls.__pydantic_validator__.validate_json(
   pydantic_core._pydantic_core.ValidationError: 50 validation errors for 
DAGCollectionResponse
   dags.0.timetable_partitioned
     Field required [type=missing, input_value={'dag_id': 
'asset1_produc...7xnjr2trU3Ef8Nqf1CFBIE'}, input_type=dict]
       For further information visit https://errors.pydantic.dev/2.12/v/missing
   ```


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