Skip to content

Commit

Permalink
Merge pull request #244 from microsoft/users/tedchamb/dev5
Browse files Browse the repository at this point in the history
Add Search clients
  • Loading branch information
tedchamb committed Jul 25, 2019
2 parents 4b63dba + b1a20a7 commit 0804c52
Show file tree
Hide file tree
Showing 8 changed files with 1,735 additions and 0 deletions.
7 changes: 7 additions & 0 deletions azure-devops/azure/devops/v5_0/client_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,13 @@ def get_release_client(self):
"""
return self._connection.get_client('azure.devops.v5_0.release.release_client.ReleaseClient')

def get_search_client(self):
"""get_search_client.
Gets the 5.0 version of the SearchClient
:rtype: :class:`<SearchClient> <azure.devops.v5_0.search.search_client.SearchClient>`
"""
return self._connection.get_client('azure.devops.v5_0.search.search_client.SearchClient')

def get_security_client(self):
"""get_security_client.
Gets the 5.0 version of the SecurityClient
Expand Down
36 changes: 36 additions & 0 deletions azure-devops/azure/devops/v5_0/search/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Generated file, DO NOT EDIT
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------------------------

from .models import *
from .search_client import SearchClient

__all__ = [
'CodeResult',
'CodeSearchRequest',
'CodeSearchResponse',
'Collection',
'EntitySearchRequest',
'EntitySearchRequestBase',
'EntitySearchResponse',
'Filter',
'Hit',
'Project',
'ProjectReference',
'Repository',
'SortOption',
'Wiki',
'WikiHit',
'WikiResult',
'WikiSearchRequest',
'WikiSearchResponse',
'WorkItemHit',
'WorkItemResult',
'WorkItemSearchRequest',
'WorkItemSearchResponse',
'SearchClient'
]
Loading

0 comments on commit 0804c52

Please sign in to comment.