pierrejeambrun commented on code in PR #33372:
URL: https://github.com/apache/airflow/pull/33372#discussion_r1292860856


##########
dev/breeze/src/airflow_breeze/commands/release_management_commands.py:
##########
@@ -1416,13 +1461,17 @@ def update_constraints(
     remote_name: str,
     airflow_versions: str,
     commit_message: str,
-    updated_constraint: tuple[str],
+    airflow_constraints_mode: str | None,
+    updated_constraint: tuple[str] | None,
+    comment_file: Path | None,
 ) -> None:
+    if not updated_constraint and not comment_file:
+        get_console().print("[error]You have to provide on of 
--updated-constraint or --comment-file[/]")

Review Comment:
   ```suggestion
           get_console().print("[error]You have to provide one of 
--updated-constraint or --comment-file[/]")
   ```



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