lusid-sdk 2.1.699__py3-none-any.whl → 2.1.701__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.
- lusid/__init__.py +0 -2
- lusid/api/amortisation_rule_sets_api.py +2 -2
- lusid/api/tax_rule_sets_api.py +2 -2
- lusid/api/transaction_fees_api.py +4 -4
- lusid/configuration.py +1 -1
- lusid/models/__init__.py +0 -2
- lusid/models/curve_options.py +2 -2
- lusid/models/file_response.py +9 -8
- lusid/models/fx_forward_curve_by_quote_reference.py +1 -1
- {lusid_sdk-2.1.699.dist-info → lusid_sdk-2.1.701.dist-info}/METADATA +1 -2
- {lusid_sdk-2.1.699.dist-info → lusid_sdk-2.1.701.dist-info}/RECORD +12 -13
- lusid/models/stream.py +0 -96
- {lusid_sdk-2.1.699.dist-info → lusid_sdk-2.1.701.dist-info}/WHEEL +0 -0
lusid/__init__.py
CHANGED
@@ -1086,7 +1086,6 @@ from lusid.models.step_schedule import StepSchedule
|
|
1086
1086
|
from lusid.models.stock_dividend_event import StockDividendEvent
|
1087
1087
|
from lusid.models.stock_split_event import StockSplitEvent
|
1088
1088
|
from lusid.models.strategy import Strategy
|
1089
|
-
from lusid.models.stream import Stream
|
1090
1089
|
from lusid.models.string_comparison_type import StringComparisonType
|
1091
1090
|
from lusid.models.string_compliance_parameter import StringComplianceParameter
|
1092
1091
|
from lusid.models.string_list import StringList
|
@@ -2356,7 +2355,6 @@ __all__ = [
|
|
2356
2355
|
"StockDividendEvent",
|
2357
2356
|
"StockSplitEvent",
|
2358
2357
|
"Strategy",
|
2359
|
-
"Stream",
|
2360
2358
|
"StringComparisonType",
|
2361
2359
|
"StringComplianceParameter",
|
2362
2360
|
"StringList",
|
@@ -232,7 +232,7 @@ class AmortisationRuleSetsApi:
|
|
232
232
|
def delete_amortisation_ruleset(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The rule set scope.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The rule set code.")], async_req: Optional[bool]=None, **kwargs) -> Union[DeletedEntityResponse, Awaitable[DeletedEntityResponse]]: # noqa: E501
|
233
233
|
"""[EXPERIMENTAL] DeleteAmortisationRuleset: Delete an amortisation rule set. # noqa: E501
|
234
234
|
|
235
|
-
|
235
|
+
Deletes the rule set perpetually, including its rules. The rule set will remain viewable at previous as at times, but it will no longer be considered applicable. This cannot be undone. # noqa: E501
|
236
236
|
This method makes a synchronous HTTP request by default. To make an
|
237
237
|
asynchronous HTTP request, please pass async_req=True
|
238
238
|
|
@@ -265,7 +265,7 @@ class AmortisationRuleSetsApi:
|
|
265
265
|
def delete_amortisation_ruleset_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The rule set scope.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The rule set code.")], **kwargs) -> ApiResponse: # noqa: E501
|
266
266
|
"""[EXPERIMENTAL] DeleteAmortisationRuleset: Delete an amortisation rule set. # noqa: E501
|
267
267
|
|
268
|
-
|
268
|
+
Deletes the rule set perpetually, including its rules. The rule set will remain viewable at previous as at times, but it will no longer be considered applicable. This cannot be undone. # noqa: E501
|
269
269
|
This method makes a synchronous HTTP request by default. To make an
|
270
270
|
asynchronous HTTP request, please pass async_req=True
|
271
271
|
|
lusid/api/tax_rule_sets_api.py
CHANGED
@@ -231,7 +231,7 @@ class TaxRuleSetsApi:
|
|
231
231
|
def delete_tax_rule_set(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The rule set scope.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The rule set code.")], async_req: Optional[bool]=None, **kwargs) -> Union[DeletedEntityResponse, Awaitable[DeletedEntityResponse]]: # noqa: E501
|
232
232
|
"""[EXPERIMENTAL] DeleteTaxRuleSet: Delete a tax rule set. # noqa: E501
|
233
233
|
|
234
|
-
|
234
|
+
Deletes the rule set for all effective time. The rule set will remain viewable at previous as at times, but it will no longer be considered applicable. This cannot be undone. # noqa: E501
|
235
235
|
This method makes a synchronous HTTP request by default. To make an
|
236
236
|
asynchronous HTTP request, please pass async_req=True
|
237
237
|
|
@@ -264,7 +264,7 @@ class TaxRuleSetsApi:
|
|
264
264
|
def delete_tax_rule_set_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The rule set scope.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The rule set code.")], **kwargs) -> ApiResponse: # noqa: E501
|
265
265
|
"""[EXPERIMENTAL] DeleteTaxRuleSet: Delete a tax rule set. # noqa: E501
|
266
266
|
|
267
|
-
|
267
|
+
Deletes the rule set for all effective time. The rule set will remain viewable at previous as at times, but it will no longer be considered applicable. This cannot be undone. # noqa: E501
|
268
268
|
This method makes a synchronous HTTP request by default. To make an
|
269
269
|
asynchronous HTTP request, please pass async_req=True
|
270
270
|
|
@@ -65,7 +65,7 @@ class TransactionFeesApi:
|
|
65
65
|
def delete_transaction_fee_rule(self, code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The fee rule code.")], async_req: Optional[bool]=None, **kwargs) -> Union[DeletedEntityResponse, Awaitable[DeletedEntityResponse]]: # noqa: E501
|
66
66
|
"""[EXPERIMENTAL] DeleteTransactionFeeRule: Deletes a fee rule. # noqa: E501
|
67
67
|
|
68
|
-
|
68
|
+
Deletes the rule for all effective time. The rule will remain viewable at previous as at times, but it will no longer be considered by GetApplicableFees. This cannot be undone. # noqa: E501
|
69
69
|
This method makes a synchronous HTTP request by default. To make an
|
70
70
|
asynchronous HTTP request, please pass async_req=True
|
71
71
|
|
@@ -96,7 +96,7 @@ class TransactionFeesApi:
|
|
96
96
|
def delete_transaction_fee_rule_with_http_info(self, code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The fee rule code.")], **kwargs) -> ApiResponse: # noqa: E501
|
97
97
|
"""[EXPERIMENTAL] DeleteTransactionFeeRule: Deletes a fee rule. # noqa: E501
|
98
98
|
|
99
|
-
|
99
|
+
Deletes the rule for all effective time. The rule will remain viewable at previous as at times, but it will no longer be considered by GetApplicableFees. This cannot be undone. # noqa: E501
|
100
100
|
This method makes a synchronous HTTP request by default. To make an
|
101
101
|
asynchronous HTTP request, please pass async_req=True
|
102
102
|
|
@@ -781,7 +781,7 @@ class TransactionFeesApi:
|
|
781
781
|
def upsert_transaction_fee_rules(self, request_body : Annotated[Dict[str, FeeRuleUpsertRequest], Field(..., description="A dictionary of upsert request identifiers to rule upsert requests. The request identifiers are valid for the request only and can be used to link the upserted fee rule to the code of a created fee rule.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which the rule will take effect. Defaults to the current LUSID system datetime if not specified. In the case of an update, the changes will take place from this effective time until the next effective time that the rule as been upserted at. For example, consider a rule that already exists, and has previously had an update applied so that the definition will change on the first day of the coming month. An upsert effective from the current day will only change the definition until the first day of the coming month. An additional upsert at the same time (first day of the month) is required if the newly-updated definition is to supersede the future definition.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[FeeRuleUpsertResponse, Awaitable[FeeRuleUpsertResponse]]: # noqa: E501
|
782
782
|
"""[EXPERIMENTAL] UpsertTransactionFeeRules: Upsert fee rules. # noqa: E501
|
783
783
|
|
784
|
-
|
784
|
+
To upsert a new rule, the code field must be left empty, a code will then be assigned and returned as part of the response. To update an existing rule, include the fee code. It is possible to both create and update fee rules in the same request. The upsert is transactional - either all create/update operations will succeed or none of them will. # noqa: E501
|
785
785
|
This method makes a synchronous HTTP request by default. To make an
|
786
786
|
asynchronous HTTP request, please pass async_req=True
|
787
787
|
|
@@ -814,7 +814,7 @@ class TransactionFeesApi:
|
|
814
814
|
def upsert_transaction_fee_rules_with_http_info(self, request_body : Annotated[Dict[str, FeeRuleUpsertRequest], Field(..., description="A dictionary of upsert request identifiers to rule upsert requests. The request identifiers are valid for the request only and can be used to link the upserted fee rule to the code of a created fee rule.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which the rule will take effect. Defaults to the current LUSID system datetime if not specified. In the case of an update, the changes will take place from this effective time until the next effective time that the rule as been upserted at. For example, consider a rule that already exists, and has previously had an update applied so that the definition will change on the first day of the coming month. An upsert effective from the current day will only change the definition until the first day of the coming month. An additional upsert at the same time (first day of the month) is required if the newly-updated definition is to supersede the future definition.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
815
815
|
"""[EXPERIMENTAL] UpsertTransactionFeeRules: Upsert fee rules. # noqa: E501
|
816
816
|
|
817
|
-
|
817
|
+
To upsert a new rule, the code field must be left empty, a code will then be assigned and returned as part of the response. To update an existing rule, include the fee code. It is possible to both create and update fee rules in the same request. The upsert is transactional - either all create/update operations will succeed or none of them will. # noqa: E501
|
818
818
|
This method makes a synchronous HTTP request by default. To make an
|
819
819
|
asynchronous HTTP request, please pass async_req=True
|
820
820
|
|
lusid/configuration.py
CHANGED
@@ -445,7 +445,7 @@ class Configuration:
|
|
445
445
|
return "Python SDK Debug Report:\n"\
|
446
446
|
"OS: {env}\n"\
|
447
447
|
"Python Version: {pyversion}\n"\
|
448
|
-
"Version of the API: 0.11.
|
448
|
+
"Version of the API: 0.11.7391\n"\
|
449
449
|
"SDK Package Version: {package_version}".\
|
450
450
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
451
451
|
|
lusid/models/__init__.py
CHANGED
@@ -1001,7 +1001,6 @@ from lusid.models.step_schedule import StepSchedule
|
|
1001
1001
|
from lusid.models.stock_dividend_event import StockDividendEvent
|
1002
1002
|
from lusid.models.stock_split_event import StockSplitEvent
|
1003
1003
|
from lusid.models.strategy import Strategy
|
1004
|
-
from lusid.models.stream import Stream
|
1005
1004
|
from lusid.models.string_comparison_type import StringComparisonType
|
1006
1005
|
from lusid.models.string_compliance_parameter import StringComplianceParameter
|
1007
1006
|
from lusid.models.string_list import StringList
|
@@ -2187,7 +2186,6 @@ __all__ = [
|
|
2187
2186
|
"StockDividendEvent",
|
2188
2187
|
"StockSplitEvent",
|
2189
2188
|
"Strategy",
|
2190
|
-
"Stream",
|
2191
2189
|
"StringComparisonType",
|
2192
2190
|
"StringComplianceParameter",
|
2193
2191
|
"StringList",
|
lusid/models/curve_options.py
CHANGED
@@ -27,8 +27,8 @@ class CurveOptions(MarketDataOptions):
|
|
27
27
|
Options for configuring how ComplexMarketData representing a 'curve' is interpreted. # noqa: E501
|
28
28
|
"""
|
29
29
|
day_count_convention: Optional[constr(strict=True, max_length=50, min_length=0)] = Field(None, alias="dayCountConvention", description="Day count convention of the curve. Defaults to \"Act360\".")
|
30
|
-
front_extrapolation_type: Optional[constr(strict=True, max_length=50, min_length=0)] = Field(None, alias="frontExtrapolationType", description="What type of extrapolation is used to build the curve Imagine that the curve is facing the observer(you), then the \"front\" direction is the closest point on the curve onward.
|
31
|
-
back_extrapolation_type: Optional[constr(strict=True, max_length=50, min_length=0)] = Field(None, alias="backExtrapolationType", description="What type of extrapolation is used to build the curve.
|
30
|
+
front_extrapolation_type: Optional[constr(strict=True, max_length=50, min_length=0)] = Field(None, alias="frontExtrapolationType", description="What type of extrapolation is used to build the curve Imagine that the curve is facing the observer(you), then the \"front\" direction is the closest point on the curve onward. example: 0D tenor to past Defaults to \"Flat\". Supported string (enumeration) values are: [None, Flat, Linear].")
|
31
|
+
back_extrapolation_type: Optional[constr(strict=True, max_length=50, min_length=0)] = Field(None, alias="backExtrapolationType", description="What type of extrapolation is used to build the curve. Imagine that the curve is facing the observer(you), then the \"back\" direction is the furthest point on the curve onward. example: 30Y tenor to infinity Defaults to \"Flat\". Supported string (enumeration) values are: [None, Flat, Linear].")
|
32
32
|
market_data_options_type: StrictStr = Field(..., alias="marketDataOptionsType", description="The available values are: CurveOptions")
|
33
33
|
additional_properties: Dict[str, Any] = {}
|
34
34
|
__properties = ["marketDataOptionsType", "dayCountConvention", "frontExtrapolationType", "backExtrapolationType"]
|
lusid/models/file_response.py
CHANGED
@@ -18,15 +18,14 @@ import re # noqa: F401
|
|
18
18
|
import json
|
19
19
|
|
20
20
|
|
21
|
-
from typing import Any, Dict, Optional
|
22
|
-
from pydantic.v1 import BaseModel, Field, StrictStr
|
23
|
-
from lusid.models.stream import Stream
|
21
|
+
from typing import Any, Dict, Optional, Union
|
22
|
+
from pydantic.v1 import BaseModel, Field, StrictBytes, StrictStr
|
24
23
|
|
25
24
|
class FileResponse(BaseModel):
|
26
25
|
"""
|
27
26
|
Allows a file (represented as a stream) to be returned from an Api call # noqa: E501
|
28
27
|
"""
|
29
|
-
file_stream: Optional[
|
28
|
+
file_stream: Optional[Union[StrictBytes, StrictStr]] = Field(None, alias="fileStream")
|
30
29
|
content_type: Optional[StrictStr] = Field(None, alias="contentType")
|
31
30
|
downloaded_filename: Optional[StrictStr] = Field(None, alias="downloadedFilename")
|
32
31
|
__properties = ["fileStream", "contentType", "downloadedFilename"]
|
@@ -63,9 +62,11 @@ class FileResponse(BaseModel):
|
|
63
62
|
exclude={
|
64
63
|
},
|
65
64
|
exclude_none=True)
|
66
|
-
#
|
67
|
-
|
68
|
-
|
65
|
+
# set to None if file_stream (nullable) is None
|
66
|
+
# and __fields_set__ contains the field
|
67
|
+
if self.file_stream is None and "file_stream" in self.__fields_set__:
|
68
|
+
_dict['fileStream'] = None
|
69
|
+
|
69
70
|
# set to None if content_type (nullable) is None
|
70
71
|
# and __fields_set__ contains the field
|
71
72
|
if self.content_type is None and "content_type" in self.__fields_set__:
|
@@ -88,7 +89,7 @@ class FileResponse(BaseModel):
|
|
88
89
|
return FileResponse.parse_obj(obj)
|
89
90
|
|
90
91
|
_obj = FileResponse.parse_obj({
|
91
|
-
"file_stream":
|
92
|
+
"file_stream": obj.get("fileStream"),
|
92
93
|
"content_type": obj.get("contentType"),
|
93
94
|
"downloaded_filename": obj.get("downloadedFilename")
|
94
95
|
})
|
@@ -31,7 +31,7 @@ class FxForwardCurveByQuoteReference(ComplexMarketData):
|
|
31
31
|
dom_ccy: StrictStr = Field(..., alias="domCcy", description="Domestic currency of the fx forward")
|
32
32
|
fgn_ccy: StrictStr = Field(..., alias="fgnCcy", description="Foreign currency of the fx forward")
|
33
33
|
tenors: conlist(StrictStr) = Field(..., description="Tenors for which the forward rates apply. For more information on tenors, see [knowledge base article KA-02097](https://support.lusid.com/knowledgebase/article/KA-02097)")
|
34
|
-
quote_references: conlist(Dict[str, StrictStr]) = Field(..., alias="quoteReferences", description="For each tenor, a collection of identifiers. These will be looked up in the LUSID Quote Store to resolve the actual rates. Accepts an array of Dictionary<string, string>. The keys of each dictionary must be chosen from the following enumeration: [LusidInstrumentId, Isin, Sedol, Cusip, ClientInternal, Figi, RIC, QuotePermId, REDCode, BBGId, ICECode]. For example:
|
34
|
+
quote_references: conlist(Dict[str, StrictStr]) = Field(..., alias="quoteReferences", description="For each tenor, a collection of identifiers. These will be looked up in the LUSID Quote Store to resolve the actual rates. Accepts an array of Dictionary<string, string>. The keys of each dictionary must be chosen from the following enumeration: [LusidInstrumentId, Isin, Sedol, Cusip, ClientInternal, Figi, RIC, QuotePermId, REDCode, BBGId, ICECode]. For example: \"quoteReferences\": [{\"ClientInternal\": \"SomeIdentifierForFirstTenor\"},{\"ClientInternal\": \"SomeIdentifierForSecondTenor\"}")
|
35
35
|
lineage: Optional[constr(strict=True, max_length=1024, min_length=0)] = Field(None, description="Description of the complex market data's lineage e.g. 'FundAccountant_GreenQuality'.")
|
36
36
|
market_data_options: Optional[MarketDataOptions] = Field(None, alias="marketDataOptions")
|
37
37
|
calendars: Optional[conlist(FxTenorConvention)] = Field(None, description="The list of conventions that should be used when interpreting tenors as dates.")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: lusid-sdk
|
3
|
-
Version: 2.1.
|
3
|
+
Version: 2.1.701
|
4
4
|
Summary: LUSID API
|
5
5
|
Home-page: https://github.com/finbourne/lusid-sdk-python
|
6
6
|
License: MIT
|
@@ -1646,7 +1646,6 @@ Class | Method | HTTP request | Description
|
|
1646
1646
|
- [StockDividendEvent](docs/StockDividendEvent.md)
|
1647
1647
|
- [StockSplitEvent](docs/StockSplitEvent.md)
|
1648
1648
|
- [Strategy](docs/Strategy.md)
|
1649
|
-
- [Stream](docs/Stream.md)
|
1650
1649
|
- [StringComparisonType](docs/StringComparisonType.md)
|
1651
1650
|
- [StringComplianceParameter](docs/StringComplianceParameter.md)
|
1652
1651
|
- [StringList](docs/StringList.md)
|
@@ -1,11 +1,11 @@
|
|
1
|
-
lusid/__init__.py,sha256=
|
1
|
+
lusid/__init__.py,sha256=FWrbueI3l41IUchsiCm0QN0q79nKV7ejrohBf2_9h1c,133795
|
2
2
|
lusid/api/__init__.py,sha256=b9BsX0qfl4jZSlEid6ihux1dyYgNwjtKQZk23veBuc0,6204
|
3
3
|
lusid/api/abor_api.py,sha256=6bAhCnwf45obpEc3fKa6mt4GzpJsZOh4Ir45I55kBmw,171300
|
4
4
|
lusid/api/abor_configuration_api.py,sha256=ug36aCVNswcZuRZXSNl1rq9yDrceobDdbVio8EG3oPQ,76011
|
5
5
|
lusid/api/address_key_definition_api.py,sha256=jlvpmsmvVedaMNr1sRMNj2Kj4qArNtZxXKXD0DvRUwM,31574
|
6
6
|
lusid/api/aggregation_api.py,sha256=Hbupc46i7zS4nLAhiWZMU7gQAowBlP__iSotN2zu_Xo,38361
|
7
7
|
lusid/api/allocations_api.py,sha256=cEmQvvj9PXScFVrs0OMTVQudWox2nnCtkcGt8gxUevA,49676
|
8
|
-
lusid/api/amortisation_rule_sets_api.py,sha256=
|
8
|
+
lusid/api/amortisation_rule_sets_api.py,sha256=d7QmdhJWH2UBaX0S9vtzI5y9acnIT1UYuT88P3ju1g8,63924
|
9
9
|
lusid/api/application_metadata_api.py,sha256=skiafuG8JPJIsW2aRw3D7ac9ziZw_vQAhXxQvXsisic,23158
|
10
10
|
lusid/api/blocks_api.py,sha256=j4Y5TKivIjreHtkd3Pd8WIb4m6soFn6fYX-nxn9OdYg,43417
|
11
11
|
lusid/api/calendars_api.py,sha256=pZMIyoFYILXfZOy9Zw1Ku5RL7HG97ZL7PQ4N090G2CM,146252
|
@@ -65,16 +65,16 @@ lusid/api/staged_modifications_api.py,sha256=mgUy3N0-f7zaOKZmVay00gT4dkRrUVeVS21
|
|
65
65
|
lusid/api/staging_rule_set_api.py,sha256=05N_yh216XvUaXESe2rKWRMKM0aL6Eq4yUD5ie2RRxI,49788
|
66
66
|
lusid/api/structured_result_data_api.py,sha256=wZwDAXwJkXjkKl3Bmpu3Eb1OUeYmFv3YNPzABxPHwTQ,112073
|
67
67
|
lusid/api/system_configuration_api.py,sha256=6udGEWQzI2t3NDgUdp8MR5X0zWRrTJpXxlZrCLn5z_k,61804
|
68
|
-
lusid/api/tax_rule_sets_api.py,sha256=
|
68
|
+
lusid/api/tax_rule_sets_api.py,sha256=D_8HRPZdtcGyA-ejWwdzAKYKc6DOFMqZN7gL6TVLHpw,49848
|
69
69
|
lusid/api/timelines_api.py,sha256=zfQgMnP0Zhmav0jhcvhDaP2SiIyDPP2eTL3BEGhkmDw,83319
|
70
70
|
lusid/api/transaction_configuration_api.py,sha256=5wDGhFV3UYG61OPE45Xv0wsDSnNuKkk7F_o7oZzYqN0,107192
|
71
|
-
lusid/api/transaction_fees_api.py,sha256=
|
71
|
+
lusid/api/transaction_fees_api.py,sha256=e293hHXVdd31lmQbF4UzTd5K2Qg3dQOay5w_VTya1i4,64324
|
72
72
|
lusid/api/transaction_portfolios_api.py,sha256=4M9g21DLQyxGzDN0fzPaegRYsmCBzDDcd-2pUMZO-BQ,619751
|
73
73
|
lusid/api/translation_api.py,sha256=nIyuLncCvVC5k2d7Nm32zR8AQ1dkrVm1OThkmELY_OM,20072
|
74
74
|
lusid/api/workspace_api.py,sha256=Yox1q7TDY-_O3HF-N8g5kGuNgp4unWvlSZmRZ6MNZO0,196701
|
75
75
|
lusid/api_client.py,sha256=ewMTmf9SRurY8pYnUx9jy24RdldPCOa4US38pnrVxjA,31140
|
76
76
|
lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
|
77
|
-
lusid/configuration.py,sha256=
|
77
|
+
lusid/configuration.py,sha256=durTK6RnHyVcuYtNLJeXDduZOp3k07rxI5gwS2NgtLs,17972
|
78
78
|
lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
|
79
79
|
lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
|
80
80
|
lusid/extensions/api_client.py,sha256=GzygWg_h603QK1QS2HvAijuE2R1TnvoF6-Yg0CeM3ug,30943
|
@@ -89,7 +89,7 @@ lusid/extensions/rest.py,sha256=dp-bD_LMR2zAL1tmC3-urhWKLomXx7r5iGN1VteMBVQ,1601
|
|
89
89
|
lusid/extensions/retry.py,sha256=EhW9OKJmGHipxN3H7eROH5DiMlAnfBVl95NQrttcsdg,14834
|
90
90
|
lusid/extensions/socket_keep_alive.py,sha256=NGlqsv-E25IjJOLGZhXZY6kUdx51nEF8qCQyVdzayRk,1653
|
91
91
|
lusid/extensions/tcp_keep_alive_connector.py,sha256=zaGtUsygRsxB1_4B3x39K3ILwztdhMLDv5bFZV7zmGE,3877
|
92
|
-
lusid/models/__init__.py,sha256=
|
92
|
+
lusid/models/__init__.py,sha256=cGJAcMK9xyNX6kEi8z9wymDm9yLFxrudXfJEDM1LvwU,126559
|
93
93
|
lusid/models/a2_b_breakdown.py,sha256=ReKFxiFaYdyMSV7Iv4sR4NxQsePvnVrb5po3UHP8f20,3160
|
94
94
|
lusid/models/a2_b_category.py,sha256=cMKeavBQuk78aBXKcFVxpKjh3Td_IYklpSyxxz_DgHk,2938
|
95
95
|
lusid/models/a2_b_data_record.py,sha256=fkR0nJazNrD3S0PaKEbPiza2EQ8j11p0EGa3dqeOsVs,9950
|
@@ -343,7 +343,7 @@ lusid/models/credit_spread_curve_data.py,sha256=xV2gC9brvuaXa_zfImwRC0SFDCJkCcsL
|
|
343
343
|
lusid/models/credit_support_annex.py,sha256=X1AoiogKbnDxF1x695K-tEOf9aVYWcR_RmEasTc0TgU,5633
|
344
344
|
lusid/models/criterion_type.py,sha256=Bd9KQZuS8O0ie_vYJZAvfnKMggoJOiCdcMFpik-m-q8,772
|
345
345
|
lusid/models/currency_and_amount.py,sha256=b-ehr1dWEFKCOOEM7tlnjYy_VSgSxGfy-cUiZHky30E,2282
|
346
|
-
lusid/models/curve_options.py,sha256=
|
346
|
+
lusid/models/curve_options.py,sha256=Z60UUZIkuba6OSGiCJzs5tRR4iBI8XYeh_rp-P2aoyg,5329
|
347
347
|
lusid/models/custodian_account.py,sha256=dZVYZ7IqAIXer3gJNc-PoUxslz_P6L4cmjv76ncE5b4,5233
|
348
348
|
lusid/models/custodian_account_properties.py,sha256=BOxAsiufzcn9rtm-aLqh82UnDeKVPDmXqTBu7Pp_pgc,4576
|
349
349
|
lusid/models/custodian_account_request.py,sha256=kwYXF0bn4nJ-36ARCAsAxt9R8iOp-K2Y17i7nolk7Tk,6904
|
@@ -454,7 +454,7 @@ lusid/models/fee_type_request.py,sha256=uBg7jIkgPEHUb-wxxh2j1avYSvyRpFD7SOMTBJZA
|
|
454
454
|
lusid/models/field_definition.py,sha256=qHqH6HRIdIHR1Kv2sa45IqIraISpsg6oJ4hVdzOrSYs,2964
|
455
455
|
lusid/models/field_schema.py,sha256=9pjdKq6FXoFdnGkuTbUNZcV4T5UtcqFsJFu22vYy44c,4245
|
456
456
|
lusid/models/field_value.py,sha256=6iSfkIz0tbfYsDZi33fMMImhpZMzPvFIk4uNrH7rrJg,3086
|
457
|
-
lusid/models/file_response.py,sha256=
|
457
|
+
lusid/models/file_response.py,sha256=aA3hQEX5GRr-ZZmDq0boVuhxrx-vQOp7Jr-WDqlrCrU,3200
|
458
458
|
lusid/models/filter_predicate_compliance_parameter.py,sha256=-ALrozlijjYnlFCI5Pf4Us8fh8tFBgkNYbrUOnX0aVQ,5603
|
459
459
|
lusid/models/filter_step.py,sha256=dg5ph8bLRuLPFzndMIXt_XgyDwnQeTD7DGsDbFqxmZk,4128
|
460
460
|
lusid/models/filter_step_request.py,sha256=KkbmylGkVVsdmlIb28gMOQkD268P77BegB0PbgeuaUA,3944
|
@@ -491,7 +491,7 @@ lusid/models/futures_contract_details.py,sha256=_uQ-OgZn1Yx2LQLcNrLwZQBDK_yIWKbb
|
|
491
491
|
lusid/models/fx_conventions.py,sha256=agLhsnR5fFKxFBXtHEhoAexGbPg8_RH2BXxrA7XcMkE,2825
|
492
492
|
lusid/models/fx_dependency.py,sha256=mdIolo4AEpGAMcJEvG7BCIjEwGzgus5hjuBCmRKo3bQ,5427
|
493
493
|
lusid/models/fx_forward.py,sha256=vpC6ay7NROPb-tf5jILX9HFViLce2h8p34SBBHuofmM,9026
|
494
|
-
lusid/models/fx_forward_curve_by_quote_reference.py,sha256=
|
494
|
+
lusid/models/fx_forward_curve_by_quote_reference.py,sha256=_e7EfofjcGelYUtzW62Nmm7F1OzkVURBPFjuXSaQhYA,8073
|
495
495
|
lusid/models/fx_forward_curve_data.py,sha256=QG2qJE1CD5xaXrGqq0zka5Vowqeonif_gzlXuF8fECg,5971
|
496
496
|
lusid/models/fx_forward_model_options.py,sha256=Agqsg1kG36ywP2xMYTisRvzyvCvVkPA_sMJxbynjGQ4,5077
|
497
497
|
lusid/models/fx_forward_pips_curve_data.py,sha256=G8vkOupUu_VnftH498Yknn7OZrrYG2as8Ny7FZXG-j0,6098
|
@@ -1077,7 +1077,6 @@ lusid/models/step_schedule.py,sha256=1PzBjFFlQfZCYb2GF-2JWc0XuEzpthobc3ey4_GrWjk
|
|
1077
1077
|
lusid/models/stock_dividend_event.py,sha256=_fgG5zW_JrdmAlqoQc1WQHU0Z9fKdHSac_zUI4HGR6w,9828
|
1078
1078
|
lusid/models/stock_split_event.py,sha256=VCY3OpJr0nygYuBxcAE30-BHtkoPd5Wna55UI3HXkzw,9808
|
1079
1079
|
lusid/models/strategy.py,sha256=eJ1VC9rb7aIh5z8DBBATsy3KmjYXDYGTZIZZEJOZBBM,2735
|
1080
|
-
lusid/models/stream.py,sha256=IJ5ePxDPJoRdn2lit81IWkNxff2vZbX1Sen0GODAr14,3078
|
1081
1080
|
lusid/models/string_comparison_type.py,sha256=ibWkPzjTWWPQA3pRUWShsdN7QnWl8RpvsahyOOr9fQs,853
|
1082
1081
|
lusid/models/string_compliance_parameter.py,sha256=QAP3OHY_b2zsuFUzjfbiY38mg5FdO2mFgsA2N0h9WiA,5531
|
1083
1082
|
lusid/models/string_list.py,sha256=yNOK5-s2rP8E3LhsUYNbBchdq5NL1MDPma0t-YYALAU,3498
|
@@ -1275,6 +1274,6 @@ lusid/models/workspace_update_request.py,sha256=5N7j21uF9XV75Sl3oJbsSOKT5PrQEx3y
|
|
1275
1274
|
lusid/models/yield_curve_data.py,sha256=vtOzY4t2lgHJUWcna9dEKnuZ_tinolyb8IAFPB23DZ0,6543
|
1276
1275
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1277
1276
|
lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
|
1278
|
-
lusid_sdk-2.1.
|
1279
|
-
lusid_sdk-2.1.
|
1280
|
-
lusid_sdk-2.1.
|
1277
|
+
lusid_sdk-2.1.701.dist-info/METADATA,sha256=7C1IqO83-WOJ1x_lYBsIyGoO3uidWZvWJT1x2hwjQEc,219380
|
1278
|
+
lusid_sdk-2.1.701.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
1279
|
+
lusid_sdk-2.1.701.dist-info/RECORD,,
|
lusid/models/stream.py
DELETED
@@ -1,96 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
LUSID API
|
5
|
-
|
6
|
-
FINBOURNE Technology # noqa: E501
|
7
|
-
|
8
|
-
Contact: info@finbourne.com
|
9
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
|
-
|
11
|
-
Do not edit the class manually.
|
12
|
-
"""
|
13
|
-
|
14
|
-
|
15
|
-
from __future__ import annotations
|
16
|
-
import pprint
|
17
|
-
import re # noqa: F401
|
18
|
-
import json
|
19
|
-
|
20
|
-
|
21
|
-
from typing import Any, Dict, Optional
|
22
|
-
from pydantic.v1 import BaseModel, Field, StrictBool, StrictInt
|
23
|
-
|
24
|
-
class Stream(BaseModel):
|
25
|
-
"""
|
26
|
-
Stream
|
27
|
-
"""
|
28
|
-
can_read: Optional[StrictBool] = Field(None, alias="canRead")
|
29
|
-
can_write: Optional[StrictBool] = Field(None, alias="canWrite")
|
30
|
-
can_seek: Optional[StrictBool] = Field(None, alias="canSeek")
|
31
|
-
can_timeout: Optional[StrictBool] = Field(None, alias="canTimeout")
|
32
|
-
length: Optional[StrictInt] = None
|
33
|
-
position: Optional[StrictInt] = None
|
34
|
-
read_timeout: Optional[StrictInt] = Field(None, alias="readTimeout")
|
35
|
-
write_timeout: Optional[StrictInt] = Field(None, alias="writeTimeout")
|
36
|
-
__properties = ["canRead", "canWrite", "canSeek", "canTimeout", "length", "position", "readTimeout", "writeTimeout"]
|
37
|
-
|
38
|
-
class Config:
|
39
|
-
"""Pydantic configuration"""
|
40
|
-
allow_population_by_field_name = True
|
41
|
-
validate_assignment = True
|
42
|
-
|
43
|
-
def __str__(self):
|
44
|
-
"""For `print` and `pprint`"""
|
45
|
-
return pprint.pformat(self.dict(by_alias=False))
|
46
|
-
|
47
|
-
def __repr__(self):
|
48
|
-
"""For `print` and `pprint`"""
|
49
|
-
return self.to_str()
|
50
|
-
|
51
|
-
def to_str(self) -> str:
|
52
|
-
"""Returns the string representation of the model using alias"""
|
53
|
-
return pprint.pformat(self.dict(by_alias=True))
|
54
|
-
|
55
|
-
def to_json(self) -> str:
|
56
|
-
"""Returns the JSON representation of the model using alias"""
|
57
|
-
return json.dumps(self.to_dict())
|
58
|
-
|
59
|
-
@classmethod
|
60
|
-
def from_json(cls, json_str: str) -> Stream:
|
61
|
-
"""Create an instance of Stream from a JSON string"""
|
62
|
-
return cls.from_dict(json.loads(json_str))
|
63
|
-
|
64
|
-
def to_dict(self):
|
65
|
-
"""Returns the dictionary representation of the model using alias"""
|
66
|
-
_dict = self.dict(by_alias=True,
|
67
|
-
exclude={
|
68
|
-
"can_read",
|
69
|
-
"can_write",
|
70
|
-
"can_seek",
|
71
|
-
"can_timeout",
|
72
|
-
"length",
|
73
|
-
},
|
74
|
-
exclude_none=True)
|
75
|
-
return _dict
|
76
|
-
|
77
|
-
@classmethod
|
78
|
-
def from_dict(cls, obj: dict) -> Stream:
|
79
|
-
"""Create an instance of Stream from a dict"""
|
80
|
-
if obj is None:
|
81
|
-
return None
|
82
|
-
|
83
|
-
if not isinstance(obj, dict):
|
84
|
-
return Stream.parse_obj(obj)
|
85
|
-
|
86
|
-
_obj = Stream.parse_obj({
|
87
|
-
"can_read": obj.get("canRead"),
|
88
|
-
"can_write": obj.get("canWrite"),
|
89
|
-
"can_seek": obj.get("canSeek"),
|
90
|
-
"can_timeout": obj.get("canTimeout"),
|
91
|
-
"length": obj.get("length"),
|
92
|
-
"position": obj.get("position"),
|
93
|
-
"read_timeout": obj.get("readTimeout"),
|
94
|
-
"write_timeout": obj.get("writeTimeout")
|
95
|
-
})
|
96
|
-
return _obj
|
File without changes
|