Skip to content

Commit 530c48e

Browse files
committed
Add Search clients
1 parent b60351d commit 530c48e

File tree

8 files changed

+1735
-0
lines changed

8 files changed

+1735
-0
lines changed

azure-devops/azure/devops/v5_0/client_factory.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,13 @@ def get_release_client(self):
246246
"""
247247
return self._connection.get_client('azure.devops.v5_0.release.release_client.ReleaseClient')
248248

249+
def get_search_client(self):
250+
"""get_search_client.
251+
Gets the 5.0 version of the SearchClient
252+
:rtype: :class:`<SearchClient> <azure.devops.v5_0.search.search_client.SearchClient>`
253+
"""
254+
return self._connection.get_client('azure.devops.v5_0.search.search_client.SearchClient')
255+
249256
def get_security_client(self):
250257
"""get_security_client.
251258
Gets the 5.0 version of the SecurityClient
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
# --------------------------------------------------------------------------------------------
5+
# Generated file, DO NOT EDIT
6+
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
7+
# --------------------------------------------------------------------------------------------
8+
9+
from .models import *
10+
from .search_client import SearchClient
11+
12+
__all__ = [
13+
'CodeResult',
14+
'CodeSearchRequest',
15+
'CodeSearchResponse',
16+
'Collection',
17+
'EntitySearchRequest',
18+
'EntitySearchRequestBase',
19+
'EntitySearchResponse',
20+
'Filter',
21+
'Hit',
22+
'Project',
23+
'ProjectReference',
24+
'Repository',
25+
'SortOption',
26+
'Wiki',
27+
'WikiHit',
28+
'WikiResult',
29+
'WikiSearchRequest',
30+
'WikiSearchResponse',
31+
'WorkItemHit',
32+
'WorkItemResult',
33+
'WorkItemSearchRequest',
34+
'WorkItemSearchResponse',
35+
'SearchClient'
36+
]

0 commit comments

Comments
 (0)