Byron94odhiambo commented on code in PR #61665:
URL: https://github.com/apache/airflow/pull/61665#discussion_r2807252080
##########
airflow-core/src/airflow/serialization/definitions/param.py:
##########
@@ -41,6 +41,8 @@ def __init__(
# No validation needed - the SDK already validated the default.
self.value = default
self.description = description
+ self.depends_on = schema.pop('depends_on', None)
+ self.options_map = schema.pop('options_map', None)
Review Comment:
Removing the explicit handling and let depends_on/options_map pass through
as part of the schema, which is much cleaner.
--
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]