lusid-sdk 2.1.191__py3-none-any.whl → 2.1.198__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/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.6625\n"\
376
+ "Version of the API: 0.11.6632\n"\
377
377
  "SDK Package Version: {package_version}".\
378
378
  format(env=sys.platform, pyversion=sys.version, package_version=package_version)
379
379
 
@@ -23,6 +23,7 @@ from pydantic.v1 import BaseModel, Field, StrictStr, conlist, validator
23
23
  from lusid.models.instrument_event_configuration import InstrumentEventConfiguration
24
24
  from lusid.models.link import Link
25
25
  from lusid.models.resource_id import ResourceId
26
+ from lusid.models.staged_modifications_info import StagedModificationsInfo
26
27
  from lusid.models.version import Version
27
28
 
28
29
  class PortfolioDetails(BaseModel):
@@ -42,8 +43,9 @@ class PortfolioDetails(BaseModel):
42
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.")
43
44
  instrument_event_configuration: Optional[InstrumentEventConfiguration] = Field(None, alias="instrumentEventConfiguration")
44
45
  amortisation_rule_set_id: Optional[ResourceId] = Field(None, alias="amortisationRuleSetId")
46
+ staged_modifications: Optional[StagedModificationsInfo] = Field(None, alias="stagedModifications")
45
47
  links: Optional[conlist(Link)] = None
46
- __properties = ["href", "originPortfolioId", "version", "baseCurrency", "corporateActionSourceId", "subHoldingKeys", "instrumentScopes", "accountingMethod", "amortisationMethod", "transactionTypeScope", "cashGainLossCalculationDate", "instrumentEventConfiguration", "amortisationRuleSetId", "links"]
48
+ __properties = ["href", "originPortfolioId", "version", "baseCurrency", "corporateActionSourceId", "subHoldingKeys", "instrumentScopes", "accountingMethod", "amortisationMethod", "transactionTypeScope", "cashGainLossCalculationDate", "instrumentEventConfiguration", "amortisationRuleSetId", "stagedModifications", "links"]
47
49
 
48
50
  @validator('accounting_method')
49
51
  def accounting_method_validate_enum(cls, value):
@@ -94,6 +96,9 @@ class PortfolioDetails(BaseModel):
94
96
  # override the default output from pydantic by calling `to_dict()` of amortisation_rule_set_id
95
97
  if self.amortisation_rule_set_id:
96
98
  _dict['amortisationRuleSetId'] = self.amortisation_rule_set_id.to_dict()
99
+ # override the default output from pydantic by calling `to_dict()` of staged_modifications
100
+ if self.staged_modifications:
101
+ _dict['stagedModifications'] = self.staged_modifications.to_dict()
97
102
  # override the default output from pydantic by calling `to_dict()` of each item in links (list)
98
103
  _items = []
99
104
  if self.links:
@@ -161,6 +166,7 @@ class PortfolioDetails(BaseModel):
161
166
  "cash_gain_loss_calculation_date": obj.get("cashGainLossCalculationDate"),
162
167
  "instrument_event_configuration": InstrumentEventConfiguration.from_dict(obj.get("instrumentEventConfiguration")) if obj.get("instrumentEventConfiguration") is not None else None,
163
168
  "amortisation_rule_set_id": ResourceId.from_dict(obj.get("amortisationRuleSetId")) if obj.get("amortisationRuleSetId") is not None else None,
169
+ "staged_modifications": StagedModificationsInfo.from_dict(obj.get("stagedModifications")) if obj.get("stagedModifications") is not None else None,
164
170
  "links": [Link.from_dict(_item) for _item in obj.get("links")] if obj.get("links") is not None else None
165
171
  })
166
172
  return _obj
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lusid-sdk
3
- Version: 2.1.191
3
+ Version: 2.1.198
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.6625
33
- - Package version: 2.1.191
32
+ - API version: 0.11.6632
33
+ - Package version: 2.1.198
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
 
@@ -67,7 +67,7 @@ lusid/api/transaction_portfolios_api.py,sha256=7G5m6iTQXTKCc6ASdxnlVJjvFascHxEgD
67
67
  lusid/api/translation_api.py,sha256=xTAaKEW96JTDIZBXCjxSguCa7Gz4oVd5jdObUE2egwo,20092
68
68
  lusid/api_client.py,sha256=dF6l9RAsdxdQjf6Qn4ny6LB-QXlJmsscWiozCvyyBFA,30709
69
69
  lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
70
- lusid/configuration.py,sha256=jpn11zzg2Cz-4QPzS9YK5k-nQaIe47Pd3-z0Ty6Nfo8,14404
70
+ lusid/configuration.py,sha256=UWwHjhH8symwmIp5KRe3j_7-59FpBjOwnmzjb5TPYWc,14404
71
71
  lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
72
72
  lusid/extensions/__init__.py,sha256=L7EF4zKjcq1g2GodEumg1-C9xKs7YrQ0QHGPi8XbpO4,629
73
73
  lusid/extensions/api_client.py,sha256=Ob06urm4Em3MLzgP_geyeeGsPCkU225msW_1kpIeABM,30567
@@ -681,7 +681,7 @@ lusid/models/placement_set_request.py,sha256=hkljmDDqllEbAjb7J0QAp_fyDKsizX8T9x4
681
681
  lusid/models/portfolio.py,sha256=vLgosL-OAM9RIFkS84augDeHUkDNuidFAsy4PrB0J4k,12718
682
682
  lusid/models/portfolio_cash_flow.py,sha256=Apnb2tfP3bJrBjhH69OLwiAOvn7lApH791owxr1wC8A,8997
683
683
  lusid/models/portfolio_cash_ladder.py,sha256=cZHdUI-PZuLYXlQDxcA9zCTRPX_cHZy0-qHng9bRggU,5462
684
- lusid/models/portfolio_details.py,sha256=NABbe06Xp0cl54_HwYeUsko51op7oFVlMqCENEaQVWs,9198
684
+ lusid/models/portfolio_details.py,sha256=dKMe60EfatUgw8K5LY09maNIFU-y1SH6RIxzJsz8EVE,9774
685
685
  lusid/models/portfolio_entity.py,sha256=2jIOdWYdtm43qhRCYWl-OLrCNIRwrk4laazBJ8h-JIU,7532
686
686
  lusid/models/portfolio_entity_id.py,sha256=TSfvLVYKSXiNH4RrHmnfT6RTWMblK-Ls2g8BbFYXup0,3421
687
687
  lusid/models/portfolio_group.py,sha256=pt4ZLAFaXINyx9d8BQ9zZAlj9lIWAzVVWsQpty2PgZA,7106
@@ -1076,6 +1076,6 @@ lusid/models/weighted_instruments.py,sha256=1y_y_vw4-LPsbkQx4FOzWdZc5fJnzhVkf1D3
1076
1076
  lusid/models/yield_curve_data.py,sha256=SbxvdJ4-GWK9kpMdw4Fnxc7_kvIMwgsRsd_31UJn7nw,6330
1077
1077
  lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1078
1078
  lusid/rest.py,sha256=TNUzQ3yLNT2L053EdR7R0vNzQh2J3TlYD1T56Dye0W0,10138
1079
- lusid_sdk-2.1.191.dist-info/METADATA,sha256=JPX8mqqG2ZL_zPkuHDegftu_cuuEaP50NLwDrRSgS0A,188870
1080
- lusid_sdk-2.1.191.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
1081
- lusid_sdk-2.1.191.dist-info/RECORD,,
1079
+ lusid_sdk-2.1.198.dist-info/METADATA,sha256=NDuxMfk7bwqJl8BkLYYgBSSoQUw7P4NkhR34ehy0urQ,188870
1080
+ lusid_sdk-2.1.198.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
1081
+ lusid_sdk-2.1.198.dist-info/RECORD,,