fds.sdk.OpenFactSetMarketplace 0.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fds/__init__.py +0 -0
- fds/sdk/OpenFactSetMarketplace/__init__.py +28 -0
- fds/sdk/OpenFactSetMarketplace/api/__init__.py +3 -0
- fds/sdk/OpenFactSetMarketplace/api/partners_api.py +560 -0
- fds/sdk/OpenFactSetMarketplace/api/products_api.py +560 -0
- fds/sdk/OpenFactSetMarketplace/api_client.py +939 -0
- fds/sdk/OpenFactSetMarketplace/apis/__init__.py +18 -0
- fds/sdk/OpenFactSetMarketplace/configuration.py +496 -0
- fds/sdk/OpenFactSetMarketplace/exceptions.py +160 -0
- fds/sdk/OpenFactSetMarketplace/model/__init__.py +5 -0
- fds/sdk/OpenFactSetMarketplace/model/attributes_groups_item.py +264 -0
- fds/sdk/OpenFactSetMarketplace/model/documents_items.py +276 -0
- fds/sdk/OpenFactSetMarketplace/model/error.py +278 -0
- fds/sdk/OpenFactSetMarketplace/model/error_response.py +268 -0
- fds/sdk/OpenFactSetMarketplace/model/meta.py +262 -0
- fds/sdk/OpenFactSetMarketplace/model/meta_pagination.py +260 -0
- fds/sdk/OpenFactSetMarketplace/model/partner.py +337 -0
- fds/sdk/OpenFactSetMarketplace/model/partner_address.py +276 -0
- fds/sdk/OpenFactSetMarketplace/model/partner_social_media.py +264 -0
- fds/sdk/OpenFactSetMarketplace/model/partner_success_response.py +268 -0
- fds/sdk/OpenFactSetMarketplace/model/partners_success_response.py +274 -0
- fds/sdk/OpenFactSetMarketplace/model/product.py +406 -0
- fds/sdk/OpenFactSetMarketplace/model/product_partner.py +264 -0
- fds/sdk/OpenFactSetMarketplace/model/product_success_response.py +268 -0
- fds/sdk/OpenFactSetMarketplace/model/products_success_response.py +276 -0
- fds/sdk/OpenFactSetMarketplace/model/related_products.py +274 -0
- fds/sdk/OpenFactSetMarketplace/model/third_party_urls.py +260 -0
- fds/sdk/OpenFactSetMarketplace/model_utils.py +2062 -0
- fds/sdk/OpenFactSetMarketplace/models/__init__.py +28 -0
- fds/sdk/OpenFactSetMarketplace/rest.py +347 -0
- fds/sdk/__init__.py +0 -0
- fds.sdk.OpenFactSetMarketplace-0.0.1.dist-info/LICENSE +202 -0
- fds.sdk.OpenFactSetMarketplace-0.0.1.dist-info/METADATA +328 -0
- fds.sdk.OpenFactSetMarketplace-0.0.1.dist-info/RECORD +36 -0
- fds.sdk.OpenFactSetMarketplace-0.0.1.dist-info/WHEEL +5 -0
- fds.sdk.OpenFactSetMarketplace-0.0.1.dist-info/top_level.txt +1 -0
fds/__init__.py
ADDED
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Open:FactSet Marketplace API
|
|
5
|
+
|
|
6
|
+
This API provides read-only access to marketplace products and partners. # noqa: E501
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
|
9
|
+
Contact: api@factset.com
|
|
10
|
+
Generated by: https://openapi-generator.tech
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
__version__ = "0.0.1"
|
|
15
|
+
|
|
16
|
+
# import ApiClient
|
|
17
|
+
from fds.sdk.OpenFactSetMarketplace.api_client import ApiClient
|
|
18
|
+
|
|
19
|
+
# import Configuration
|
|
20
|
+
from fds.sdk.OpenFactSetMarketplace.configuration import Configuration
|
|
21
|
+
|
|
22
|
+
# import exceptions
|
|
23
|
+
from fds.sdk.OpenFactSetMarketplace.exceptions import OpenApiException
|
|
24
|
+
from fds.sdk.OpenFactSetMarketplace.exceptions import ApiAttributeError
|
|
25
|
+
from fds.sdk.OpenFactSetMarketplace.exceptions import ApiTypeError
|
|
26
|
+
from fds.sdk.OpenFactSetMarketplace.exceptions import ApiValueError
|
|
27
|
+
from fds.sdk.OpenFactSetMarketplace.exceptions import ApiKeyError
|
|
28
|
+
from fds.sdk.OpenFactSetMarketplace.exceptions import ApiException
|
|
@@ -0,0 +1,560 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Open:FactSet Marketplace API
|
|
3
|
+
|
|
4
|
+
This API provides read-only access to marketplace products and partners. # noqa: E501
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
|
7
|
+
Contact: api@factset.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
import re # noqa: F401
|
|
13
|
+
import sys # noqa: F401
|
|
14
|
+
from multiprocessing.pool import ApplyResult
|
|
15
|
+
import typing
|
|
16
|
+
|
|
17
|
+
from fds.sdk.OpenFactSetMarketplace.api_client import ApiClient, Endpoint as _Endpoint
|
|
18
|
+
from fds.sdk.OpenFactSetMarketplace.model_utils import ( # noqa: F401
|
|
19
|
+
check_allowed_values,
|
|
20
|
+
check_validations,
|
|
21
|
+
date,
|
|
22
|
+
datetime,
|
|
23
|
+
file_type,
|
|
24
|
+
none_type,
|
|
25
|
+
validate_and_convert_types
|
|
26
|
+
)
|
|
27
|
+
from fds.sdk.OpenFactSetMarketplace.exceptions import ApiException
|
|
28
|
+
from fds.sdk.OpenFactSetMarketplace.model.error_response import ErrorResponse
|
|
29
|
+
from fds.sdk.OpenFactSetMarketplace.model.partner_success_response import PartnerSuccessResponse
|
|
30
|
+
from fds.sdk.OpenFactSetMarketplace.model.partners_success_response import PartnersSuccessResponse
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class PartnersApi(object):
|
|
37
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
38
|
+
Ref: https://openapi-generator.tech
|
|
39
|
+
|
|
40
|
+
Do not edit the class manually.
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
def __init__(self, api_client=None):
|
|
44
|
+
if api_client is None:
|
|
45
|
+
api_client = ApiClient()
|
|
46
|
+
self.api_client = api_client
|
|
47
|
+
|
|
48
|
+
self.get_partner_by_id_endpoint = _Endpoint(
|
|
49
|
+
settings={
|
|
50
|
+
'response_type': (
|
|
51
|
+
{ 200: (PartnerSuccessResponse,), 401: (str,), 403: (str,), 404: (ErrorResponse,), 429: (str,), 500: (ErrorResponse,), },
|
|
52
|
+
None
|
|
53
|
+
),
|
|
54
|
+
'auth': [
|
|
55
|
+
'FactSetApiKey',
|
|
56
|
+
'FactSetOAuth2'
|
|
57
|
+
],
|
|
58
|
+
'endpoint_path': '/partner/{id}',
|
|
59
|
+
'operation_id': 'get_partner_by_id',
|
|
60
|
+
'http_method': 'GET',
|
|
61
|
+
'servers': None,
|
|
62
|
+
},
|
|
63
|
+
params_map={
|
|
64
|
+
'all': [
|
|
65
|
+
'id',
|
|
66
|
+
],
|
|
67
|
+
'required': [
|
|
68
|
+
'id',
|
|
69
|
+
],
|
|
70
|
+
'nullable': [
|
|
71
|
+
],
|
|
72
|
+
'enum': [
|
|
73
|
+
],
|
|
74
|
+
'validation': [
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
root_map={
|
|
78
|
+
'validations': {
|
|
79
|
+
},
|
|
80
|
+
'allowed_values': {
|
|
81
|
+
},
|
|
82
|
+
'openapi_types': {
|
|
83
|
+
'id':
|
|
84
|
+
(str,),
|
|
85
|
+
},
|
|
86
|
+
'attribute_map': {
|
|
87
|
+
'id': 'id',
|
|
88
|
+
},
|
|
89
|
+
'location_map': {
|
|
90
|
+
'id': 'path',
|
|
91
|
+
},
|
|
92
|
+
'collection_format_map': {
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
headers_map={
|
|
96
|
+
'accept': [
|
|
97
|
+
'application/json',
|
|
98
|
+
'text/plain'
|
|
99
|
+
],
|
|
100
|
+
'content_type': [],
|
|
101
|
+
},
|
|
102
|
+
api_client=api_client
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
self.get_partners_endpoint = _Endpoint(
|
|
106
|
+
settings={
|
|
107
|
+
'response_type': (
|
|
108
|
+
{ 200: (PartnersSuccessResponse,), 401: (str,), 403: (str,), 429: (str,), 500: (ErrorResponse,), },
|
|
109
|
+
None
|
|
110
|
+
),
|
|
111
|
+
'auth': [
|
|
112
|
+
'FactSetApiKey',
|
|
113
|
+
'FactSetOAuth2'
|
|
114
|
+
],
|
|
115
|
+
'endpoint_path': '/partners',
|
|
116
|
+
'operation_id': 'get_partners',
|
|
117
|
+
'http_method': 'GET',
|
|
118
|
+
'servers': None,
|
|
119
|
+
},
|
|
120
|
+
params_map={
|
|
121
|
+
'all': [
|
|
122
|
+
'pagination_limit',
|
|
123
|
+
'pagination_offset',
|
|
124
|
+
],
|
|
125
|
+
'required': [],
|
|
126
|
+
'nullable': [
|
|
127
|
+
],
|
|
128
|
+
'enum': [
|
|
129
|
+
],
|
|
130
|
+
'validation': [
|
|
131
|
+
'pagination_limit',
|
|
132
|
+
'pagination_offset',
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
root_map={
|
|
136
|
+
'validations': {
|
|
137
|
+
('pagination_limit',): {
|
|
138
|
+
|
|
139
|
+
'inclusive_maximum': 100,
|
|
140
|
+
'inclusive_minimum': 1,
|
|
141
|
+
},
|
|
142
|
+
('pagination_offset',): {
|
|
143
|
+
|
|
144
|
+
'inclusive_maximum': 100,
|
|
145
|
+
'inclusive_minimum': 0,
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
'allowed_values': {
|
|
149
|
+
},
|
|
150
|
+
'openapi_types': {
|
|
151
|
+
'pagination_limit':
|
|
152
|
+
(int,),
|
|
153
|
+
'pagination_offset':
|
|
154
|
+
(int,),
|
|
155
|
+
},
|
|
156
|
+
'attribute_map': {
|
|
157
|
+
'pagination_limit': '_paginationLimit',
|
|
158
|
+
'pagination_offset': '_paginationOffset',
|
|
159
|
+
},
|
|
160
|
+
'location_map': {
|
|
161
|
+
'pagination_limit': 'query',
|
|
162
|
+
'pagination_offset': 'query',
|
|
163
|
+
},
|
|
164
|
+
'collection_format_map': {
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
headers_map={
|
|
168
|
+
'accept': [
|
|
169
|
+
'application/json',
|
|
170
|
+
'text/plain'
|
|
171
|
+
],
|
|
172
|
+
'content_type': [],
|
|
173
|
+
},
|
|
174
|
+
api_client=api_client
|
|
175
|
+
)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
@staticmethod
|
|
179
|
+
def apply_kwargs_defaults(kwargs, return_http_data_only, async_req):
|
|
180
|
+
kwargs["async_req"] = async_req
|
|
181
|
+
kwargs["_return_http_data_only"] = return_http_data_only
|
|
182
|
+
kwargs["_preload_content"] = kwargs.get("_preload_content", True)
|
|
183
|
+
kwargs["_request_timeout"] = kwargs.get("_request_timeout", None)
|
|
184
|
+
kwargs["_check_input_type"] = kwargs.get("_check_input_type", True)
|
|
185
|
+
kwargs["_check_return_type"] = kwargs.get("_check_return_type", True)
|
|
186
|
+
kwargs["_spec_property_naming"] = kwargs.get("_spec_property_naming", False)
|
|
187
|
+
kwargs["_content_type"] = kwargs.get("_content_type")
|
|
188
|
+
kwargs["_host_index"] = kwargs.get("_host_index")
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
def get_partner_by_id(
|
|
192
|
+
self,
|
|
193
|
+
id,
|
|
194
|
+
**kwargs
|
|
195
|
+
) -> PartnerSuccessResponse:
|
|
196
|
+
"""get_partner_by_id # noqa: E501
|
|
197
|
+
|
|
198
|
+
Get a single FactSet Partner by ID. # noqa: E501
|
|
199
|
+
This method makes a synchronous HTTP request. Returns the http data only
|
|
200
|
+
|
|
201
|
+
Args:
|
|
202
|
+
id (str): ID of the product or partner
|
|
203
|
+
|
|
204
|
+
Keyword Args:
|
|
205
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
206
|
+
will be returned without reading/decoding response data.
|
|
207
|
+
Default is True. NOTE: if this API returns a file, it is the responsibility
|
|
208
|
+
of the caller to close the file stream.
|
|
209
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
210
|
+
one number provided, it will be total request timeout. It can also
|
|
211
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
212
|
+
Default is None.
|
|
213
|
+
_check_input_type (bool): specifies if type checking
|
|
214
|
+
should be done one the data sent to the server.
|
|
215
|
+
Default is True.
|
|
216
|
+
_check_return_type (bool): specifies if type checking
|
|
217
|
+
should be done one the data received from the server.
|
|
218
|
+
Default is True.
|
|
219
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
220
|
+
are serialized names, as specified in the OpenAPI document.
|
|
221
|
+
False if the variable names in the input data
|
|
222
|
+
are pythonic names, e.g. snake case (default)
|
|
223
|
+
_content_type (str/None): force body content-type.
|
|
224
|
+
Default is None and content-type will be predicted by allowed
|
|
225
|
+
content-types and body.
|
|
226
|
+
_host_index (int/None): specifies the index of the server
|
|
227
|
+
that we want to use.
|
|
228
|
+
Default is read from the configuration.
|
|
229
|
+
Returns:
|
|
230
|
+
PartnerSuccessResponse
|
|
231
|
+
Response Object
|
|
232
|
+
"""
|
|
233
|
+
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
|
|
234
|
+
kwargs['id'] = \
|
|
235
|
+
id
|
|
236
|
+
return self.get_partner_by_id_endpoint.call_with_http_info(**kwargs)
|
|
237
|
+
|
|
238
|
+
def get_partner_by_id_with_http_info(
|
|
239
|
+
self,
|
|
240
|
+
id,
|
|
241
|
+
**kwargs
|
|
242
|
+
) -> typing.Tuple[PartnerSuccessResponse, int, typing.MutableMapping]:
|
|
243
|
+
"""get_partner_by_id # noqa: E501
|
|
244
|
+
|
|
245
|
+
Get a single FactSet Partner by ID. # noqa: E501
|
|
246
|
+
This method makes a synchronous HTTP request. Returns http data, http status and headers
|
|
247
|
+
|
|
248
|
+
Args:
|
|
249
|
+
id (str): ID of the product or partner
|
|
250
|
+
|
|
251
|
+
Keyword Args:
|
|
252
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
253
|
+
will be returned without reading/decoding response data.
|
|
254
|
+
Default is True. NOTE: if this API returns a file, it is the responsibility
|
|
255
|
+
of the caller to close the file stream.
|
|
256
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
257
|
+
one number provided, it will be total request timeout. It can also
|
|
258
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
259
|
+
Default is None.
|
|
260
|
+
_check_input_type (bool): specifies if type checking
|
|
261
|
+
should be done one the data sent to the server.
|
|
262
|
+
Default is True.
|
|
263
|
+
_check_return_type (bool): specifies if type checking
|
|
264
|
+
should be done one the data received from the server.
|
|
265
|
+
Default is True.
|
|
266
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
267
|
+
are serialized names, as specified in the OpenAPI document.
|
|
268
|
+
False if the variable names in the input data
|
|
269
|
+
are pythonic names, e.g. snake case (default)
|
|
270
|
+
_content_type (str/None): force body content-type.
|
|
271
|
+
Default is None and content-type will be predicted by allowed
|
|
272
|
+
content-types and body.
|
|
273
|
+
_host_index (int/None): specifies the index of the server
|
|
274
|
+
that we want to use.
|
|
275
|
+
Default is read from the configuration.
|
|
276
|
+
Returns:
|
|
277
|
+
PartnerSuccessResponse
|
|
278
|
+
Response Object
|
|
279
|
+
int
|
|
280
|
+
Http Status Code
|
|
281
|
+
dict
|
|
282
|
+
Dictionary of the response headers
|
|
283
|
+
"""
|
|
284
|
+
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
|
|
285
|
+
kwargs['id'] = \
|
|
286
|
+
id
|
|
287
|
+
return self.get_partner_by_id_endpoint.call_with_http_info(**kwargs)
|
|
288
|
+
|
|
289
|
+
def get_partner_by_id_async(
|
|
290
|
+
self,
|
|
291
|
+
id,
|
|
292
|
+
**kwargs
|
|
293
|
+
) -> "ApplyResult[PartnerSuccessResponse]":
|
|
294
|
+
"""get_partner_by_id # noqa: E501
|
|
295
|
+
|
|
296
|
+
Get a single FactSet Partner by ID. # noqa: E501
|
|
297
|
+
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
|
|
298
|
+
|
|
299
|
+
Args:
|
|
300
|
+
id (str): ID of the product or partner
|
|
301
|
+
|
|
302
|
+
Keyword Args:
|
|
303
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
304
|
+
will be returned without reading/decoding response data.
|
|
305
|
+
Default is True. NOTE: if this API returns a file, it is the responsibility
|
|
306
|
+
of the caller to close the file stream.
|
|
307
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
308
|
+
one number provided, it will be total request timeout. It can also
|
|
309
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
310
|
+
Default is None.
|
|
311
|
+
_check_input_type (bool): specifies if type checking
|
|
312
|
+
should be done one the data sent to the server.
|
|
313
|
+
Default is True.
|
|
314
|
+
_check_return_type (bool): specifies if type checking
|
|
315
|
+
should be done one the data received from the server.
|
|
316
|
+
Default is True.
|
|
317
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
318
|
+
are serialized names, as specified in the OpenAPI document.
|
|
319
|
+
False if the variable names in the input data
|
|
320
|
+
are pythonic names, e.g. snake case (default)
|
|
321
|
+
_content_type (str/None): force body content-type.
|
|
322
|
+
Default is None and content-type will be predicted by allowed
|
|
323
|
+
content-types and body.
|
|
324
|
+
_host_index (int/None): specifies the index of the server
|
|
325
|
+
that we want to use.
|
|
326
|
+
Default is read from the configuration.
|
|
327
|
+
Returns:
|
|
328
|
+
ApplyResult[PartnerSuccessResponse]
|
|
329
|
+
"""
|
|
330
|
+
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
|
|
331
|
+
kwargs['id'] = \
|
|
332
|
+
id
|
|
333
|
+
return self.get_partner_by_id_endpoint.call_with_http_info(**kwargs)
|
|
334
|
+
|
|
335
|
+
def get_partner_by_id_with_http_info_async(
|
|
336
|
+
self,
|
|
337
|
+
id,
|
|
338
|
+
**kwargs
|
|
339
|
+
) -> "ApplyResult[typing.Tuple[PartnerSuccessResponse, int, typing.MutableMapping]]":
|
|
340
|
+
"""get_partner_by_id # noqa: E501
|
|
341
|
+
|
|
342
|
+
Get a single FactSet Partner by ID. # noqa: E501
|
|
343
|
+
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
|
|
344
|
+
|
|
345
|
+
Args:
|
|
346
|
+
id (str): ID of the product or partner
|
|
347
|
+
|
|
348
|
+
Keyword Args:
|
|
349
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
350
|
+
will be returned without reading/decoding response data.
|
|
351
|
+
Default is True. NOTE: if this API returns a file, it is the responsibility
|
|
352
|
+
of the caller to close the file stream.
|
|
353
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
354
|
+
one number provided, it will be total request timeout. It can also
|
|
355
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
356
|
+
Default is None.
|
|
357
|
+
_check_input_type (bool): specifies if type checking
|
|
358
|
+
should be done one the data sent to the server.
|
|
359
|
+
Default is True.
|
|
360
|
+
_check_return_type (bool): specifies if type checking
|
|
361
|
+
should be done one the data received from the server.
|
|
362
|
+
Default is True.
|
|
363
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
364
|
+
are serialized names, as specified in the OpenAPI document.
|
|
365
|
+
False if the variable names in the input data
|
|
366
|
+
are pythonic names, e.g. snake case (default)
|
|
367
|
+
_content_type (str/None): force body content-type.
|
|
368
|
+
Default is None and content-type will be predicted by allowed
|
|
369
|
+
content-types and body.
|
|
370
|
+
_host_index (int/None): specifies the index of the server
|
|
371
|
+
that we want to use.
|
|
372
|
+
Default is read from the configuration.
|
|
373
|
+
Returns:
|
|
374
|
+
ApplyResult[(PartnerSuccessResponse, int, typing.Dict)]
|
|
375
|
+
"""
|
|
376
|
+
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
|
|
377
|
+
kwargs['id'] = \
|
|
378
|
+
id
|
|
379
|
+
return self.get_partner_by_id_endpoint.call_with_http_info(**kwargs)
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
def get_partners(
|
|
383
|
+
self,
|
|
384
|
+
**kwargs
|
|
385
|
+
) -> PartnersSuccessResponse:
|
|
386
|
+
"""get_partners # noqa: E501
|
|
387
|
+
|
|
388
|
+
Get all partners published on FactSet's Partner Catalog. # noqa: E501
|
|
389
|
+
This method makes a synchronous HTTP request. Returns the http data only
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
Keyword Args:
|
|
393
|
+
pagination_limit (int): Limit for number of records returned per page. [optional] if omitted the server will use the default value of 10
|
|
394
|
+
pagination_offset (int): Specifies the starting point for pagination. This parameter is used to identify the beginning of next set of results.. [optional] if omitted the server will use the default value of 0
|
|
395
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
396
|
+
will be returned without reading/decoding response data.
|
|
397
|
+
Default is True. NOTE: if this API returns a file, it is the responsibility
|
|
398
|
+
of the caller to close the file stream.
|
|
399
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
400
|
+
one number provided, it will be total request timeout. It can also
|
|
401
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
402
|
+
Default is None.
|
|
403
|
+
_check_input_type (bool): specifies if type checking
|
|
404
|
+
should be done one the data sent to the server.
|
|
405
|
+
Default is True.
|
|
406
|
+
_check_return_type (bool): specifies if type checking
|
|
407
|
+
should be done one the data received from the server.
|
|
408
|
+
Default is True.
|
|
409
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
410
|
+
are serialized names, as specified in the OpenAPI document.
|
|
411
|
+
False if the variable names in the input data
|
|
412
|
+
are pythonic names, e.g. snake case (default)
|
|
413
|
+
_content_type (str/None): force body content-type.
|
|
414
|
+
Default is None and content-type will be predicted by allowed
|
|
415
|
+
content-types and body.
|
|
416
|
+
_host_index (int/None): specifies the index of the server
|
|
417
|
+
that we want to use.
|
|
418
|
+
Default is read from the configuration.
|
|
419
|
+
Returns:
|
|
420
|
+
PartnersSuccessResponse
|
|
421
|
+
Response Object
|
|
422
|
+
"""
|
|
423
|
+
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
|
|
424
|
+
return self.get_partners_endpoint.call_with_http_info(**kwargs)
|
|
425
|
+
|
|
426
|
+
def get_partners_with_http_info(
|
|
427
|
+
self,
|
|
428
|
+
**kwargs
|
|
429
|
+
) -> typing.Tuple[PartnersSuccessResponse, int, typing.MutableMapping]:
|
|
430
|
+
"""get_partners # noqa: E501
|
|
431
|
+
|
|
432
|
+
Get all partners published on FactSet's Partner Catalog. # noqa: E501
|
|
433
|
+
This method makes a synchronous HTTP request. Returns http data, http status and headers
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
Keyword Args:
|
|
437
|
+
pagination_limit (int): Limit for number of records returned per page. [optional] if omitted the server will use the default value of 10
|
|
438
|
+
pagination_offset (int): Specifies the starting point for pagination. This parameter is used to identify the beginning of next set of results.. [optional] if omitted the server will use the default value of 0
|
|
439
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
440
|
+
will be returned without reading/decoding response data.
|
|
441
|
+
Default is True. NOTE: if this API returns a file, it is the responsibility
|
|
442
|
+
of the caller to close the file stream.
|
|
443
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
444
|
+
one number provided, it will be total request timeout. It can also
|
|
445
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
446
|
+
Default is None.
|
|
447
|
+
_check_input_type (bool): specifies if type checking
|
|
448
|
+
should be done one the data sent to the server.
|
|
449
|
+
Default is True.
|
|
450
|
+
_check_return_type (bool): specifies if type checking
|
|
451
|
+
should be done one the data received from the server.
|
|
452
|
+
Default is True.
|
|
453
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
454
|
+
are serialized names, as specified in the OpenAPI document.
|
|
455
|
+
False if the variable names in the input data
|
|
456
|
+
are pythonic names, e.g. snake case (default)
|
|
457
|
+
_content_type (str/None): force body content-type.
|
|
458
|
+
Default is None and content-type will be predicted by allowed
|
|
459
|
+
content-types and body.
|
|
460
|
+
_host_index (int/None): specifies the index of the server
|
|
461
|
+
that we want to use.
|
|
462
|
+
Default is read from the configuration.
|
|
463
|
+
Returns:
|
|
464
|
+
PartnersSuccessResponse
|
|
465
|
+
Response Object
|
|
466
|
+
int
|
|
467
|
+
Http Status Code
|
|
468
|
+
dict
|
|
469
|
+
Dictionary of the response headers
|
|
470
|
+
"""
|
|
471
|
+
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
|
|
472
|
+
return self.get_partners_endpoint.call_with_http_info(**kwargs)
|
|
473
|
+
|
|
474
|
+
def get_partners_async(
|
|
475
|
+
self,
|
|
476
|
+
**kwargs
|
|
477
|
+
) -> "ApplyResult[PartnersSuccessResponse]":
|
|
478
|
+
"""get_partners # noqa: E501
|
|
479
|
+
|
|
480
|
+
Get all partners published on FactSet's Partner Catalog. # noqa: E501
|
|
481
|
+
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
Keyword Args:
|
|
485
|
+
pagination_limit (int): Limit for number of records returned per page. [optional] if omitted the server will use the default value of 10
|
|
486
|
+
pagination_offset (int): Specifies the starting point for pagination. This parameter is used to identify the beginning of next set of results.. [optional] if omitted the server will use the default value of 0
|
|
487
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
488
|
+
will be returned without reading/decoding response data.
|
|
489
|
+
Default is True. NOTE: if this API returns a file, it is the responsibility
|
|
490
|
+
of the caller to close the file stream.
|
|
491
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
492
|
+
one number provided, it will be total request timeout. It can also
|
|
493
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
494
|
+
Default is None.
|
|
495
|
+
_check_input_type (bool): specifies if type checking
|
|
496
|
+
should be done one the data sent to the server.
|
|
497
|
+
Default is True.
|
|
498
|
+
_check_return_type (bool): specifies if type checking
|
|
499
|
+
should be done one the data received from the server.
|
|
500
|
+
Default is True.
|
|
501
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
502
|
+
are serialized names, as specified in the OpenAPI document.
|
|
503
|
+
False if the variable names in the input data
|
|
504
|
+
are pythonic names, e.g. snake case (default)
|
|
505
|
+
_content_type (str/None): force body content-type.
|
|
506
|
+
Default is None and content-type will be predicted by allowed
|
|
507
|
+
content-types and body.
|
|
508
|
+
_host_index (int/None): specifies the index of the server
|
|
509
|
+
that we want to use.
|
|
510
|
+
Default is read from the configuration.
|
|
511
|
+
Returns:
|
|
512
|
+
ApplyResult[PartnersSuccessResponse]
|
|
513
|
+
"""
|
|
514
|
+
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
|
|
515
|
+
return self.get_partners_endpoint.call_with_http_info(**kwargs)
|
|
516
|
+
|
|
517
|
+
def get_partners_with_http_info_async(
|
|
518
|
+
self,
|
|
519
|
+
**kwargs
|
|
520
|
+
) -> "ApplyResult[typing.Tuple[PartnersSuccessResponse, int, typing.MutableMapping]]":
|
|
521
|
+
"""get_partners # noqa: E501
|
|
522
|
+
|
|
523
|
+
Get all partners published on FactSet's Partner Catalog. # noqa: E501
|
|
524
|
+
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
Keyword Args:
|
|
528
|
+
pagination_limit (int): Limit for number of records returned per page. [optional] if omitted the server will use the default value of 10
|
|
529
|
+
pagination_offset (int): Specifies the starting point for pagination. This parameter is used to identify the beginning of next set of results.. [optional] if omitted the server will use the default value of 0
|
|
530
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
531
|
+
will be returned without reading/decoding response data.
|
|
532
|
+
Default is True. NOTE: if this API returns a file, it is the responsibility
|
|
533
|
+
of the caller to close the file stream.
|
|
534
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
535
|
+
one number provided, it will be total request timeout. It can also
|
|
536
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
537
|
+
Default is None.
|
|
538
|
+
_check_input_type (bool): specifies if type checking
|
|
539
|
+
should be done one the data sent to the server.
|
|
540
|
+
Default is True.
|
|
541
|
+
_check_return_type (bool): specifies if type checking
|
|
542
|
+
should be done one the data received from the server.
|
|
543
|
+
Default is True.
|
|
544
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
545
|
+
are serialized names, as specified in the OpenAPI document.
|
|
546
|
+
False if the variable names in the input data
|
|
547
|
+
are pythonic names, e.g. snake case (default)
|
|
548
|
+
_content_type (str/None): force body content-type.
|
|
549
|
+
Default is None and content-type will be predicted by allowed
|
|
550
|
+
content-types and body.
|
|
551
|
+
_host_index (int/None): specifies the index of the server
|
|
552
|
+
that we want to use.
|
|
553
|
+
Default is read from the configuration.
|
|
554
|
+
Returns:
|
|
555
|
+
ApplyResult[(PartnersSuccessResponse, int, typing.Dict)]
|
|
556
|
+
"""
|
|
557
|
+
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
|
|
558
|
+
return self.get_partners_endpoint.call_with_http_info(**kwargs)
|
|
559
|
+
|
|
560
|
+
|