amoghrajesh commented on code in PR #34269:
URL: https://github.com/apache/airflow/pull/34269#discussion_r1321480211


##########
dev/breeze/src/airflow_breeze/commands/setup_commands.py:
##########
@@ -269,6 +271,24 @@ def dict_hash(dictionary: dict[str, Any]) -> str:
     return dhash.hexdigest()
 
 
+def is_common_param(name):
+    return name == "verbose" or name == "help" or name == "dry_run"
+
+
+def validate_params_for_command(command_params, command):
+    global OPTIONS_COMMAND_MAP
+    if "params" in command_params:
+        for param in command_params["params"]:
+            name = param["name"]
+            opts = param["opts"]
+            if not is_common_param(name):
+                for opt in opts:
+                    if name not in OPTIONS_COMMAND_MAP:
+                        OPTIONS_COMMAND_MAP[opt] = [command]
+                    else:

Review Comment:
   Oh, I had done this for testing but changed the code later. Classic copy 
paste error. I'll fix this 



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