gopidesupavan commented on code in PR #55488:
URL: https://github.com/apache/airflow/pull/55488#discussion_r2338137944
##########
airflow-ctl/src/airflowctl/ctl/cli_config.py:
##########
@@ -468,12 +468,13 @@ def _python_type_from_string(type_name: str | type) ->
type | Callable:
"tuple": tuple,
"set": set,
"datetime.datetime": parsedate,
+ "dict[str, typing.Any]": dict,
Review Comment:
yup, but we still have to to str cast get origin returns the dict of class
type.
```
>>> origin = typing.get_origin(type_name)
>>> print(origin)
<class 'dict'>
```
--
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]