Adding description of restrictions on creation of a new team name#62448
Conversation
o-nikolas
left a comment
There was a problem hiding this comment.
Thanks for submitting this!
Can you please share screenshots of the cli output for airflow teams -h and airflow teams create -h, thanks!
|
Thanks for your review comments @o-nikolas ! |
Thanks for incorporating those! Btw, the screenshots you shared do not show that your changes are working, it's still the short description in both help outputs. Did you perhaps share the wrong screenshots? |
There was a problem hiding this comment.
Pull request overview
This PR adds documentation about team name requirements to the team_create CLI command function. The documentation clarifies that team names must be 3-50 characters long and can only contain alphanumeric characters, hyphens, and underscores. This helps users understand the constraints before attempting to create a team, reducing the likelihood of errors.
Changes:
- Updated the docstring for the
team_createfunction to include team name validation requirements
8d3d913 to
c329108
Compare



This PR adds description of the requirements of a new team name when creating 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.
Having a prompt at onset of a new team creation will help users follow guidelines and avoid encountering errors in creation of a new team name.
Was generative AI tooling used to co-author this PR?
No