turbaszek commented on a change in pull request #10587:
URL: https://github.com/apache/airflow/pull/10587#discussion_r483429637



##########
File path: airflow/models/dag.py
##########
@@ -549,6 +550,9 @@ def pickle_id(self):
     def pickle_id(self, value):
         self._pickle_id = value
 
+    def param(self, name, default):
+        return DagParam(self, name, default)

Review comment:
       ```suggestion
           return DagParam(dag=self, name=name, default=default)
   ```
   But no strong opinion here




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to