tirkarthi commented on PR #49844:
URL: https://github.com/apache/airflow/pull/49844#issuecomment-2835213952
It seems airflow-ctl is trying to do some work for non-primitive types in
this case `JsonValue` . cc: @bugraoz93 for any help on this.
```
__________ ERROR collecting tests/airflow_ctl/ctl/test_cli_config.py
___________
airflow-ctl/tests/airflow_ctl/ctl/test_cli_config.py:28: in <module>
from airflowctl.ctl.cli_config import ActionCommand, CommandFactory,
GroupCommand, merge_commands
airflow-ctl/src/airflowctl/ctl/cli_config.py:554: in <module>
base_commands=command_factory.group_commands,
commands_will_be_merged=core_commands
airflow-ctl/src/airflowctl/ctl/cli_config.py:471: in group_commands
self._create_args_map_from_operation()
airflow-ctl/src/airflowctl/ctl/cli_config.py:391: in
_create_args_map_from_operation
self._create_arg_for_non_primitive_type(
airflow-ctl/src/airflowctl/ctl/cli_config.py:359: in
_create_arg_for_non_primitive_type
annotation = field_type.annotation.__args__[0]
/usr/local/lib/python3.9/site-packages/pydantic/_internal/_model_construction.py:271:
in __getattr__
raise AttributeError(item)
E AttributeError: __args__
```
--
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]