o-nikolas commented on code in PR #62448:
URL: https://github.com/apache/airflow/pull/62448#discussion_r2854434837
##########
airflow-core/src/airflow/cli/commands/team_command.py:
##########
@@ -61,7 +61,7 @@ def _extract_team_name(args):
@providers_configuration_loaded
@provide_session
def team_create(args, session=NEW_SESSION):
- """Create a new team."""
+ """Create a new team. Team name can contain uppercase or lowercase
alphabets, digits from 0 through 9, underscore and hyphen sign. All other
special characters are not allowed."""
Review Comment:
Maybe a more compact phrasing? This is what's present in the docs page, so
it would be consistent with that also:
```suggestion
"""Create a new team. Team names must be 3-50 characters long and
contain only alphanumeric characters, hyphens, and underscores."""
```
--
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]