diff --git a/azure-devops/azext_devops/dev/boards/work_item.py b/azure-devops/azext_devops/dev/boards/work_item.py index 27f4dc7b..843dc902 100644 --- a/azure-devops/azext_devops/dev/boards/work_item.py +++ b/azure-devops/azext_devops/dev/boards/work_item.py @@ -224,7 +224,7 @@ def query_work_items(wiql=None, id=None, path=None, organization=None, project=N """Query for a list of work items. :param wiql: The query in Work Item Query Language format. Ignored if --id or --path is specified. :type wiql: str - :param id: The UUID of an existing query. Required unless --path or --wiql are specified. + :param id: The ID of an existing query. Required unless --path or --wiql are specified. :type id: str :param path: The path of an existing query. Ignored if --id is specified. :type path: str diff --git a/azure-devops/azext_devops/dev/common/uuid.py b/azure-devops/azext_devops/dev/common/uuid.py index 9f6224f9..b2300789 100644 --- a/azure-devops/azext_devops/dev/common/uuid.py +++ b/azure-devops/azext_devops/dev/common/uuid.py @@ -8,7 +8,7 @@ def is_uuid(text): - """Returns true if the text is a UUID. + """Returns true if the text is a GUID. :param text: The text to validate. :type text: str :rtype: bool diff --git a/azure-devops/azext_devops/dev/repos/policy.py b/azure-devops/azext_devops/dev/repos/policy.py index 29aed29b..0d0e69b5 100644 --- a/azure-devops/azext_devops/dev/repos/policy.py +++ b/azure-devops/azext_devops/dev/repos/policy.py @@ -19,7 +19,7 @@ def list_policy(organization=None, project=None, repository_id=None, branch=None, detect=None): """List all policies in a project. - :param repository_id: Id (UUID) of the repository. + :param repository_id: Id of the repository. :type repository_id: string :param branch: Branch. (--repository-id is required) :type branch: string diff --git a/azure-devops/azext_devops/dev/team/project.py b/azure-devops/azext_devops/dev/team/project.py index 1332978e..a1aeaf04 100644 --- a/azure-devops/azext_devops/dev/team/project.py +++ b/azure-devops/azext_devops/dev/team/project.py @@ -87,7 +87,7 @@ def create_project(name, organization=None, process=None, source_control='git', def delete_project(id, organization=None, detect=None): # pylint: disable=redefined-builtin """Delete team project. - :param id: The id (UUID) of the project to delete. + :param id: The id of the project to delete. :type id: str """ organization = resolve_instance(detect=detect, organization=organization) @@ -105,7 +105,7 @@ def delete_project(id, organization=None, detect=None): # pylint: disable=redef def show_project(project, organization=None, detect=None, open=False): # pylint: disable=redefined-builtin """Show team project. - :param project: The id (UUID) or name of the project to show. + :param project: The id or name of the project to show. :type project: str :param open: Open the team project in the default web browser. :type open: bool diff --git a/azure-devops/azext_devops/dev/team/team.py b/azure-devops/azext_devops/dev/team/team.py index 6f3c474f..f8712185 100644 --- a/azure-devops/azext_devops/dev/team/team.py +++ b/azure-devops/azext_devops/dev/team/team.py @@ -27,7 +27,7 @@ def create_team(name, description=None, organization=None, project=None, detect= def delete_team(id, organization=None, project=None, detect=None): # pylint: disable=redefined-builtin """Delete a team. - :param id: The id (UUID) of the team to delete. + :param id: The id of the team to delete. :type id: str """ organization, project = resolve_instance_and_project(detect=detect,