Copilot commented on code in PR #47265:
URL: https://github.com/apache/airflow/pull/47265#discussion_r1976573724


##########
airflow/example_dags/example_params_ui_tutorial.py:
##########
@@ -70,8 +76,67 @@
                 title="Select one Value",
                 description="You can use JSON schema enum's to generate drop 
down selection boxes.",
                 enum=[f"value {i}" for i in range(16, 64)],
+                section="Typed parameters with Param object",
             ),
             # [END section_1]
+            # Boolean as proper parameter with description
+            "bool": Param(
+                True,
+                type="boolean",
+                title="Please confirm",
+                description="A On/Off selection with a proper description.",

Review Comment:
   Replace 'A On/Off' with 'An On/Off' for correct article usage.
   ```suggestion
                   description="An On/Off selection with a proper description.",
   ```



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