fds.sdk.SPAREngine 2.0.2__tar.gz → 2.1.0__tar.gz

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.
Files changed (65) hide show
  1. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/PKG-INFO +21 -10
  2. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/README.md +6 -5
  3. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/__init__.py +1 -1
  4. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/api/spar_calculations_api.py +6 -6
  5. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/api_client.py +1 -1
  6. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/configuration.py +1 -1
  7. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/spar_calculation_parameters.py +4 -0
  8. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/spar_component.py +8 -8
  9. fds_sdk_sparengine-2.1.0/fds/sdk/SPAREngine/model/spar_component_identifier.py +264 -0
  10. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/models/__init__.py +1 -0
  11. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds.sdk.SPAREngine.egg-info/PKG-INFO +21 -10
  12. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds.sdk.SPAREngine.egg-info/SOURCES.txt +1 -0
  13. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/setup.py +1 -1
  14. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/LICENSE +0 -0
  15. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/__init__.py +0 -0
  16. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/api/__init__.py +0 -0
  17. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/api/accounts_api.py +0 -0
  18. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/api/benchmarks_api.py +0 -0
  19. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/api/components_api.py +0 -0
  20. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/api/currencies_api.py +0 -0
  21. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/api/documents_api.py +0 -0
  22. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/api/frequencies_api.py +0 -0
  23. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/apis/__init__.py +0 -0
  24. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/exceptions.py +0 -0
  25. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/__init__.py +0 -0
  26. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/account_directories.py +0 -0
  27. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/account_directories_root.py +0 -0
  28. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/calculation_meta.py +0 -0
  29. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/calculation_status.py +0 -0
  30. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/calculation_status_meta.py +0 -0
  31. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/calculation_status_root.py +0 -0
  32. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/calculation_unit_status.py +0 -0
  33. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/calculation_unit_status_meta.py +0 -0
  34. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/calculations_summary.py +0 -0
  35. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/calculations_summary_root.py +0 -0
  36. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/client_error_response.py +0 -0
  37. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/component_summary.py +0 -0
  38. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/component_summary_root.py +0 -0
  39. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/currency.py +0 -0
  40. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/currency_root.py +0 -0
  41. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/document_directories.py +0 -0
  42. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/document_directories_root.py +0 -0
  43. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/error.py +0 -0
  44. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/error_source.py +0 -0
  45. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/frequency.py +0 -0
  46. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/frequency_root.py +0 -0
  47. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/object_root.py +0 -0
  48. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/pagination_info.py +0 -0
  49. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/pagination_meta.py +0 -0
  50. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/return_type.py +0 -0
  51. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/spar_accounts.py +0 -0
  52. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/spar_accounts_root.py +0 -0
  53. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/spar_benchmark.py +0 -0
  54. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/spar_benchmark_root.py +0 -0
  55. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/spar_calculation_parameters_root.py +0 -0
  56. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/spar_component_root.py +0 -0
  57. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/spar_date_parameters.py +0 -0
  58. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model/spar_identifier.py +0 -0
  59. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/model_utils.py +0 -0
  60. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/SPAREngine/rest.py +0 -0
  61. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds/sdk/__init__.py +0 -0
  62. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds.sdk.SPAREngine.egg-info/dependency_links.txt +0 -0
  63. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds.sdk.SPAREngine.egg-info/requires.txt +0 -0
  64. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/fds.sdk.SPAREngine.egg-info/top_level.txt +0 -0
  65. {fds.sdk.SPAREngine-2.0.2 → fds_sdk_sparengine-2.1.0}/setup.cfg +0 -0
@@ -1,22 +1,34 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: fds.sdk.SPAREngine
3
- Version: 2.0.2
3
+ Version: 2.1.0
4
4
  Summary: Style Performance and Risk Analysis (SPAR) Engine client library for Python
5
5
  Home-page: https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3
6
6
  Author: FactSet Research Systems
7
7
  License: Apache License, Version 2.0
8
8
  Keywords: FactSet,API,SDK
9
- Platform: UNKNOWN
10
9
  Requires-Python: >=3.7
11
10
  Description-Content-Type: text/markdown
12
11
  License-File: LICENSE
12
+ Requires-Dist: urllib3>=1.25.3
13
+ Requires-Dist: python-dateutil
14
+ Requires-Dist: fds.sdk.utils>=1.0.0
15
+ Dynamic: author
16
+ Dynamic: description
17
+ Dynamic: description-content-type
18
+ Dynamic: home-page
19
+ Dynamic: keywords
20
+ Dynamic: license
21
+ Dynamic: license-file
22
+ Dynamic: requires-dist
23
+ Dynamic: requires-python
24
+ Dynamic: summary
13
25
 
14
26
  [![FactSet](https://raw.githubusercontent.com/factset/enterprise-sdk/main/docs/images/factset-logo.svg)](https://www.factset.com)
15
27
 
16
28
  # Style Performance and Risk Analysis (SPAR) Engine client library for Python
17
29
 
18
30
  [![API Version](https://img.shields.io/badge/api-v3.14.0-blue)](https://developer.factset.com/api-catalog/spar-engine-api)
19
- [![PyPi](https://img.shields.io/pypi/v/fds.sdk.SPAREngine)](https://pypi.org/project/fds.sdk.SPAREngine/)
31
+ [![PyPi](https://img.shields.io/pypi/v/fds.sdk.SPAREngine/2.1.0)](https://pypi.org/project/fds.sdk.SPAREngine/v/2.1.0)
20
32
  [![Apache-2 license](https://img.shields.io/badge/license-Apache2-brightgreen.svg)](https://www.apache.org/licenses/LICENSE-2.0)
21
33
 
22
34
  Allow clients to fetch Analytics through APIs.
@@ -24,7 +36,7 @@ Allow clients to fetch Analytics through APIs.
24
36
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
25
37
 
26
38
  - API version: 3.14.0
27
- - SDK version: 2.0.2
39
+ - SDK version: 2.1.0
28
40
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
29
41
 
30
42
  For more information, please visit [https://developer.factset.com/contact](https://developer.factset.com/contact)
@@ -38,13 +50,13 @@ For more information, please visit [https://developer.factset.com/contact](https
38
50
  ### Poetry
39
51
 
40
52
  ```shell
41
- poetry add fds.sdk.utils fds.protobuf.stach.extensions fds.sdk.SPAREngine==2.0.2
53
+ poetry add fds.sdk.utils fds.protobuf.stach.extensions fds.sdk.SPAREngine==2.1.0
42
54
  ```
43
55
 
44
56
  ### pip
45
57
 
46
58
  ```shell
47
- pip install fds.sdk.utils fds.protobuf.stach.extensions fds.sdk.SPAREngine==2.0.2
59
+ pip install fds.sdk.utils fds.protobuf.stach.extensions fds.sdk.SPAREngine==2.1.0
48
60
  ```
49
61
 
50
62
  ## Usage
@@ -300,6 +312,7 @@ Class | Method | HTTP request | Description
300
312
  - [SPARCalculationParameters](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARCalculationParameters.md)
301
313
  - [SPARCalculationParametersRoot](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARCalculationParametersRoot.md)
302
314
  - [SPARComponent](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARComponent.md)
315
+ - [SPARComponentIdentifier](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARComponentIdentifier.md)
303
316
  - [SPARComponentRoot](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARComponentRoot.md)
304
317
  - [SPARDateParameters](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARDateParameters.md)
305
318
  - [SPARIdentifier](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARIdentifier.md)
@@ -346,7 +359,7 @@ Please refer to the [contributing guide](../../../../CONTRIBUTING.md).
346
359
 
347
360
  ## Copyright
348
361
 
349
- Copyright 2022 FactSet Research Systems Inc
362
+ Copyright 2025 FactSet Research Systems Inc
350
363
 
351
364
  Licensed under the Apache License, Version 2.0 (the "License");
352
365
  you may not use this file except in compliance with the License.
@@ -360,5 +373,3 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
360
373
  See the License for the specific language governing permissions and
361
374
  limitations under the License.
362
375
 
363
-
364
-
@@ -3,7 +3,7 @@
3
3
  # Style Performance and Risk Analysis (SPAR) Engine client library for Python
4
4
 
5
5
  [![API Version](https://img.shields.io/badge/api-v3.14.0-blue)](https://developer.factset.com/api-catalog/spar-engine-api)
6
- [![PyPi](https://img.shields.io/pypi/v/fds.sdk.SPAREngine)](https://pypi.org/project/fds.sdk.SPAREngine/)
6
+ [![PyPi](https://img.shields.io/pypi/v/fds.sdk.SPAREngine/2.1.0)](https://pypi.org/project/fds.sdk.SPAREngine/v/2.1.0)
7
7
  [![Apache-2 license](https://img.shields.io/badge/license-Apache2-brightgreen.svg)](https://www.apache.org/licenses/LICENSE-2.0)
8
8
 
9
9
  Allow clients to fetch Analytics through APIs.
@@ -11,7 +11,7 @@ Allow clients to fetch Analytics through APIs.
11
11
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
12
12
 
13
13
  - API version: 3.14.0
14
- - SDK version: 2.0.2
14
+ - SDK version: 2.1.0
15
15
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
16
16
 
17
17
  For more information, please visit [https://developer.factset.com/contact](https://developer.factset.com/contact)
@@ -25,13 +25,13 @@ For more information, please visit [https://developer.factset.com/contact](https
25
25
  ### Poetry
26
26
 
27
27
  ```shell
28
- poetry add fds.sdk.utils fds.protobuf.stach.extensions fds.sdk.SPAREngine==2.0.2
28
+ poetry add fds.sdk.utils fds.protobuf.stach.extensions fds.sdk.SPAREngine==2.1.0
29
29
  ```
30
30
 
31
31
  ### pip
32
32
 
33
33
  ```shell
34
- pip install fds.sdk.utils fds.protobuf.stach.extensions fds.sdk.SPAREngine==2.0.2
34
+ pip install fds.sdk.utils fds.protobuf.stach.extensions fds.sdk.SPAREngine==2.1.0
35
35
  ```
36
36
 
37
37
  ## Usage
@@ -287,6 +287,7 @@ Class | Method | HTTP request | Description
287
287
  - [SPARCalculationParameters](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARCalculationParameters.md)
288
288
  - [SPARCalculationParametersRoot](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARCalculationParametersRoot.md)
289
289
  - [SPARComponent](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARComponent.md)
290
+ - [SPARComponentIdentifier](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARComponentIdentifier.md)
290
291
  - [SPARComponentRoot](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARComponentRoot.md)
291
292
  - [SPARDateParameters](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARDateParameters.md)
292
293
  - [SPARIdentifier](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARIdentifier.md)
@@ -333,7 +334,7 @@ Please refer to the [contributing guide](../../../../CONTRIBUTING.md).
333
334
 
334
335
  ## Copyright
335
336
 
336
- Copyright 2022 FactSet Research Systems Inc
337
+ Copyright 2025 FactSet Research Systems Inc
337
338
 
338
339
  Licensed under the Apache License, Version 2.0 (the "License");
339
340
  you may not use this file except in compliance with the License.
@@ -11,7 +11,7 @@
11
11
  """
12
12
 
13
13
 
14
- __version__ = "2.0.2"
14
+ __version__ = "2.1.0"
15
15
 
16
16
  # import ApiClient
17
17
  from fds.sdk.SPAREngine.api_client import ApiClient
@@ -68,7 +68,7 @@ class PostAndCalculateResponseWrapper:
68
68
  if self.status_code != 200:
69
69
  raise ApiException(
70
70
  status=500,
71
- reason="Invalid response getter called. get_response_200 can't return a " + self.status_code + " response"
71
+ reason="Invalid response getter called. get_response_200 can't return a " + str(self.status_code) + " response"
72
72
  )
73
73
  return self.response
74
74
 
@@ -81,7 +81,7 @@ class PostAndCalculateResponseWrapper:
81
81
  if self.status_code != 201:
82
82
  raise ApiException(
83
83
  status=500,
84
- reason="Invalid response getter called. get_response_201 can't return a " + self.status_code + " response"
84
+ reason="Invalid response getter called. get_response_201 can't return a " + str(self.status_code) + " response"
85
85
  )
86
86
  return self.response
87
87
 
@@ -94,7 +94,7 @@ class PostAndCalculateResponseWrapper:
94
94
  if self.status_code != 202:
95
95
  raise ApiException(
96
96
  status=500,
97
- reason="Invalid response getter called. get_response_202 can't return a " + self.status_code + " response"
97
+ reason="Invalid response getter called. get_response_202 can't return a " + str(self.status_code) + " response"
98
98
  )
99
99
  return self.response
100
100
 
@@ -134,7 +134,7 @@ class PutAndCalculateResponseWrapper:
134
134
  if self.status_code != 200:
135
135
  raise ApiException(
136
136
  status=500,
137
- reason="Invalid response getter called. get_response_200 can't return a " + self.status_code + " response"
137
+ reason="Invalid response getter called. get_response_200 can't return a " + str(self.status_code) + " response"
138
138
  )
139
139
  return self.response
140
140
 
@@ -147,7 +147,7 @@ class PutAndCalculateResponseWrapper:
147
147
  if self.status_code != 201:
148
148
  raise ApiException(
149
149
  status=500,
150
- reason="Invalid response getter called. get_response_201 can't return a " + self.status_code + " response"
150
+ reason="Invalid response getter called. get_response_201 can't return a " + str(self.status_code) + " response"
151
151
  )
152
152
  return self.response
153
153
 
@@ -160,7 +160,7 @@ class PutAndCalculateResponseWrapper:
160
160
  if self.status_code != 202:
161
161
  raise ApiException(
162
162
  status=500,
163
- reason="Invalid response getter called. get_response_202 can't return a " + self.status_code + " response"
163
+ reason="Invalid response getter called. get_response_202 can't return a " + str(self.status_code) + " response"
164
164
  )
165
165
  return self.response
166
166
 
@@ -116,7 +116,7 @@ class ApiClient(object):
116
116
  self.default_headers[header_name] = header_value
117
117
  self.cookie = cookie
118
118
  # Set default User-Agent.
119
- self.user_agent = f'fds-sdk/python/SPAREngine/2.0.2 ({platform.system()}, Python {platform.python_version()})'
119
+ self.user_agent = f'fds-sdk/python/SPAREngine/2.1.0 ({platform.system()}, Python {platform.python_version()})'
120
120
 
121
121
  def __enter__(self):
122
122
  return self
@@ -430,7 +430,7 @@ conf = fds.sdk.SPAREngine.Configuration(
430
430
  "OS: {env}\n"\
431
431
  "Python Version: {pyversion}\n"\
432
432
  "Version of the API: 3.14.0\n"\
433
- "SDK Package Version: 2.0.2".\
433
+ "SDK Package Version: 2.1.0".\
434
434
  format(env=sys.platform, pyversion=sys.version)
435
435
 
436
436
  def get_host_settings(self):
@@ -95,6 +95,7 @@ class SPARCalculationParameters(ModelNormal):
95
95
  'benchmark': (SPARIdentifier,), # noqa: E501
96
96
  'dates': (SPARDateParameters,), # noqa: E501
97
97
  'currencyisocode': (str, none_type,), # noqa: E501
98
+ 'universeid': (str, none_type,), # noqa: E501
98
99
  }
99
100
 
100
101
  @cached_property
@@ -108,6 +109,7 @@ class SPARCalculationParameters(ModelNormal):
108
109
  'benchmark': 'benchmark', # noqa: E501
109
110
  'dates': 'dates', # noqa: E501
110
111
  'currencyisocode': 'currencyisocode', # noqa: E501
112
+ 'universeid': 'universeid', # noqa: E501
111
113
  }
112
114
 
113
115
  read_only_vars = {
@@ -158,6 +160,7 @@ class SPARCalculationParameters(ModelNormal):
158
160
  benchmark (SPARIdentifier): [optional] # noqa: E501
159
161
  dates (SPARDateParameters): [optional] # noqa: E501
160
162
  currencyisocode (str, none_type): Currency ISO code for calculation.. [optional] # noqa: E501
163
+ universeid (str, none_type): Universe ID code for calculation.. [optional] # noqa: E501
161
164
  """
162
165
 
163
166
  _check_type = kwargs.pop('_check_type', True)
@@ -247,6 +250,7 @@ class SPARCalculationParameters(ModelNormal):
247
250
  benchmark (SPARIdentifier): [optional] # noqa: E501
248
251
  dates (SPARDateParameters): [optional] # noqa: E501
249
252
  currencyisocode (str, none_type): Currency ISO code for calculation.. [optional] # noqa: E501
253
+ universeid (str, none_type): Universe ID code for calculation.. [optional] # noqa: E501
250
254
  """
251
255
 
252
256
  _check_type = kwargs.pop('_check_type', True)
@@ -31,8 +31,8 @@ from fds.sdk.SPAREngine.exceptions import ApiAttributeError
31
31
 
32
32
 
33
33
  def lazy_import():
34
- from fds.sdk.SPAREngine.model.spar_identifier import SPARIdentifier
35
- globals()['SPARIdentifier'] = SPARIdentifier
34
+ from fds.sdk.SPAREngine.model.spar_component_identifier import SPARComponentIdentifier
35
+ globals()['SPARComponentIdentifier'] = SPARComponentIdentifier
36
36
 
37
37
 
38
38
  class SPARComponent(ModelNormal):
@@ -89,8 +89,8 @@ class SPARComponent(ModelNormal):
89
89
  lazy_import()
90
90
  return {
91
91
  'id': (str, none_type,), # noqa: E501
92
- 'accounts': ([SPARIdentifier], none_type,), # noqa: E501
93
- 'benchmarks': (SPARIdentifier,), # noqa: E501
92
+ 'accounts': ([SPARComponentIdentifier], none_type,), # noqa: E501
93
+ 'benchmarks': (SPARComponentIdentifier,), # noqa: E501
94
94
  'currency_iso_code': (str, none_type,), # noqa: E501
95
95
  'path': (str, none_type,), # noqa: E501
96
96
  'name': (str, none_type,), # noqa: E501
@@ -154,8 +154,8 @@ class SPARComponent(ModelNormal):
154
154
  through its discriminator because we passed in
155
155
  _visited_composed_classes = (Animal,)
156
156
  id (str, none_type): Component identifier.. [optional] # noqa: E501
157
- accounts ([SPARIdentifier], none_type): List of accounts in SPAR document.. [optional] # noqa: E501
158
- benchmarks (SPARIdentifier): [optional] # noqa: E501
157
+ accounts ([SPARComponentIdentifier], none_type): List of accounts in SPAR document.. [optional] # noqa: E501
158
+ benchmarks (SPARComponentIdentifier): [optional] # noqa: E501
159
159
  currency_iso_code (str, none_type): CurrencyCode in SPAR document.. [optional] # noqa: E501
160
160
  path (str, none_type): The path to the document. [optional] # noqa: E501
161
161
  name (str, none_type): Component name.. [optional] # noqa: E501
@@ -242,8 +242,8 @@ class SPARComponent(ModelNormal):
242
242
  through its discriminator because we passed in
243
243
  _visited_composed_classes = (Animal,)
244
244
  id (str, none_type): Component identifier.. [optional] # noqa: E501
245
- accounts ([SPARIdentifier], none_type): List of accounts in SPAR document.. [optional] # noqa: E501
246
- benchmarks (SPARIdentifier): [optional] # noqa: E501
245
+ accounts ([SPARComponentIdentifier], none_type): List of accounts in SPAR document.. [optional] # noqa: E501
246
+ benchmarks (SPARComponentIdentifier): [optional] # noqa: E501
247
247
  currency_iso_code (str, none_type): CurrencyCode in SPAR document.. [optional] # noqa: E501
248
248
  path (str, none_type): The path to the document. [optional] # noqa: E501
249
249
  name (str, none_type): Component name.. [optional] # noqa: E501
@@ -0,0 +1,264 @@
1
+ """
2
+ Style Performance and Risk Analysis (SPAR) Engine API
3
+
4
+ Allow clients to fetch Analytics through APIs. # noqa: E501
5
+
6
+ The version of the OpenAPI document: 3.14.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
+
15
+ from fds.sdk.SPAREngine.model_utils import ( # noqa: F401
16
+ ApiTypeError,
17
+ ModelComposed,
18
+ ModelNormal,
19
+ ModelSimple,
20
+ cached_property,
21
+ change_keys_js_to_python,
22
+ convert_js_args_to_python_args,
23
+ date,
24
+ datetime,
25
+ file_type,
26
+ none_type,
27
+ validate_get_composed_info,
28
+ OpenApiModel
29
+ )
30
+ from fds.sdk.SPAREngine.exceptions import ApiAttributeError
31
+
32
+
33
+
34
+ class SPARComponentIdentifier(ModelNormal):
35
+ """NOTE: This class is auto generated by OpenAPI Generator.
36
+ Ref: https://openapi-generator.tech
37
+
38
+ Do not edit the class manually.
39
+
40
+ Attributes:
41
+ allowed_values (dict): The key is the tuple path to the attribute
42
+ and the for var_name this is (var_name,). The value is a dict
43
+ with a capitalized key describing the allowed value and an allowed
44
+ value. These dicts store the allowed enum values.
45
+ attribute_map (dict): The key is attribute name
46
+ and the value is json key in definition.
47
+ discriminator_value_class_map (dict): A dict to go from the discriminator
48
+ variable value to the discriminator class name.
49
+ validations (dict): The key is the tuple path to the attribute
50
+ and the for var_name this is (var_name,). The value is a dict
51
+ that stores validations for max_length, min_length, max_items,
52
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
53
+ inclusive_minimum, and regex.
54
+ additional_properties_type (tuple): A tuple of classes accepted
55
+ as additional properties values.
56
+ """
57
+
58
+ allowed_values = {
59
+ }
60
+
61
+ validations = {
62
+ }
63
+
64
+ @cached_property
65
+ def additional_properties_type():
66
+ """
67
+ This must be a method because a model may have properties that are
68
+ of type self, this must run after the class is loaded
69
+ """
70
+ return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
71
+
72
+ _nullable = False
73
+
74
+ @cached_property
75
+ def openapi_types():
76
+ """
77
+ This must be a method because a model may have properties that are
78
+ of type self, this must run after the class is loaded
79
+
80
+ Returns
81
+ openapi_types (dict): The key is attribute name
82
+ and the value is attribute type.
83
+ """
84
+ return {
85
+ 'id': (str, none_type,), # noqa: E501
86
+ 'returntype': (str, none_type,), # noqa: E501
87
+ 'prefix': (str, none_type,), # noqa: E501
88
+ }
89
+
90
+ @cached_property
91
+ def discriminator():
92
+ return None
93
+
94
+
95
+ attribute_map = {
96
+ 'id': 'id', # noqa: E501
97
+ 'returntype': 'returntype', # noqa: E501
98
+ 'prefix': 'prefix', # noqa: E501
99
+ }
100
+
101
+ read_only_vars = {
102
+ }
103
+
104
+ _composed_schemas = {}
105
+
106
+ @classmethod
107
+ @convert_js_args_to_python_args
108
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
109
+ """SPARComponentIdentifier - a model defined in OpenAPI
110
+
111
+ Keyword Args:
112
+ _check_type (bool): if True, values for parameters in openapi_types
113
+ will be type checked and a TypeError will be
114
+ raised if the wrong type is input.
115
+ Defaults to True
116
+ _path_to_item (tuple/list): This is a list of keys or values to
117
+ drill down to the model in received_data
118
+ when deserializing a response
119
+ _spec_property_naming (bool): True if the variable names in the input data
120
+ are serialized names, as specified in the OpenAPI document.
121
+ False if the variable names in the input data
122
+ are pythonic names, e.g. snake case (default)
123
+ _configuration (Configuration): the instance to use when
124
+ deserializing a file_type parameter.
125
+ If passed, type conversion is attempted
126
+ If omitted no type conversion is done.
127
+ _visited_composed_classes (tuple): This stores a tuple of
128
+ classes that we have traveled through so that
129
+ if we see that class again we will not use its
130
+ discriminator again.
131
+ When traveling through a discriminator, the
132
+ composed schema that is
133
+ is traveled through is added to this set.
134
+ For example if Animal has a discriminator
135
+ petType and we pass in "Dog", and the class Dog
136
+ allOf includes Animal, we move through Animal
137
+ once using the discriminator, and pick Dog.
138
+ Then in Dog, we will make an instance of the
139
+ Animal class but this time we won't travel
140
+ through its discriminator because we passed in
141
+ _visited_composed_classes = (Animal,)
142
+ id (str, none_type): User's FactSet account OR benchmark id.. [optional] # noqa: E501
143
+ returntype (str, none_type): Account or benchmark return type.. [optional] # noqa: E501
144
+ prefix (str, none_type): Account or benchmark prefix.. [optional] # noqa: E501
145
+ """
146
+
147
+ _check_type = kwargs.pop('_check_type', True)
148
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
149
+ _path_to_item = kwargs.pop('_path_to_item', ())
150
+ _configuration = kwargs.pop('_configuration', None)
151
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
152
+
153
+ self = super(OpenApiModel, cls).__new__(cls)
154
+
155
+ if args:
156
+ raise ApiTypeError(
157
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
158
+ args,
159
+ self.__class__.__name__,
160
+ ),
161
+ path_to_item=_path_to_item,
162
+ valid_classes=(self.__class__,),
163
+ )
164
+
165
+ self._data_store = {}
166
+ self._check_type = _check_type
167
+ self._spec_property_naming = _spec_property_naming
168
+ self._path_to_item = _path_to_item
169
+ self._configuration = _configuration
170
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
171
+
172
+ for var_name, var_value in kwargs.items():
173
+ if var_name not in self.attribute_map and \
174
+ self._configuration is not None and \
175
+ self._configuration.discard_unknown_keys and \
176
+ self.additional_properties_type is None:
177
+ # discard variable.
178
+ continue
179
+ setattr(self, var_name, var_value)
180
+ return self
181
+
182
+ required_properties = set([
183
+ '_data_store',
184
+ '_check_type',
185
+ '_spec_property_naming',
186
+ '_path_to_item',
187
+ '_configuration',
188
+ '_visited_composed_classes',
189
+ ])
190
+
191
+ @convert_js_args_to_python_args
192
+ def __init__(self, *args, **kwargs): # noqa: E501
193
+ """SPARComponentIdentifier - a model defined in OpenAPI
194
+
195
+ Keyword Args:
196
+ _check_type (bool): if True, values for parameters in openapi_types
197
+ will be type checked and a TypeError will be
198
+ raised if the wrong type is input.
199
+ Defaults to True
200
+ _path_to_item (tuple/list): This is a list of keys or values to
201
+ drill down to the model in received_data
202
+ when deserializing a response
203
+ _spec_property_naming (bool): True if the variable names in the input data
204
+ are serialized names, as specified in the OpenAPI document.
205
+ False if the variable names in the input data
206
+ are pythonic names, e.g. snake case (default)
207
+ _configuration (Configuration): the instance to use when
208
+ deserializing a file_type parameter.
209
+ If passed, type conversion is attempted
210
+ If omitted no type conversion is done.
211
+ _visited_composed_classes (tuple): This stores a tuple of
212
+ classes that we have traveled through so that
213
+ if we see that class again we will not use its
214
+ discriminator again.
215
+ When traveling through a discriminator, the
216
+ composed schema that is
217
+ is traveled through is added to this set.
218
+ For example if Animal has a discriminator
219
+ petType and we pass in "Dog", and the class Dog
220
+ allOf includes Animal, we move through Animal
221
+ once using the discriminator, and pick Dog.
222
+ Then in Dog, we will make an instance of the
223
+ Animal class but this time we won't travel
224
+ through its discriminator because we passed in
225
+ _visited_composed_classes = (Animal,)
226
+ id (str, none_type): User's FactSet account OR benchmark id.. [optional] # noqa: E501
227
+ returntype (str, none_type): Account or benchmark return type.. [optional] # noqa: E501
228
+ prefix (str, none_type): Account or benchmark prefix.. [optional] # noqa: E501
229
+ """
230
+
231
+ _check_type = kwargs.pop('_check_type', True)
232
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
233
+ _path_to_item = kwargs.pop('_path_to_item', ())
234
+ _configuration = kwargs.pop('_configuration', None)
235
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
236
+
237
+ if args:
238
+ raise ApiTypeError(
239
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
240
+ args,
241
+ self.__class__.__name__,
242
+ ),
243
+ path_to_item=_path_to_item,
244
+ valid_classes=(self.__class__,),
245
+ )
246
+
247
+ self._data_store = {}
248
+ self._check_type = _check_type
249
+ self._spec_property_naming = _spec_property_naming
250
+ self._path_to_item = _path_to_item
251
+ self._configuration = _configuration
252
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
253
+
254
+ for var_name, var_value in kwargs.items():
255
+ if var_name not in self.attribute_map and \
256
+ self._configuration is not None and \
257
+ self._configuration.discard_unknown_keys and \
258
+ self.additional_properties_type is None:
259
+ # discard variable.
260
+ continue
261
+ setattr(self, var_name, var_value)
262
+ if var_name in self.read_only_vars:
263
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
264
+ f"class with read only attributes.")
@@ -41,6 +41,7 @@ from fds.sdk.SPAREngine.model.spar_benchmark_root import SPARBenchmarkRoot
41
41
  from fds.sdk.SPAREngine.model.spar_calculation_parameters import SPARCalculationParameters
42
42
  from fds.sdk.SPAREngine.model.spar_calculation_parameters_root import SPARCalculationParametersRoot
43
43
  from fds.sdk.SPAREngine.model.spar_component import SPARComponent
44
+ from fds.sdk.SPAREngine.model.spar_component_identifier import SPARComponentIdentifier
44
45
  from fds.sdk.SPAREngine.model.spar_component_root import SPARComponentRoot
45
46
  from fds.sdk.SPAREngine.model.spar_date_parameters import SPARDateParameters
46
47
  from fds.sdk.SPAREngine.model.spar_identifier import SPARIdentifier
@@ -1,22 +1,34 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: fds.sdk.SPAREngine
3
- Version: 2.0.2
3
+ Version: 2.1.0
4
4
  Summary: Style Performance and Risk Analysis (SPAR) Engine client library for Python
5
5
  Home-page: https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3
6
6
  Author: FactSet Research Systems
7
7
  License: Apache License, Version 2.0
8
8
  Keywords: FactSet,API,SDK
9
- Platform: UNKNOWN
10
9
  Requires-Python: >=3.7
11
10
  Description-Content-Type: text/markdown
12
11
  License-File: LICENSE
12
+ Requires-Dist: urllib3>=1.25.3
13
+ Requires-Dist: python-dateutil
14
+ Requires-Dist: fds.sdk.utils>=1.0.0
15
+ Dynamic: author
16
+ Dynamic: description
17
+ Dynamic: description-content-type
18
+ Dynamic: home-page
19
+ Dynamic: keywords
20
+ Dynamic: license
21
+ Dynamic: license-file
22
+ Dynamic: requires-dist
23
+ Dynamic: requires-python
24
+ Dynamic: summary
13
25
 
14
26
  [![FactSet](https://raw.githubusercontent.com/factset/enterprise-sdk/main/docs/images/factset-logo.svg)](https://www.factset.com)
15
27
 
16
28
  # Style Performance and Risk Analysis (SPAR) Engine client library for Python
17
29
 
18
30
  [![API Version](https://img.shields.io/badge/api-v3.14.0-blue)](https://developer.factset.com/api-catalog/spar-engine-api)
19
- [![PyPi](https://img.shields.io/pypi/v/fds.sdk.SPAREngine)](https://pypi.org/project/fds.sdk.SPAREngine/)
31
+ [![PyPi](https://img.shields.io/pypi/v/fds.sdk.SPAREngine/2.1.0)](https://pypi.org/project/fds.sdk.SPAREngine/v/2.1.0)
20
32
  [![Apache-2 license](https://img.shields.io/badge/license-Apache2-brightgreen.svg)](https://www.apache.org/licenses/LICENSE-2.0)
21
33
 
22
34
  Allow clients to fetch Analytics through APIs.
@@ -24,7 +36,7 @@ Allow clients to fetch Analytics through APIs.
24
36
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
25
37
 
26
38
  - API version: 3.14.0
27
- - SDK version: 2.0.2
39
+ - SDK version: 2.1.0
28
40
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
29
41
 
30
42
  For more information, please visit [https://developer.factset.com/contact](https://developer.factset.com/contact)
@@ -38,13 +50,13 @@ For more information, please visit [https://developer.factset.com/contact](https
38
50
  ### Poetry
39
51
 
40
52
  ```shell
41
- poetry add fds.sdk.utils fds.protobuf.stach.extensions fds.sdk.SPAREngine==2.0.2
53
+ poetry add fds.sdk.utils fds.protobuf.stach.extensions fds.sdk.SPAREngine==2.1.0
42
54
  ```
43
55
 
44
56
  ### pip
45
57
 
46
58
  ```shell
47
- pip install fds.sdk.utils fds.protobuf.stach.extensions fds.sdk.SPAREngine==2.0.2
59
+ pip install fds.sdk.utils fds.protobuf.stach.extensions fds.sdk.SPAREngine==2.1.0
48
60
  ```
49
61
 
50
62
  ## Usage
@@ -300,6 +312,7 @@ Class | Method | HTTP request | Description
300
312
  - [SPARCalculationParameters](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARCalculationParameters.md)
301
313
  - [SPARCalculationParametersRoot](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARCalculationParametersRoot.md)
302
314
  - [SPARComponent](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARComponent.md)
315
+ - [SPARComponentIdentifier](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARComponentIdentifier.md)
303
316
  - [SPARComponentRoot](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARComponentRoot.md)
304
317
  - [SPARDateParameters](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARDateParameters.md)
305
318
  - [SPARIdentifier](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/SPAREngine/v3/docs/SPARIdentifier.md)
@@ -346,7 +359,7 @@ Please refer to the [contributing guide](../../../../CONTRIBUTING.md).
346
359
 
347
360
  ## Copyright
348
361
 
349
- Copyright 2022 FactSet Research Systems Inc
362
+ Copyright 2025 FactSet Research Systems Inc
350
363
 
351
364
  Licensed under the Apache License, Version 2.0 (the "License");
352
365
  you may not use this file except in compliance with the License.
@@ -360,5 +373,3 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
360
373
  See the License for the specific language governing permissions and
361
374
  limitations under the License.
362
375
 
363
-
364
-
@@ -57,6 +57,7 @@ fds/sdk/SPAREngine/model/spar_benchmark_root.py
57
57
  fds/sdk/SPAREngine/model/spar_calculation_parameters.py
58
58
  fds/sdk/SPAREngine/model/spar_calculation_parameters_root.py
59
59
  fds/sdk/SPAREngine/model/spar_component.py
60
+ fds/sdk/SPAREngine/model/spar_component_identifier.py
60
61
  fds/sdk/SPAREngine/model/spar_component_root.py
61
62
  fds/sdk/SPAREngine/model/spar_date_parameters.py
62
63
  fds/sdk/SPAREngine/model/spar_identifier.py
@@ -16,7 +16,7 @@ def read(filename):
16
16
  return open(os.path.join(os.path.dirname(__file__), filename)).read()
17
17
 
18
18
  NAME = "fds.sdk.SPAREngine"
19
- VERSION = "2.0.2"
19
+ VERSION = "2.1.0"
20
20
  # To install the library, run the following
21
21
  #
22
22
  # python setup.py install