lusid-sdk 2.1.26__py3-none-any.whl → 2.1.32__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.

Potentially problematic release.


This version of lusid-sdk might be problematic. Click here for more details.

lusid/__init__.py CHANGED
@@ -110,7 +110,6 @@ from lusid.models.accounting_method import AccountingMethod
110
110
  from lusid.models.accounts_upsert_response import AccountsUpsertResponse
111
111
  from lusid.models.accumulation_event import AccumulationEvent
112
112
  from lusid.models.action_id import ActionId
113
- from lusid.models.action_result_of_portfolio import ActionResultOfPortfolio
114
113
  from lusid.models.add_business_days_to_date_request import AddBusinessDaysToDateRequest
115
114
  from lusid.models.add_business_days_to_date_response import AddBusinessDaysToDateResponse
116
115
  from lusid.models.additional_payment import AdditionalPayment
@@ -1124,7 +1123,6 @@ __all__ = [
1124
1123
  "AccountsUpsertResponse",
1125
1124
  "AccumulationEvent",
1126
1125
  "ActionId",
1127
- "ActionResultOfPortfolio",
1128
1126
  "AddBusinessDaysToDateRequest",
1129
1127
  "AddBusinessDaysToDateResponse",
1130
1128
  "AdditionalPayment",
lusid/api/funds_api.py CHANGED
@@ -1633,7 +1633,7 @@ class FundsApi:
1633
1633
  }
1634
1634
 
1635
1635
  return self.api_client.call_api(
1636
- '/api/funds/{scope}/{code}/shareclasses', 'POST',
1636
+ '/api/funds/{scope}/{code}/shareclasses', 'PUT',
1637
1637
  _path_params,
1638
1638
  _query_params,
1639
1639
  _header_params,
@@ -28,7 +28,6 @@ from typing import Dict, List, Optional
28
28
 
29
29
  from lusid.models.access_metadata_operation import AccessMetadataOperation
30
30
  from lusid.models.access_metadata_value import AccessMetadataValue
31
- from lusid.models.action_result_of_portfolio import ActionResultOfPortfolio
32
31
  from lusid.models.aggregated_returns_dispersion_request import AggregatedReturnsDispersionRequest
33
32
  from lusid.models.aggregated_returns_request import AggregatedReturnsRequest
34
33
  from lusid.models.aggregated_returns_response import AggregatedReturnsResponse
@@ -4030,15 +4029,15 @@ class PortfoliosApi:
4030
4029
  _request_auth=_params.get('_request_auth'))
4031
4030
 
4032
4031
  @overload
4033
- async def patch_portfolio(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the portfolio. Together with the scope this uniquely identifies the portfolio.")], operation : Annotated[conlist(Operation), Field(..., description="The json patch document. For more check: https://datatracker.ietf.org/doc/html/rfc6902.")], **kwargs) -> ActionResultOfPortfolio: # noqa: E501
4032
+ async def patch_portfolio(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the portfolio. Together with the scope this uniquely identifies the portfolio.")], operation : Annotated[conlist(Operation), Field(..., description="The json patch document. For more check: https://datatracker.ietf.org/doc/html/rfc6902.")], **kwargs) -> Portfolio: # noqa: E501
4034
4033
  ...
4035
4034
 
4036
4035
  @overload
4037
- def patch_portfolio(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the portfolio. Together with the scope this uniquely identifies the portfolio.")], operation : Annotated[conlist(Operation), Field(..., description="The json patch document. For more check: https://datatracker.ietf.org/doc/html/rfc6902.")], async_req: Optional[bool]=True, **kwargs) -> ActionResultOfPortfolio: # noqa: E501
4036
+ def patch_portfolio(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the portfolio. Together with the scope this uniquely identifies the portfolio.")], operation : Annotated[conlist(Operation), Field(..., description="The json patch document. For more check: https://datatracker.ietf.org/doc/html/rfc6902.")], async_req: Optional[bool]=True, **kwargs) -> Portfolio: # noqa: E501
4038
4037
  ...
4039
4038
 
4040
4039
  @validate_arguments
4041
- def patch_portfolio(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the portfolio. Together with the scope this uniquely identifies the portfolio.")], operation : Annotated[conlist(Operation), Field(..., description="The json patch document. For more check: https://datatracker.ietf.org/doc/html/rfc6902.")], async_req: Optional[bool]=None, **kwargs) -> Union[ActionResultOfPortfolio, Awaitable[ActionResultOfPortfolio]]: # noqa: E501
4040
+ def patch_portfolio(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the portfolio. Together with the scope this uniquely identifies the portfolio.")], operation : Annotated[conlist(Operation), Field(..., description="The json patch document. For more check: https://datatracker.ietf.org/doc/html/rfc6902.")], async_req: Optional[bool]=None, **kwargs) -> Union[Portfolio, Awaitable[Portfolio]]: # noqa: E501
4042
4041
  """[EARLY ACCESS] PatchPortfolio: Patch portfolio. # noqa: E501
4043
4042
 
4044
4043
  Create or update certain fields for a particular portfolio. The behaviour is defined by the JSON Patch specification. Currently supported are: CreationDate, InstrumentScopes. # noqa: E501
@@ -4063,7 +4062,7 @@ class PortfoliosApi:
4063
4062
  :return: Returns the result object.
4064
4063
  If the method is called asynchronously,
4065
4064
  returns the request thread.
4066
- :rtype: ActionResultOfPortfolio
4065
+ :rtype: Portfolio
4067
4066
  """
4068
4067
  kwargs['_return_http_data_only'] = True
4069
4068
  if '_preload_content' in kwargs:
@@ -4112,7 +4111,7 @@ class PortfoliosApi:
4112
4111
  :return: Returns the result object.
4113
4112
  If the method is called asynchronously,
4114
4113
  returns the request thread.
4115
- :rtype: tuple(ActionResultOfPortfolio, status_code(int), headers(HTTPHeaderDict))
4114
+ :rtype: tuple(Portfolio, status_code(int), headers(HTTPHeaderDict))
4116
4115
  """
4117
4116
 
4118
4117
  _params = locals()
@@ -4182,7 +4181,7 @@ class PortfoliosApi:
4182
4181
  _auth_settings = ['oauth2'] # noqa: E501
4183
4182
 
4184
4183
  _response_types_map = {
4185
- '200': "ActionResultOfPortfolio",
4184
+ '200': "Portfolio",
4186
4185
  '400': "LusidValidationProblemDetails",
4187
4186
  }
4188
4187
 
lusid/configuration.py CHANGED
@@ -373,7 +373,7 @@ class Configuration:
373
373
  return "Python SDK Debug Report:\n"\
374
374
  "OS: {env}\n"\
375
375
  "Python Version: {pyversion}\n"\
376
- "Version of the API: 0.11.6460\n"\
376
+ "Version of the API: 0.11.6466\n"\
377
377
  "SDK Package Version: {package_version}".\
378
378
  format(env=sys.platform, pyversion=sys.version, package_version=package_version)
379
379
 
lusid/models/__init__.py CHANGED
@@ -34,7 +34,6 @@ from lusid.models.accounting_method import AccountingMethod
34
34
  from lusid.models.accounts_upsert_response import AccountsUpsertResponse
35
35
  from lusid.models.accumulation_event import AccumulationEvent
36
36
  from lusid.models.action_id import ActionId
37
- from lusid.models.action_result_of_portfolio import ActionResultOfPortfolio
38
37
  from lusid.models.add_business_days_to_date_request import AddBusinessDaysToDateRequest
39
38
  from lusid.models.add_business_days_to_date_response import AddBusinessDaysToDateResponse
40
39
  from lusid.models.additional_payment import AdditionalPayment
@@ -974,7 +973,6 @@ __all__ = [
974
973
  "AccountsUpsertResponse",
975
974
  "AccumulationEvent",
976
975
  "ActionId",
977
- "ActionResultOfPortfolio",
978
976
  "AddBusinessDaysToDateRequest",
979
977
  "AddBusinessDaysToDateResponse",
980
978
  "AdditionalPayment",
@@ -38,7 +38,8 @@ class CreateDerivedTransactionPortfolioRequest(BaseModel):
38
38
  amortisation_method: Optional[StrictStr] = Field(None, alias="amortisationMethod", description="The amortisation method used by the portfolio for the calculation. The available values are: NoAmortisation, StraightLine, EffectiveYield, StraightLineSettlementDate, EffectiveYieldSettlementDate")
39
39
  transaction_type_scope: Optional[constr(strict=True, max_length=64, min_length=1)] = Field(None, alias="transactionTypeScope", description="The scope of the transaction types.")
40
40
  cash_gain_loss_calculation_date: Optional[StrictStr] = Field(None, alias="cashGainLossCalculationDate", description="The option when the Cash Gain Loss to be calulated, TransactionDate/SettlementDate. Defaults to SettlementDate.")
41
- __properties = ["displayName", "description", "code", "parentPortfolioId", "created", "corporateActionSourceId", "accountingMethod", "subHoldingKeys", "instrumentScopes", "amortisationMethod", "transactionTypeScope", "cashGainLossCalculationDate"]
41
+ amortisation_rule_set_id: Optional[ResourceId] = Field(None, alias="amortisationRuleSetId")
42
+ __properties = ["displayName", "description", "code", "parentPortfolioId", "created", "corporateActionSourceId", "accountingMethod", "subHoldingKeys", "instrumentScopes", "amortisationMethod", "transactionTypeScope", "cashGainLossCalculationDate", "amortisationRuleSetId"]
42
43
 
43
44
  @validator('display_name')
44
45
  def display_name_validate_regular_expression(cls, value):
@@ -114,6 +115,9 @@ class CreateDerivedTransactionPortfolioRequest(BaseModel):
114
115
  # override the default output from pydantic by calling `to_dict()` of corporate_action_source_id
115
116
  if self.corporate_action_source_id:
116
117
  _dict['corporateActionSourceId'] = self.corporate_action_source_id.to_dict()
118
+ # override the default output from pydantic by calling `to_dict()` of amortisation_rule_set_id
119
+ if self.amortisation_rule_set_id:
120
+ _dict['amortisationRuleSetId'] = self.amortisation_rule_set_id.to_dict()
117
121
  # set to None if description (nullable) is None
118
122
  # and __fields_set__ contains the field
119
123
  if self.description is None and "description" in self.__fields_set__:
@@ -172,6 +176,7 @@ class CreateDerivedTransactionPortfolioRequest(BaseModel):
172
176
  "instrument_scopes": obj.get("instrumentScopes"),
173
177
  "amortisation_method": obj.get("amortisationMethod"),
174
178
  "transaction_type_scope": obj.get("transactionTypeScope"),
175
- "cash_gain_loss_calculation_date": obj.get("cashGainLossCalculationDate")
179
+ "cash_gain_loss_calculation_date": obj.get("cashGainLossCalculationDate"),
180
+ "amortisation_rule_set_id": ResourceId.from_dict(obj.get("amortisationRuleSetId")) if obj.get("amortisationRuleSetId") is not None else None
176
181
  })
177
182
  return _obj
@@ -42,7 +42,8 @@ class CreateTransactionPortfolioRequest(BaseModel):
42
42
  transaction_type_scope: Optional[constr(strict=True, max_length=64, min_length=1)] = Field(None, alias="transactionTypeScope", description="The scope of the transaction types.")
43
43
  cash_gain_loss_calculation_date: Optional[StrictStr] = Field(None, alias="cashGainLossCalculationDate", description="The option when the Cash Gain Loss to be calulated, TransactionDate/SettlementDate. Defaults to SettlementDate.")
44
44
  instrument_event_configuration: Optional[InstrumentEventConfiguration] = Field(None, alias="instrumentEventConfiguration")
45
- __properties = ["displayName", "description", "code", "created", "baseCurrency", "corporateActionSourceId", "accountingMethod", "subHoldingKeys", "properties", "instrumentScopes", "amortisationMethod", "transactionTypeScope", "cashGainLossCalculationDate", "instrumentEventConfiguration"]
45
+ amortisation_rule_set_id: Optional[ResourceId] = Field(None, alias="amortisationRuleSetId")
46
+ __properties = ["displayName", "description", "code", "created", "baseCurrency", "corporateActionSourceId", "accountingMethod", "subHoldingKeys", "properties", "instrumentScopes", "amortisationMethod", "transactionTypeScope", "cashGainLossCalculationDate", "instrumentEventConfiguration", "amortisationRuleSetId"]
46
47
 
47
48
  @validator('accounting_method')
48
49
  def accounting_method_validate_enum(cls, value):
@@ -101,6 +102,9 @@ class CreateTransactionPortfolioRequest(BaseModel):
101
102
  # override the default output from pydantic by calling `to_dict()` of instrument_event_configuration
102
103
  if self.instrument_event_configuration:
103
104
  _dict['instrumentEventConfiguration'] = self.instrument_event_configuration.to_dict()
105
+ # override the default output from pydantic by calling `to_dict()` of amortisation_rule_set_id
106
+ if self.amortisation_rule_set_id:
107
+ _dict['amortisationRuleSetId'] = self.amortisation_rule_set_id.to_dict()
104
108
  # set to None if description (nullable) is None
105
109
  # and __fields_set__ contains the field
106
110
  if self.description is None and "description" in self.__fields_set__:
@@ -171,6 +175,7 @@ class CreateTransactionPortfolioRequest(BaseModel):
171
175
  "amortisation_method": obj.get("amortisationMethod"),
172
176
  "transaction_type_scope": obj.get("transactionTypeScope"),
173
177
  "cash_gain_loss_calculation_date": obj.get("cashGainLossCalculationDate"),
174
- "instrument_event_configuration": InstrumentEventConfiguration.from_dict(obj.get("instrumentEventConfiguration")) if obj.get("instrumentEventConfiguration") is not None else None
178
+ "instrument_event_configuration": InstrumentEventConfiguration.from_dict(obj.get("instrumentEventConfiguration")) if obj.get("instrumentEventConfiguration") is not None else None,
179
+ "amortisation_rule_set_id": ResourceId.from_dict(obj.get("amortisationRuleSetId")) if obj.get("amortisationRuleSetId") is not None else None
175
180
  })
176
181
  return _obj
lusid/models/portfolio.py CHANGED
@@ -49,8 +49,9 @@ class Portfolio(BaseModel):
49
49
  transaction_type_scope: Optional[StrictStr] = Field(None, alias="transactionTypeScope", description="The scope of the transaction types.")
50
50
  cash_gain_loss_calculation_date: Optional[StrictStr] = Field(None, alias="cashGainLossCalculationDate", description="The scope of the transaction types.")
51
51
  instrument_event_configuration: Optional[InstrumentEventConfiguration] = Field(None, alias="instrumentEventConfiguration")
52
+ amortisation_rule_set_id: Optional[ResourceId] = Field(None, alias="amortisationRuleSetId")
52
53
  links: Optional[conlist(Link)] = None
53
- __properties = ["href", "id", "type", "displayName", "description", "created", "parentPortfolioId", "version", "isDerived", "baseCurrency", "properties", "relationships", "instrumentScopes", "accountingMethod", "amortisationMethod", "transactionTypeScope", "cashGainLossCalculationDate", "instrumentEventConfiguration", "links"]
54
+ __properties = ["href", "id", "type", "displayName", "description", "created", "parentPortfolioId", "version", "isDerived", "baseCurrency", "properties", "relationships", "instrumentScopes", "accountingMethod", "amortisationMethod", "transactionTypeScope", "cashGainLossCalculationDate", "instrumentEventConfiguration", "amortisationRuleSetId", "links"]
54
55
 
55
56
  @validator('type')
56
57
  def type_validate_enum(cls, value):
@@ -119,6 +120,9 @@ class Portfolio(BaseModel):
119
120
  # override the default output from pydantic by calling `to_dict()` of instrument_event_configuration
120
121
  if self.instrument_event_configuration:
121
122
  _dict['instrumentEventConfiguration'] = self.instrument_event_configuration.to_dict()
123
+ # override the default output from pydantic by calling `to_dict()` of amortisation_rule_set_id
124
+ if self.amortisation_rule_set_id:
125
+ _dict['amortisationRuleSetId'] = self.amortisation_rule_set_id.to_dict()
122
126
  # override the default output from pydantic by calling `to_dict()` of each item in links (list)
123
127
  _items = []
124
128
  if self.links:
@@ -211,6 +215,7 @@ class Portfolio(BaseModel):
211
215
  "transaction_type_scope": obj.get("transactionTypeScope"),
212
216
  "cash_gain_loss_calculation_date": obj.get("cashGainLossCalculationDate"),
213
217
  "instrument_event_configuration": InstrumentEventConfiguration.from_dict(obj.get("instrumentEventConfiguration")) if obj.get("instrumentEventConfiguration") is not None else None,
218
+ "amortisation_rule_set_id": ResourceId.from_dict(obj.get("amortisationRuleSetId")) if obj.get("amortisationRuleSetId") is not None else None,
214
219
  "links": [Link.from_dict(_item) for _item in obj.get("links")] if obj.get("links") is not None else None
215
220
  })
216
221
  return _obj
@@ -41,8 +41,9 @@ class PortfolioDetails(BaseModel):
41
41
  transaction_type_scope: Optional[StrictStr] = Field(None, alias="transactionTypeScope", description="The scope of the transaction types.")
42
42
  cash_gain_loss_calculation_date: Optional[StrictStr] = Field(None, alias="cashGainLossCalculationDate", description="The option when the Cash Gain Loss to be calulated, TransactionDate/SettlementDate. Defaults to SettlementDate.")
43
43
  instrument_event_configuration: Optional[InstrumentEventConfiguration] = Field(None, alias="instrumentEventConfiguration")
44
+ amortisation_rule_set_id: Optional[ResourceId] = Field(None, alias="amortisationRuleSetId")
44
45
  links: Optional[conlist(Link)] = None
45
- __properties = ["href", "originPortfolioId", "version", "baseCurrency", "corporateActionSourceId", "subHoldingKeys", "instrumentScopes", "accountingMethod", "amortisationMethod", "transactionTypeScope", "cashGainLossCalculationDate", "instrumentEventConfiguration", "links"]
46
+ __properties = ["href", "originPortfolioId", "version", "baseCurrency", "corporateActionSourceId", "subHoldingKeys", "instrumentScopes", "accountingMethod", "amortisationMethod", "transactionTypeScope", "cashGainLossCalculationDate", "instrumentEventConfiguration", "amortisationRuleSetId", "links"]
46
47
 
47
48
  @validator('accounting_method')
48
49
  def accounting_method_validate_enum(cls, value):
@@ -90,6 +91,9 @@ class PortfolioDetails(BaseModel):
90
91
  # override the default output from pydantic by calling `to_dict()` of instrument_event_configuration
91
92
  if self.instrument_event_configuration:
92
93
  _dict['instrumentEventConfiguration'] = self.instrument_event_configuration.to_dict()
94
+ # override the default output from pydantic by calling `to_dict()` of amortisation_rule_set_id
95
+ if self.amortisation_rule_set_id:
96
+ _dict['amortisationRuleSetId'] = self.amortisation_rule_set_id.to_dict()
93
97
  # override the default output from pydantic by calling `to_dict()` of each item in links (list)
94
98
  _items = []
95
99
  if self.links:
@@ -156,6 +160,7 @@ class PortfolioDetails(BaseModel):
156
160
  "transaction_type_scope": obj.get("transactionTypeScope"),
157
161
  "cash_gain_loss_calculation_date": obj.get("cashGainLossCalculationDate"),
158
162
  "instrument_event_configuration": InstrumentEventConfiguration.from_dict(obj.get("instrumentEventConfiguration")) if obj.get("instrumentEventConfiguration") is not None else None,
163
+ "amortisation_rule_set_id": ResourceId.from_dict(obj.get("amortisationRuleSetId")) if obj.get("amortisationRuleSetId") is not None else None,
159
164
  "links": [Link.from_dict(_item) for _item in obj.get("links")] if obj.get("links") is not None else None
160
165
  })
161
166
  return _obj
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lusid-sdk
3
- Version: 2.1.26
3
+ Version: 2.1.32
4
4
  Summary: LUSID API
5
5
  Home-page: https://github.com/finbourne/lusid-sdk-python
6
6
  License: MIT
@@ -29,8 +29,8 @@ FINBOURNE Technology
29
29
 
30
30
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
31
31
 
32
- - API version: 0.11.6460
33
- - Package version: 2.1.26
32
+ - API version: 0.11.6466
33
+ - Package version: 2.1.32
34
34
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
35
35
  For more information, please visit [https://www.finbourne.com](https://www.finbourne.com)
36
36
 
@@ -400,7 +400,7 @@ Class | Method | HTTP request | Description
400
400
  *FundsApi* | [**get_fund**](docs/FundsApi.md#get_fund) | **GET** /api/funds/{scope}/{code} | [EXPERIMENTAL] GetFund: Get a Fund.
401
401
  *FundsApi* | [**get_valuation_point_data**](docs/FundsApi.md#get_valuation_point_data) | **POST** /api/funds/{scope}/{code}/valuationpoints | [EXPERIMENTAL] GetValuationPointData: Get Valuation Point Data for a Fund.
402
402
  *FundsApi* | [**list_funds**](docs/FundsApi.md#list_funds) | **GET** /api/funds | [EXPERIMENTAL] ListFunds: List Funds.
403
- *FundsApi* | [**set_share_class_instruments**](docs/FundsApi.md#set_share_class_instruments) | **POST** /api/funds/{scope}/{code}/shareclasses | [EXPERIMENTAL] SetShareClassInstruments: Set the ShareClass Instruments on a fund.
403
+ *FundsApi* | [**set_share_class_instruments**](docs/FundsApi.md#set_share_class_instruments) | **PUT** /api/funds/{scope}/{code}/shareclasses | [EXPERIMENTAL] SetShareClassInstruments: Set the ShareClass Instruments on a fund.
404
404
  *FundsApi* | [**upsert_fund_properties**](docs/FundsApi.md#upsert_fund_properties) | **POST** /api/funds/{scope}/{code}/properties/$upsert | [EXPERIMENTAL] UpsertFundProperties: Upsert Fund properties.
405
405
  *FundsApi* | [**upsert_valuation_point**](docs/FundsApi.md#upsert_valuation_point) | **POST** /api/funds/{scope}/{code}/valuationpoints/$upsert | [EXPERIMENTAL] UpsertValuationPoint: Upsert Valuation Point.
406
406
  *InstrumentEventTypesApi* | [**create_transaction_template**](docs/InstrumentEventTypesApi.md#create_transaction_template) | **POST** /api/instrumenteventtypes/{instrumentEventType}/transactiontemplates/{instrumentType}/{scope} | [EXPERIMENTAL] CreateTransactionTemplate: Create Transaction Template
@@ -739,7 +739,6 @@ Class | Method | HTTP request | Description
739
739
  - [AccountsUpsertResponse](docs/AccountsUpsertResponse.md)
740
740
  - [AccumulationEvent](docs/AccumulationEvent.md)
741
741
  - [ActionId](docs/ActionId.md)
742
- - [ActionResultOfPortfolio](docs/ActionResultOfPortfolio.md)
743
742
  - [AddBusinessDaysToDateRequest](docs/AddBusinessDaysToDateRequest.md)
744
743
  - [AddBusinessDaysToDateResponse](docs/AddBusinessDaysToDateResponse.md)
745
744
  - [AdditionalPayment](docs/AdditionalPayment.md)
@@ -1,4 +1,4 @@
1
- lusid/__init__.py,sha256=KWP9OwyChh6No-XHtgPRE_RSHl4iliVoLGjcf9nHagU,104085
1
+ lusid/__init__.py,sha256=MnXzICjXY0N_SfXa9B30pMSBbgPslXFCUNUfBlXivh0,103978
2
2
  lusid/api/__init__.py,sha256=jdU3SmYCzfXVHFVThKX_tCGad2-l4-5Qql1cN864mCs,5388
3
3
  lusid/api/abor_api.py,sha256=gEqLNum0O0fIHTMPG1E9hxroX6g3vBzqRwbRY7oHGNU,149942
4
4
  lusid/api/abor_configuration_api.py,sha256=G2bKPtMYOZ2GhUrg-nPJtCa9XIZdZYK7oafcbJWDMP8,64033
@@ -24,7 +24,7 @@ lusid/api/data_types_api.py,sha256=OiQL4CRxwWd06DovdcLZbOqPx4AfbwYQ9yXYtaRqWWc,7
24
24
  lusid/api/derived_transaction_portfolios_api.py,sha256=cKv5mKNmTiuHzWGwupwcSBibj3Ncwv88GiEJSqmAbCY,20227
25
25
  lusid/api/entities_api.py,sha256=biaI4yyTTSbvQUYyuBtgbyE4X6Yz-_T5BWn4Vvk3GJU,10443
26
26
  lusid/api/executions_api.py,sha256=84zjdPPCPB-aBjM5ntqTcEJa_kSqBSqdtqh47b0a_UY,44435
27
- lusid/api/funds_api.py,sha256=RcJYq22f9UBYFg2j7lz8Mw1XN_NaF47FbpLxi5qQqrs,122389
27
+ lusid/api/funds_api.py,sha256=s2xo4yrQeNs06nvCeDCedD7T2aB-XW8nO-ftAPG4kEk,122388
28
28
  lusid/api/instrument_event_types_api.py,sha256=shwiW-AatQw-mEwD-TS1d8M2AtV62gqvfF3utyIqe0Y,81546
29
29
  lusid/api/instrument_events_api.py,sha256=XfIXcWPsNV8lZ6_VW-Btfktz5bY3JVLsoMKaQRB0MT8,45411
30
30
  lusid/api/instruments_api.py,sha256=cP5f4NMTDtjiyqODwOV0Dc8_miaE3PxnIre36d2wT9I,281333
@@ -39,7 +39,7 @@ lusid/api/participations_api.py,sha256=nlVzeyfE33X9Ue9HC9rqCW3WACEPKBvcrEjFEmT8w
39
39
  lusid/api/persons_api.py,sha256=0ZUZykUD46ow8j6sXjqaxCTylzUkssOyimAxCoDMUb4,247306
40
40
  lusid/api/placements_api.py,sha256=bsX7VHZlvnxJiZ3ZPtlJ8md_exerU-Qa_BkHGVRphH8,45797
41
41
  lusid/api/portfolio_groups_api.py,sha256=GkR-rjb4khpRsT_3rTkQnWx8z9dczaT2UxYda7xZyCA,378953
42
- lusid/api/portfolios_api.py,sha256=ntfArVcFMiKRto5icvpGASRmWLxuOfmqHRL8gD9a2xc,367115
42
+ lusid/api/portfolios_api.py,sha256=j9I3k3LzC2Rx9-vlgwsQye1hGDJIppyE0EY9HI9Ker0,366941
43
43
  lusid/api/property_definitions_api.py,sha256=Z2HQywmPS1T5DGOCr4BEWX2QmUVhuqLnQSEa4hZZwxo,140397
44
44
  lusid/api/queryable_keys_api.py,sha256=1HafmN22bU1bV5H5nua8EZ5oL0pe0LZ5xkVDQTDSezg,10281
45
45
  lusid/api/quotes_api.py,sha256=Lmb8CSqm7wytZcARzahdB2eBwxkCqrjvzpIKK-H6w34,115625
@@ -65,7 +65,7 @@ lusid/api/transaction_portfolios_api.py,sha256=q6AoYasxV3LQDossmM2BdJSo3arh526yU
65
65
  lusid/api/translation_api.py,sha256=xTAaKEW96JTDIZBXCjxSguCa7Gz4oVd5jdObUE2egwo,20092
66
66
  lusid/api_client.py,sha256=dF6l9RAsdxdQjf6Qn4ny6LB-QXlJmsscWiozCvyyBFA,30709
67
67
  lusid/api_response.py,sha256=uCehWdXXDnAO2HAHGKe0SgpQ_mJiGDbcu-BHDF3n_IM,852
68
- lusid/configuration.py,sha256=Q0CTchMLkb_x2Zri1IeaQloNKFyJA7egi_MmztG73GA,14404
68
+ lusid/configuration.py,sha256=lPof0saWiZChVPhGNlLyfLq5Z48Bs-ZdsFJI9fY_mxQ,14404
69
69
  lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
70
70
  lusid/extensions/__init__.py,sha256=DeUuQP7yTcklJH7LT-bw9wQhKEggcs1KwQbPbFcOlhw,560
71
71
  lusid/extensions/api_client.py,sha256=Ob06urm4Em3MLzgP_geyeeGsPCkU225msW_1kpIeABM,30567
@@ -78,7 +78,7 @@ lusid/extensions/rest.py,sha256=tjVCu-cRrYcjp-ttB975vebPKtBNyBWaeoAdO3QXG2I,1269
78
78
  lusid/extensions/retry.py,sha256=orBJ1uF1iT1IncjWX1iGHVqsCgTh0SBe9rtiV_sPnwk,11564
79
79
  lusid/extensions/socket_keep_alive.py,sha256=NGlqsv-E25IjJOLGZhXZY6kUdx51nEF8qCQyVdzayRk,1653
80
80
  lusid/extensions/tcp_keep_alive_connector.py,sha256=zaGtUsygRsxB1_4B3x39K3ILwztdhMLDv5bFZV7zmGE,3877
81
- lusid/models/__init__.py,sha256=gTyj9b5IK4uybrldf2iKhVH6lzSz50sI3KAojbbTxyc,97740
81
+ lusid/models/__init__.py,sha256=vEN1wyrFqfV-5UQB36vuCdJvTi8NAeccAwEFD66QLRM,97633
82
82
  lusid/models/a2_b_breakdown.py,sha256=Txi12EIQw3mH6NM-25QkOnHSQc3BVAWrP7yl9bZswSY,2947
83
83
  lusid/models/a2_b_category.py,sha256=k6NPAACi0CUjKyhdQac4obQSrPmp2PXD6lkAtCnyEFM,2725
84
84
  lusid/models/a2_b_data_record.py,sha256=zKGS2P4fzNpzdcGJiSIpkY4P3d_jAcawYfyuPCDeQgk,9737
@@ -99,7 +99,6 @@ lusid/models/accounting_method.py,sha256=iPWTzUtPG_HbVrtKuIFpP7Pn1ZKbSjQ9DkMQpBW
99
99
  lusid/models/accounts_upsert_response.py,sha256=qHHsFTkMqhIufYG3RBvXB1YimBluJREx-iq7bd2DL50,4120
100
100
  lusid/models/accumulation_event.py,sha256=JadWKKy1__Sj7RB01o23VvnAiP7lU0NbppxY3z2WXeI,5631
101
101
  lusid/models/action_id.py,sha256=rpG71w2AU6aWl6IpxkjpzkCgBtSLBQmLgmjQQ2cS3rw,2057
102
- lusid/models/action_result_of_portfolio.py,sha256=f_yA34xurtKgUIccXIoR7Gsj3gEBSwGCW1Jfy3X6rFs,2238
103
102
  lusid/models/add_business_days_to_date_request.py,sha256=AfWmdr91A1Wpf0yT6CEEymkHYLXYha5Lll3EXe8FDtE,2640
104
103
  lusid/models/add_business_days_to_date_response.py,sha256=wWo01x8xabbdMWzv73T7nRNBsKi1LYXJWTSaj4VCnWs,2013
105
104
  lusid/models/additional_payment.py,sha256=YrUygIdtiNQAMyek-TtBhOmKj2KJ3BiAd4HYztYQr9o,2534
@@ -255,7 +254,7 @@ lusid/models/create_data_map_request.py,sha256=uLO0ZBiCDek4dtTbY1sLXn_jBjpGk1h9P
255
254
  lusid/models/create_data_type_request.py,sha256=E4Ju3BNYIU23RmE0naixPbKYDRiKhRkmXgtgdIAeq9I,8058
256
255
  lusid/models/create_date_request.py,sha256=BewoN8Nijcbuc2SKo40yMbGVFo9pdaeinGlZYFrQ1Aw,4785
257
256
  lusid/models/create_derived_property_definition_request.py,sha256=xj0SNldoWRh79zD1l11x7pr2ka7jdewjj3NBK7zghh8,5951
258
- lusid/models/create_derived_transaction_portfolio_request.py,sha256=iVuDXYnNxVamd_YkyfQMsJ4x8bkKsZ8A50fh2ER1Zks,9645
257
+ lusid/models/create_derived_transaction_portfolio_request.py,sha256=jDqgwK3j-A5UHaeBSHZ_BADAo1fP5j3zZBkA7osrkfE,10150
259
258
  lusid/models/create_portfolio_details.py,sha256=yn9QqByAqH1RLx3lDnzr5PYj-y0xihxLzBYhhCRRq8A,2364
260
259
  lusid/models/create_portfolio_group_request.py,sha256=sRqA38fZ0Zj7Olc0fnCQnFliDBlQm-tjGp0mqtl-u9E,6132
261
260
  lusid/models/create_property_definition_request.py,sha256=PhVeh-blYDDS3cW2EnBt6x1pnugBIFCwQDBG_PCSuNs,7429
@@ -270,7 +269,7 @@ lusid/models/create_sequence_request.py,sha256=5nCcIM4RrExb2Gemet66DcQUPKn_qulgV
270
269
  lusid/models/create_staging_rule_set_request.py,sha256=jFVJWrm19GYg20ESIgoJoqrL1WuGfbSV-EiZKWI77aU,3350
271
270
  lusid/models/create_tax_rule_set_request.py,sha256=4K9Kysssj-zFpvE6tVu-DXyVJYu0YfEkXXvWUL0l6mo,3740
272
271
  lusid/models/create_trade_tickets_response.py,sha256=hMgaSmMWyWbpp2SQqg6p9fnMrUjNE6F35mo4fmvwf2M,2961
273
- lusid/models/create_transaction_portfolio_request.py,sha256=9CkjJotttE1iv9XOEkcSnrjweeDi9NEpjRTELvyjyWI,10388
272
+ lusid/models/create_transaction_portfolio_request.py,sha256=HdtoKdF7N-iKumdbcOw5Zdw7CuiNHCc2sRDgdHR4zcQ,10893
274
273
  lusid/models/create_unit_definition.py,sha256=hPfMi0Wew-HYzTQEaZ_wfDnN1dKMW6KYGB8kgyXjwlU,3418
275
274
  lusid/models/credit_default_swap.py,sha256=5lbQE6lXQJ3UiU2BEOj8r8_lCpcntRoyfyPV5D5CW28,8611
276
275
  lusid/models/credit_rating.py,sha256=3EJjCwgdDT04iclq5OTBWughXAbXc9FkOtz-x7i5rks,3088
@@ -642,10 +641,10 @@ lusid/models/place_blocks_request.py,sha256=RE2xCyRSQSV8wkzYvqF54fyMYi-FdoGqnqJn
642
641
  lusid/models/placement.py,sha256=5kJMz_9t07KT3NFF2Pdsq93cozl4yvNcxpyv9o5ZmRA,9106
643
642
  lusid/models/placement_request.py,sha256=qg7Yf6EQeqtC1l7lZ18_kFiGiNjBcrzMlScOWWaGkWM,7870
644
643
  lusid/models/placement_set_request.py,sha256=hkljmDDqllEbAjb7J0QAp_fyDKsizX8T9x4n1UBFCmU,2672
645
- lusid/models/portfolio.py,sha256=l3W1lmMdEzGzF6ermUVlvapyy9RRo2Q-EtzcL49p3Lw,11637
644
+ lusid/models/portfolio.py,sha256=LqGIRKBYS8kQbmmhiz8gzwPLRuRfnQIZjFtuQ-CV-gY,12142
646
645
  lusid/models/portfolio_cash_flow.py,sha256=Apnb2tfP3bJrBjhH69OLwiAOvn7lApH791owxr1wC8A,8997
647
646
  lusid/models/portfolio_cash_ladder.py,sha256=cZHdUI-PZuLYXlQDxcA9zCTRPX_cHZy0-qHng9bRggU,5462
648
- lusid/models/portfolio_details.py,sha256=ZYOTSLq466JT0-0msT9bry3xp9g2qWfHZ4eLkKWzjfI,8693
647
+ lusid/models/portfolio_details.py,sha256=NABbe06Xp0cl54_HwYeUsko51op7oFVlMqCENEaQVWs,9198
649
648
  lusid/models/portfolio_entity_id.py,sha256=Q6Y2BocHtfoMiSWaJJqoidwPeQeaDtM_A2Qi9ufesXk,3941
650
649
  lusid/models/portfolio_group.py,sha256=pt4ZLAFaXINyx9d8BQ9zZAlj9lIWAzVVWsQpty2PgZA,7106
651
650
  lusid/models/portfolio_group_id_compliance_parameter.py,sha256=0QvIbPxedX9Ljv063c4i4dgQueKoKcpr1ZcR_BLE7J4,5418
@@ -1018,6 +1017,6 @@ lusid/models/weighted_instruments.py,sha256=1y_y_vw4-LPsbkQx4FOzWdZc5fJnzhVkf1D3
1018
1017
  lusid/models/yield_curve_data.py,sha256=SbxvdJ4-GWK9kpMdw4Fnxc7_kvIMwgsRsd_31UJn7nw,6330
1019
1018
  lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1020
1019
  lusid/rest.py,sha256=TNUzQ3yLNT2L053EdR7R0vNzQh2J3TlYD1T56Dye0W0,10138
1021
- lusid_sdk-2.1.26.dist-info/METADATA,sha256=_s9LtM1JDcuy4K3BcUOxHeQFipjY1Pcz0_owkJ_ZQbs,179952
1022
- lusid_sdk-2.1.26.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
1023
- lusid_sdk-2.1.26.dist-info/RECORD,,
1020
+ lusid_sdk-2.1.32.dist-info/METADATA,sha256=NoPsHWtk7g1n86V4D8IBdYTXbTYPEOXQqB6i4cUcOLo,179889
1021
+ lusid_sdk-2.1.32.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
1022
+ lusid_sdk-2.1.32.dist-info/RECORD,,
@@ -1,75 +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
23
- from lusid.models.portfolio import Portfolio
24
-
25
- class ActionResultOfPortfolio(BaseModel):
26
- """
27
- ActionResultOfPortfolio
28
- """
29
- result: Optional[Dict[str, Any]] = None
30
- value: Optional[Portfolio] = None
31
- __properties = ["result", "value"]
32
-
33
- class Config:
34
- """Pydantic configuration"""
35
- allow_population_by_field_name = True
36
- validate_assignment = True
37
-
38
- def to_str(self) -> str:
39
- """Returns the string representation of the model using alias"""
40
- return pprint.pformat(self.dict(by_alias=True))
41
-
42
- def to_json(self) -> str:
43
- """Returns the JSON representation of the model using alias"""
44
- return json.dumps(self.to_dict())
45
-
46
- @classmethod
47
- def from_json(cls, json_str: str) -> ActionResultOfPortfolio:
48
- """Create an instance of ActionResultOfPortfolio from a JSON string"""
49
- return cls.from_dict(json.loads(json_str))
50
-
51
- def to_dict(self):
52
- """Returns the dictionary representation of the model using alias"""
53
- _dict = self.dict(by_alias=True,
54
- exclude={
55
- },
56
- exclude_none=True)
57
- # override the default output from pydantic by calling `to_dict()` of value
58
- if self.value:
59
- _dict['value'] = self.value.to_dict()
60
- return _dict
61
-
62
- @classmethod
63
- def from_dict(cls, obj: dict) -> ActionResultOfPortfolio:
64
- """Create an instance of ActionResultOfPortfolio from a dict"""
65
- if obj is None:
66
- return None
67
-
68
- if not isinstance(obj, dict):
69
- return ActionResultOfPortfolio.parse_obj(obj)
70
-
71
- _obj = ActionResultOfPortfolio.parse_obj({
72
- "result": obj.get("result"),
73
- "value": Portfolio.from_dict(obj.get("value")) if obj.get("value") is not None else None
74
- })
75
- return _obj