jscheffl commented on code in PR #61665:
URL: https://github.com/apache/airflow/pull/61665#discussion_r2806362963


##########
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:
   I think there is no need for special handling of the new attributes in Param 
class. Like other you can leave the code and it will be pushed to "schema" 
section. Like "section" parameter or "values_display"



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