Skip to content

Commit 477ce28

Browse files
feat(sdk): Auto-created from 'analyticsapi-engines-sdk-generator' repository PR 36 for SDK version v5.0.1 (#57)
1 parent 5cb751d commit 477ce28

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1138
-198
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
5.1.0 (07/20/2021)
2+
3+
Supported API versions:
4+
5+
* v3: [pa,spar,vault,pub,fi,axp,fpo,afi,npo,bpm,quant],v1:[fiab]
6+
7+
Summmary:
8+
* Support cancelling a quant calculation
9+
* Add support for Bearer token for Oauth
10+
11+
-----------------------
12+
113
5.0.1 (06/30/2021)
214

315
Supported API versions:

auto-generated-sdk/README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Allow clients to fetch Analytics through APIs.
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: v3:[pa,spar,vault,pub,quant,fi,axp,afi,npo,bpm,fpo,others],v1:[fiab]
7-
- Package version: 5.0.1
7+
- Package version: 5.1.0
88
- Build package: CustomPythonClientCodegen
99
For more information, please visit [https://developer.factset.com/contact](https://developer.factset.com/contact)
1010

@@ -72,6 +72,11 @@ configuration = fds.analyticsapi.engines.Configuration(
7272
password = 'YOUR_PASSWORD'
7373
)
7474

75+
# Configure Bearer authorization: Bearer
76+
configuration = fds.analyticsapi.engines.Configuration(
77+
access_token = 'YOUR_BEARER_TOKEN'
78+
)
79+
7580

7681
# Enter a context with an instance of the API client
7782
with fds.analyticsapi.engines.ApiClient(configuration) as api_client:
@@ -166,6 +171,7 @@ Class | Method | HTTP request | Description
166171
*PubCalculationsApi* | [**get_calculation_unit_result_by_id**](docs/PubCalculationsApi.md#get_calculation_unit_result_by_id) | **GET** /analytics/engines/pub/v3/calculations/{id}/units/{unitId}/result | Get Pub calculation result by id
167172
*PubCalculationsApi* | [**post_and_calculate**](docs/PubCalculationsApi.md#post_and_calculate) | **POST** /analytics/engines/pub/v3/calculations | Create and Run Pub calculation
168173
*PubCalculationsApi* | [**put_and_calculate**](docs/PubCalculationsApi.md#put_and_calculate) | **PUT** /analytics/engines/pub/v3/calculations/{id} | Create or Update Pub calculation and run it.
174+
*QuantCalculationsApi* | [**cancel_calculation_by_id**](docs/QuantCalculationsApi.md#cancel_calculation_by_id) | **DELETE** /analytics/engines/quant/v3/calculations/{id} | Cancel Quant calculation by id
169175
*QuantCalculationsApi* | [**get_calculation_parameters**](docs/QuantCalculationsApi.md#get_calculation_parameters) | **GET** /analytics/engines/quant/v3/calculations/{id} | Get Quant Engine calculation parameters by id
170176
*QuantCalculationsApi* | [**get_calculation_status_by_id**](docs/QuantCalculationsApi.md#get_calculation_status_by_id) | **GET** /analytics/engines/quant/v3/calculations/{id}/status | Get Quant Engine calculation status by id
171177
*QuantCalculationsApi* | [**get_calculation_unit_info_by_id**](docs/QuantCalculationsApi.md#get_calculation_unit_info_by_id) | **GET** /analytics/engines/quant/v3/calculations/{id}/units/{unitId}/info | Get Quant Engine calculation metadata information by id
@@ -317,6 +323,11 @@ Class | Method | HTTP request | Description
317323
- **Type**: HTTP basic authentication
318324

319325

326+
## Bearer
327+
328+
- **Type**: Bearer authentication
329+
330+
320331
## Author
321332

322333
analytics.api.support@factset.com

auto-generated-sdk/docs/AFIOptimizerApi.md

Lines changed: 44 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ This is the endpoint to cancel a previously submitted optimization.
2323
### Example
2424

2525
* Basic Authentication (Basic):
26+
* Bearer Authentication (Bearer):
2627
```python
2728
import time
2829
import fds.analyticsapi.engines
@@ -46,6 +47,11 @@ configuration = fds.analyticsapi.engines.Configuration(
4647
password = 'YOUR_PASSWORD'
4748
)
4849

50+
# Configure Bearer authorization: Bearer
51+
configuration = fds.analyticsapi.engines.Configuration(
52+
access_token = 'YOUR_BEARER_TOKEN'
53+
)
54+
4955
# Enter a context with an instance of the API client
5056
with fds.analyticsapi.engines.ApiClient(configuration) as api_client:
5157
# Create an instance of the API class
@@ -74,7 +80,7 @@ Name | Type | Description | Notes
7480

7581
### Authorization
7682

77-
[Basic](../README.md#Basic)
83+
[Basic](../README.md#Basic), [Bearer](../README.md#Bearer)
7884

7985
### HTTP request headers
8086

@@ -105,6 +111,7 @@ This is the endpoint that returns the optimization parameters passed for an opti
105111
### Example
106112

107113
* Basic Authentication (Basic):
114+
* Bearer Authentication (Bearer):
108115
```python
109116
import time
110117
import fds.analyticsapi.engines
@@ -129,6 +136,11 @@ configuration = fds.analyticsapi.engines.Configuration(
129136
password = 'YOUR_PASSWORD'
130137
)
131138

139+
# Configure Bearer authorization: Bearer
140+
configuration = fds.analyticsapi.engines.Configuration(
141+
access_token = 'YOUR_BEARER_TOKEN'
142+
)
143+
132144
# Enter a context with an instance of the API client
133145
with fds.analyticsapi.engines.ApiClient(configuration) as api_client:
134146
# Create an instance of the API class
@@ -158,7 +170,7 @@ Name | Type | Description | Notes
158170

159171
### Authorization
160172

161-
[Basic](../README.md#Basic)
173+
[Basic](../README.md#Basic), [Bearer](../README.md#Bearer)
162174

163175
### HTTP request headers
164176

@@ -189,6 +201,7 @@ This is the endpoint to get the result of a previously requested optimization.
189201
### Example
190202

191203
* Basic Authentication (Basic):
204+
* Bearer Authentication (Bearer):
192205
```python
193206
import time
194207
import fds.analyticsapi.engines
@@ -213,6 +226,11 @@ configuration = fds.analyticsapi.engines.Configuration(
213226
password = 'YOUR_PASSWORD'
214227
)
215228

229+
# Configure Bearer authorization: Bearer
230+
configuration = fds.analyticsapi.engines.Configuration(
231+
access_token = 'YOUR_BEARER_TOKEN'
232+
)
233+
216234
# Enter a context with an instance of the API client
217235
with fds.analyticsapi.engines.ApiClient(configuration) as api_client:
218236
# Create an instance of the API class
@@ -242,7 +260,7 @@ Name | Type | Description | Notes
242260

243261
### Authorization
244262

245-
[Basic](../README.md#Basic)
263+
[Basic](../README.md#Basic), [Bearer](../README.md#Bearer)
246264

247265
### HTTP request headers
248266

@@ -273,6 +291,7 @@ This is the endpoint to check on the progress of a previously requested optimiza
273291
### Example
274292

275293
* Basic Authentication (Basic):
294+
* Bearer Authentication (Bearer):
276295
```python
277296
import time
278297
import fds.analyticsapi.engines
@@ -297,6 +316,11 @@ configuration = fds.analyticsapi.engines.Configuration(
297316
password = 'YOUR_PASSWORD'
298317
)
299318

319+
# Configure Bearer authorization: Bearer
320+
configuration = fds.analyticsapi.engines.Configuration(
321+
access_token = 'YOUR_BEARER_TOKEN'
322+
)
323+
300324
# Enter a context with an instance of the API client
301325
with fds.analyticsapi.engines.ApiClient(configuration) as api_client:
302326
# Create an instance of the API class
@@ -326,7 +350,7 @@ Name | Type | Description | Notes
326350

327351
### Authorization
328352

329-
[Basic](../README.md#Basic)
353+
[Basic](../README.md#Basic), [Bearer](../README.md#Bearer)
330354

331355
### HTTP request headers
332356

@@ -358,6 +382,7 @@ This endpoint creates and runs AFI optimization specified in the POST body param
358382
### Example
359383

360384
* Basic Authentication (Basic):
385+
* Bearer Authentication (Bearer):
361386
```python
362387
import time
363388
import fds.analyticsapi.engines
@@ -384,6 +409,11 @@ configuration = fds.analyticsapi.engines.Configuration(
384409
password = 'YOUR_PASSWORD'
385410
)
386411

412+
# Configure Bearer authorization: Bearer
413+
configuration = fds.analyticsapi.engines.Configuration(
414+
access_token = 'YOUR_BEARER_TOKEN'
415+
)
416+
387417
# Enter a context with an instance of the API client
388418
with fds.analyticsapi.engines.ApiClient(configuration) as api_client:
389419
# Create an instance of the API class
@@ -435,6 +465,7 @@ with fds.analyticsapi.engines.ApiClient(configuration) as api_client:
435465
if_acct_exists="abort",
436466
if_ofdb_date_exists="abort",
437467
),
468+
stats={},
438469
),
439470
),
440471
meta={},
@@ -466,7 +497,7 @@ Name | Type | Description | Notes
466497

467498
### Authorization
468499

469-
[Basic](../README.md#Basic)
500+
[Basic](../README.md#Basic), [Bearer](../README.md#Bearer)
470501

471502
### HTTP request headers
472503

@@ -500,6 +531,7 @@ This endpoint updates and run the AFI optimization specified in the PUT body par
500531
### Example
501532

502533
* Basic Authentication (Basic):
534+
* Bearer Authentication (Bearer):
503535
```python
504536
import time
505537
import fds.analyticsapi.engines
@@ -526,6 +558,11 @@ configuration = fds.analyticsapi.engines.Configuration(
526558
password = 'YOUR_PASSWORD'
527559
)
528560

561+
# Configure Bearer authorization: Bearer
562+
configuration = fds.analyticsapi.engines.Configuration(
563+
access_token = 'YOUR_BEARER_TOKEN'
564+
)
565+
529566
# Enter a context with an instance of the API client
530567
with fds.analyticsapi.engines.ApiClient(configuration) as api_client:
531568
# Create an instance of the API class
@@ -578,6 +615,7 @@ with fds.analyticsapi.engines.ApiClient(configuration) as api_client:
578615
if_acct_exists="abort",
579616
if_ofdb_date_exists="abort",
580617
),
618+
stats={},
581619
),
582620
),
583621
meta={},
@@ -618,7 +656,7 @@ Name | Type | Description | Notes
618656

619657
### Authorization
620658

621-
[Basic](../README.md#Basic)
659+
[Basic](../README.md#Basic), [Bearer](../README.md#Bearer)
622660

623661
### HTTP request headers
624662

0 commit comments

Comments
 (0)