Subham-KRLX commented on PR #61525:
URL: https://github.com/apache/airflow/pull/61525#issuecomment-3861820021

   Nice fix One small suggestion for cli_config.py to make the type parsing a 
bit more robust Instead of type_name.replace(" | None", "") which relies on 
exact spacing, you could split by | This handles variations like str|None or 
extra spaces automatically.
   # Handle Optional types (e.g., "datetime.datetime | None", "str | None")
   base_type = type_name.split("|")[0].strip()
   return base_type in primitive_types


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