Skip to content

Commit b444729

Browse files
authored
Merge pull request #284 from microsoft/dev
5.1.0b5 - fix #280, fix a bunch of spelling in comments
2 parents 1ada541 + 7f26ce3 commit b444729

30 files changed

+48
-48
lines changed

azure-devops/azure/devops/released/build/build_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ def restore_definition(self, project, definition_id, deleted):
614614
def update_definition(self, definition, project, definition_id, secrets_source_definition_id=None, secrets_source_definition_revision=None):
615615
"""UpdateDefinition.
616616
Updates an existing definition.
617-
:param :class:`<BuildDefinition> <azure.devops.v5_1.build.models.BuildDefinition>` definition: The new version of the defintion.
617+
:param :class:`<BuildDefinition> <azure.devops.v5_1.build.models.BuildDefinition>` definition: The new version of the definition.
618618
:param str project: Project ID or project name
619619
:param int definition_id: The ID of the definition.
620620
:param int secrets_source_definition_id:

azure-devops/azure/devops/released/git/git_client_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1744,7 +1744,7 @@ def update_refs(self, ref_updates, repository_id, project=None, project_id=None)
17441744
def create_repository(self, git_repository_to_create, project=None, source_ref=None):
17451745
"""CreateRepository.
17461746
Create a git repository in a team project.
1747-
:param :class:`<GitRepositoryCreateOptions> <azure.devops.v5_1.git.models.GitRepositoryCreateOptions>` git_repository_to_create: Specify the repo name, team project and/or parent repository. Team project information can be ommitted from gitRepositoryToCreate if the request is project-scoped (i.e., includes project Id).
1747+
:param :class:`<GitRepositoryCreateOptions> <azure.devops.v5_1.git.models.GitRepositoryCreateOptions>` git_repository_to_create: Specify the repo name, team project and/or parent repository. Team project information can be omitted from gitRepositoryToCreate if the request is project-scoped (i.e., includes project Id).
17481748
:param str project: Project ID or project name
17491749
:param str source_ref: [optional] Specify the source refs to use while creating a fork repo
17501750
:rtype: :class:`<GitRepository> <azure.devops.v5_1.git.models.GitRepository>`

azure-devops/azure/devops/released/test/test_client.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def get_test_run_by_id(self, project, run_id, include_details=None):
394394
Get a test run by its ID.
395395
:param str project: Project ID or project name
396396
:param int run_id: ID of the run to get.
397-
:param bool include_details: Defualt value is true. It includes details like run statistics,release,build,Test enviornment,Post process state and more
397+
:param bool include_details: Default value is true. It includes details like run statistics, release, build, test environment, post process state, and more.
398398
:rtype: :class:`<TestRun> <azure.devops.v5_1.test.models.TestRun>`
399399
"""
400400
route_values = {}
@@ -460,16 +460,16 @@ def query_test_runs(self, project, min_last_updated_date, max_last_updated_date,
460460
:param datetime min_last_updated_date: Minimum Last Modified Date of run to be queried (Mandatory).
461461
:param datetime max_last_updated_date: Maximum Last Modified Date of run to be queried (Mandatory, difference between min and max date can be atmost 7 days).
462462
:param str state: Current state of the Runs to be queried.
463-
:param [int] plan_ids: Plan Ids of the Runs to be queried, comma seperated list of valid ids (limit no. of ids 10).
463+
:param [int] plan_ids: Plan Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
464464
:param bool is_automated: Automation type of the Runs to be queried.
465465
:param str publish_context: PublishContext of the Runs to be queried.
466-
:param [int] build_ids: Build Ids of the Runs to be queried, comma seperated list of valid ids (limit no. of ids 10).
467-
:param [int] build_def_ids: Build Definition Ids of the Runs to be queried, comma seperated list of valid ids (limit no. of ids 10).
466+
:param [int] build_ids: Build Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
467+
:param [int] build_def_ids: Build Definition Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
468468
:param str branch_name: Source Branch name of the Runs to be queried.
469-
:param [int] release_ids: Release Ids of the Runs to be queried, comma seperated list of valid ids (limit no. of ids 10).
470-
:param [int] release_def_ids: Release Definition Ids of the Runs to be queried, comma seperated list of valid ids (limit no. of ids 10).
471-
:param [int] release_env_ids: Release Environment Ids of the Runs to be queried, comma seperated list of valid ids (limit no. of ids 10).
472-
:param [int] release_env_def_ids: Release Environment Definition Ids of the Runs to be queried, comma seperated list of valid ids (limit no. of ids 10).
469+
:param [int] release_ids: Release Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
470+
:param [int] release_def_ids: Release Definition Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
471+
:param [int] release_env_ids: Release Environment Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
472+
:param [int] release_env_def_ids: Release Environment Definition Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
473473
:param str run_title: Run Title of the Runs to be queried.
474474
:param int top: Number of runs to be queried. Limit is 100
475475
:param str continuation_token: continuationToken received from previous batch or null for first batch. It is not supposed to be created (or altered, if received from last batch) by user.

azure-devops/azure/devops/released/tfvc/tfvc_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ def get_labels(self, request_data, project=None, top=None, skip=None):
630630
Get a collection of shallow label references.
631631
:param :class:`<TfvcLabelRequestData> <azure.devops.v5_1.tfvc.models.TfvcLabelRequestData>` request_data: labelScope, name, owner, and itemLabelFilter
632632
:param str project: Project ID or project name
633-
:param int top: Max number of labels to return
633+
:param int top: Max number of labels to return, defaults to 100 when undefined
634634
:param int skip: Number of labels to skip
635635
:rtype: [TfvcLabelRef]
636636
"""

azure-devops/azure/devops/released/work/work_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ def get_team_days_off(self, team_context, iteration_id):
973973
def update_team_days_off(self, days_off_patch, team_context, iteration_id):
974974
"""UpdateTeamDaysOff.
975975
Set a team's days off for an iteration
976-
:param :class:`<TeamSettingsDaysOffPatch> <azure.devops.v5_1.work.models.TeamSettingsDaysOffPatch>` days_off_patch: Team's days off patch containting a list of start and end dates
976+
:param :class:`<TeamSettingsDaysOffPatch> <azure.devops.v5_1.work.models.TeamSettingsDaysOffPatch>` days_off_patch: Team's days off patch containing a list of start and end dates
977977
:param :class:`<TeamContext> <azure.devops.v5_1.work.models.TeamContext>` team_context: The team context for the operation
978978
:param str iteration_id: ID of the iteration
979979
:rtype: :class:`<TeamSettingsDaysOff> <azure.devops.v5_1.work.models.TeamSettingsDaysOff>`

azure-devops/azure/devops/v5_1/build/build_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ def restore_definition(self, project, definition_id, deleted):
818818
def update_definition(self, definition, project, definition_id, secrets_source_definition_id=None, secrets_source_definition_revision=None):
819819
"""UpdateDefinition.
820820
Updates an existing definition.
821-
:param :class:`<BuildDefinition> <azure.devops.v5_1.build.models.BuildDefinition>` definition: The new version of the defintion.
821+
:param :class:`<BuildDefinition> <azure.devops.v5_1.build.models.BuildDefinition>` definition: The new version of the definition.
822822
:param str project: Project ID or project name
823823
:param int definition_id: The ID of the definition.
824824
:param int secrets_source_definition_id:

azure-devops/azure/devops/v5_1/contributions/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class ContributionConstraint(Model):
137137
:type name: str
138138
:param properties: Properties that are fed to the contribution filter class
139139
:type properties: :class:`object <azure.devops.v5_1.contributions.models.object>`
140-
:param relationships: Constraints can be optionally be applied to one or more of the relationships defined in the contribution. If no relationships are defined then all relationships are associated with the constraint. This means the default behaviour will elimiate the contribution from the tree completely if the constraint is applied.
140+
:param relationships: Constraints can be optionally be applied to one or more of the relationships defined in the contribution. If no relationships are defined then all relationships are associated with the constraint. This means the default behaviour will eliminate the contribution from the tree completely if the constraint is applied.
141141
:type relationships: list of str
142142
"""
143143

azure-devops/azure/devops/v5_1/extension_management/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class ContributionConstraint(Model):
127127
:type name: str
128128
:param properties: Properties that are fed to the contribution filter class
129129
:type properties: :class:`object <azure.devops.v5_1.extension_management.models.object>`
130-
:param relationships: Constraints can be optionally be applied to one or more of the relationships defined in the contribution. If no relationships are defined then all relationships are associated with the constraint. This means the default behaviour will elimiate the contribution from the tree completely if the constraint is applied.
130+
:param relationships: Constraints can be optionally be applied to one or more of the relationships defined in the contribution. If no relationships are defined then all relationships are associated with the constraint. This means the default behaviour will eliminate the contribution from the tree completely if the constraint is applied.
131131
:type relationships: list of str
132132
"""
133133

azure-devops/azure/devops/v5_1/gallery/gallery_client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1619,7 +1619,7 @@ def create_review(self, review, pub_name, ext_name):
16191619
def delete_review(self, pub_name, ext_name, review_id):
16201620
"""DeleteReview.
16211621
[Preview API] Deletes a review
1622-
:param str pub_name: Name of the pubilsher who published the extension
1622+
:param str pub_name: Name of the publisher who published the extension
16231623
:param str ext_name: Name of the extension
16241624
:param long review_id: Id of the review which needs to be updated
16251625
"""
@@ -1639,7 +1639,7 @@ def update_review(self, review_patch, pub_name, ext_name, review_id):
16391639
"""UpdateReview.
16401640
[Preview API] Updates or Flags a review
16411641
:param :class:`<ReviewPatch> <azure.devops.v5_1.gallery.models.ReviewPatch>` review_patch: ReviewPatch object which contains the changes to be applied to the review
1642-
:param str pub_name: Name of the pubilsher who published the extension
1642+
:param str pub_name: Name of the publisher who published the extension
16431643
:param str ext_name: Name of the extension
16441644
:param long review_id: Id of the review which needs to be updated
16451645
:rtype: :class:`<ReviewPatch> <azure.devops.v5_1.gallery.models.ReviewPatch>`

azure-devops/azure/devops/v5_1/gallery/models.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ class ExtensionCategory(Model):
326326
:type category_id: int
327327
:param category_name: This is the internal name for a category
328328
:type category_name: str
329-
:param language: This parameter is obsolete. Refer to LanguageTitles for langauge specific titles
329+
:param language: This parameter is obsolete. Refer to LanguageTitles for language specific titles
330330
:type language: str
331331
:param language_titles: The list of all the titles of this category in various languages
332332
:type language_titles: list of :class:`CategoryLanguageTitle <azure.devops.v5_1.gallery.models.CategoryLanguageTitle>`
@@ -1414,7 +1414,7 @@ class QueryFilter(Model):
14141414
:type page_number: int
14151415
:param page_size: The page size defines the number of results the caller wants for this filter. The count can't exceed the overall query size limits.
14161416
:type page_size: int
1417-
:param paging_token: The paging token is a distinct type of filter and the other filter fields are ignored. The paging token represents the continuation of a previously executed query. The information about where in the result and what fields are being filtered are embeded in the token.
1417+
:param paging_token: The paging token is a distinct type of filter and the other filter fields are ignored. The paging token represents the continuation of a previously executed query. The information about where in the result and what fields are being filtered are embedded in the token.
14181418
:type paging_token: str
14191419
:param sort_by: Defines the type of sorting to be applied on the results. The page slice is cut of the sorted results only.
14201420
:type sort_by: int

azure-devops/azure/devops/v5_1/git/git_client_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2937,7 +2937,7 @@ def get_ref_favorites(self, project, repository_id=None, identity_id=None):
29372937
def create_repository(self, git_repository_to_create, project=None, source_ref=None):
29382938
"""CreateRepository.
29392939
Create a git repository in a team project.
2940-
:param :class:`<GitRepositoryCreateOptions> <azure.devops.v5_1.git.models.GitRepositoryCreateOptions>` git_repository_to_create: Specify the repo name, team project and/or parent repository. Team project information can be ommitted from gitRepositoryToCreate if the request is project-scoped (i.e., includes project Id).
2940+
:param :class:`<GitRepositoryCreateOptions> <azure.devops.v5_1.git.models.GitRepositoryCreateOptions>` git_repository_to_create: Specify the repo name, team project and/or parent repository. Team project information can be omitted from gitRepositoryToCreate if the request is project-scoped (i.e., includes project Id).
29412941
:param str project: Project ID or project name
29422942
:param str source_ref: [optional] Specify the source refs to use while creating a fork repo
29432943
:rtype: :class:`<GitRepository> <azure.devops.v5_1.git.models.GitRepository>`

azure-devops/azure/devops/v5_1/git/models.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1578,7 +1578,7 @@ class GitPullRequestCompletionOptions(Model):
15781578
:type merge_commit_message: str
15791579
:param merge_strategy: Specify the strategy used to merge the pull request during completion. If MergeStrategy is not set to any value, a no-FF merge will be created if SquashMerge == false. If MergeStrategy is not set to any value, the pull request commits will be squash if SquashMerge == true. The SquashMerge member is deprecated. It is recommended that you explicitly set MergeStrategy in all cases. If an explicit value is provided for MergeStrategy, the SquashMerge member will be ignored.
15801580
:type merge_strategy: object
1581-
:param squash_merge: SquashMerge is deprecated. You should explicity set the value of MergeStrategy. If MergeStrategy is set to any value, the SquashMerge value will be ignored. If MergeStrategy is not set, the merge strategy will be no-fast-forward if this flag is false, or squash if true.
1581+
:param squash_merge: SquashMerge is deprecated. You should explicitly set the value of MergeStrategy. If MergeStrategy is set to any value, the SquashMerge value will be ignored. If MergeStrategy is not set, the merge strategy will be no-fast-forward if this flag is false, or squash if true.
15821582
:type squash_merge: bool
15831583
:param transition_work_items: If true, we will attempt to transition any work items linked to the pull request into the next logical state (i.e. Active -> Resolved)
15841584
:type transition_work_items: bool
@@ -2470,7 +2470,7 @@ class GitTreeDiff(Model):
24702470
"""
24712471
:param base_tree_id: ObjectId of the base tree of this diff.
24722472
:type base_tree_id: str
2473-
:param diff_entries: List of tree entries that differ between the base and target tree. Renames and object type changes are returned as a delete for the old object and add for the new object. If a continuation token is returned in the response header, some tree entries are yet to be processed and may yeild more diff entries. If the continuation token is not returned all the diff entries have been included in this response.
2473+
:param diff_entries: List of tree entries that differ between the base and target tree. Renames and object type changes are returned as a delete for the old object and add for the new object. If a continuation token is returned in the response header, some tree entries are yet to be processed and may yield more diff entries. If the continuation token is not returned all the diff entries have been included in this response.
24742474
:type diff_entries: list of :class:`GitTreeDiffEntry <azure.devops.v5_1.git.models.GitTreeDiffEntry>`
24752475
:param target_tree_id: ObjectId of the target tree of this diff.
24762476
:type target_tree_id: str

azure-devops/azure/devops/v5_1/member_entitlement_management/member_entitlement_management_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def get_group_members(self, group_id, max_results=None, paging_token=None):
136136
[Preview API] Get direct members of a Group.
137137
:param str group_id: Id of the Group.
138138
:param int max_results: Maximum number of results to retrieve.
139-
:param str paging_token: Paging Token from the previous page fetched. If the 'pagingToken' is null, the results would be fetched from the begining of the Members List.
139+
:param str paging_token: Paging Token from the previous page fetched. If the 'pagingToken' is null, the results would be fetched from the beginning of the Members List.
140140
:rtype: :class:`<PagedGraphMemberList> <azure.devops.v5_1.member_entitlement_management.models.PagedGraphMemberList>`
141141
"""
142142
route_values = {}

azure-devops/azure/devops/v5_1/member_entitlement_management/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ def __init__(self, id=None, name=None):
489489

490490
class UserEntitlement(Model):
491491
"""
492-
A user entity with additional properties including thier license, extensions, and project membership
492+
A user entity with additional properties including their license, extensions, and project membership
493493
494494
:param access_level: User's access level denoted by a license.
495495
:type access_level: :class:`AccessLevel <azure.devops.v5_1.member_entitlement_management.models.AccessLevel>`

azure-devops/azure/devops/v5_1/notification/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,7 @@ def __init__(self, address=None, type=None, use_custom_address=None):
12601260

12611261
class SubscriptionDiagnostics(Model):
12621262
"""
1263-
Contains all the diagonstics settings for a subscription.
1263+
Contains all the diagnostics settings for a subscription.
12641264
12651265
:param delivery_results: Diagnostics settings for retaining delivery results. Used for Service Hooks subscriptions.
12661266
:type delivery_results: :class:`SubscriptionTracing <azure.devops.v5_1.notification.models.SubscriptionTracing>`

azure-devops/azure/devops/v5_1/service_hooks/models.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ class PublisherEvent(Model):
897897
"""
898898
Wrapper around an event which is being published
899899
900-
:param diagnostics: Add key/value pairs which will be stored with a published notification in the SH service DB. This key/value pairs are for diagnostic purposes only and will have not effect on the delivery of a notificaton.
900+
:param diagnostics: Add key/value pairs which will be stored with a published notification in the SH service DB. This key/value pairs are for diagnostic purposes only and will have not effect on the delivery of a notification.
901901
:type diagnostics: dict
902902
:param event: The event being published
903903
:type event: :class:`Event <azure.devops.v5_1.service_hooks.models.Event>`
@@ -1121,7 +1121,7 @@ def __init__(self, _links=None, action_description=None, consumer_action_id=None
11211121

11221122
class SubscriptionDiagnostics(Model):
11231123
"""
1124-
Contains all the diagonstics settings for a subscription.
1124+
Contains all the diagnostics settings for a subscription.
11251125
11261126
:param delivery_results: Diagnostics settings for retaining delivery results. Used for Service Hooks subscriptions.
11271127
:type delivery_results: :class:`SubscriptionTracing <azure.devops.v5_1.microsoft._visual_studio._services._notifications._web_api.models.SubscriptionTracing>`

azure-devops/azure/devops/v5_1/test/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ class CloneOperationInformation(Model):
366366
:type source_plan: :class:`ShallowReference <azure.devops.v5_1.test.models.ShallowReference>`
367367
:param source_project: Shallow reference of the source
368368
:type source_project: :class:`ShallowReference <azure.devops.v5_1.test.models.ShallowReference>`
369-
:param state: Current state of the operation. When State reaches Suceeded or Failed, the operation is complete
369+
:param state: Current state of the operation. When State reaches Succeeded or Failed, the operation is complete
370370
:type state: object
371371
:param url: Url for getting the clone information
372372
:type url: str

0 commit comments

Comments
 (0)