lusid-sdk 2.1.632__py3-none-any.whl → 2.1.634__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/configuration.py +1 -1
- lusid/models/complete_portfolio.py +3 -3
- lusid/models/portfolio.py +3 -3
- lusid/models/portfolio_search_result.py +3 -3
- lusid/models/portfolio_type.py +1 -0
- lusid/models/portfolio_without_href.py +3 -3
- {lusid_sdk-2.1.632.dist-info → lusid_sdk-2.1.634.dist-info}/METADATA +1 -1
- {lusid_sdk-2.1.632.dist-info → lusid_sdk-2.1.634.dist-info}/RECORD +9 -9
- {lusid_sdk-2.1.632.dist-info → lusid_sdk-2.1.634.dist-info}/WHEEL +0 -0
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.7207\n"\
|
449
449
|
"SDK Package Version: {package_version}".\
|
450
450
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
451
451
|
|
@@ -36,7 +36,7 @@ class CompletePortfolio(BaseModel):
|
|
36
36
|
created: Optional[datetime] = Field(None, description="The effective datetime at which the portfolio was created. No transactions or constituents can be added to the portfolio before this date.")
|
37
37
|
parent_portfolio_id: Optional[ResourceId] = Field(None, alias="parentPortfolioId")
|
38
38
|
is_derived: Optional[StrictBool] = Field(None, alias="isDerived", description="Whether or not this is a derived portfolio.")
|
39
|
-
type: Optional[StrictStr] = Field(None, description="The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction")
|
39
|
+
type: Optional[StrictStr] = Field(None, description="The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction, SimplePosition")
|
40
40
|
version: Version = Field(...)
|
41
41
|
properties: Optional[conlist(ModelProperty)] = Field(None, description="The requested portfolio properties. These will be from the 'Portfolio' domain.")
|
42
42
|
base_currency: Optional[StrictStr] = Field(None, alias="baseCurrency", description="If the portfolio is a transaction portfolio or derived transaction portfolio, this is the base currency of the portfolio.")
|
@@ -50,8 +50,8 @@ class CompletePortfolio(BaseModel):
|
|
50
50
|
if value is None:
|
51
51
|
return value
|
52
52
|
|
53
|
-
if value not in ('Transaction', 'Reference', 'DerivedTransaction'):
|
54
|
-
raise ValueError("must be one of enum values ('Transaction', 'Reference', 'DerivedTransaction')")
|
53
|
+
if value not in ('Transaction', 'Reference', 'DerivedTransaction', 'SimplePosition'):
|
54
|
+
raise ValueError("must be one of enum values ('Transaction', 'Reference', 'DerivedTransaction', 'SimplePosition')")
|
55
55
|
return value
|
56
56
|
|
57
57
|
class Config:
|
lusid/models/portfolio.py
CHANGED
@@ -34,7 +34,7 @@ class Portfolio(BaseModel):
|
|
34
34
|
"""
|
35
35
|
href: Optional[StrictStr] = Field(None, description="The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.")
|
36
36
|
id: ResourceId = Field(...)
|
37
|
-
type: StrictStr = Field(..., description="The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction")
|
37
|
+
type: StrictStr = Field(..., description="The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction, SimplePosition")
|
38
38
|
display_name: constr(strict=True, min_length=1) = Field(..., alias="displayName", description="The name of the portfolio.")
|
39
39
|
description: Optional[StrictStr] = Field(None, description="The long form description of the portfolio.")
|
40
40
|
created: datetime = Field(..., description="The effective datetime at which the portfolio was created. No transactions or constituents can be added to the portfolio before this date.")
|
@@ -58,8 +58,8 @@ class Portfolio(BaseModel):
|
|
58
58
|
@validator('type')
|
59
59
|
def type_validate_enum(cls, value):
|
60
60
|
"""Validates the enum"""
|
61
|
-
if value not in ('Transaction', 'Reference', 'DerivedTransaction'):
|
62
|
-
raise ValueError("must be one of enum values ('Transaction', 'Reference', 'DerivedTransaction')")
|
61
|
+
if value not in ('Transaction', 'Reference', 'DerivedTransaction', 'SimplePosition'):
|
62
|
+
raise ValueError("must be one of enum values ('Transaction', 'Reference', 'DerivedTransaction', 'SimplePosition')")
|
63
63
|
return value
|
64
64
|
|
65
65
|
@validator('accounting_method')
|
@@ -29,7 +29,7 @@ class PortfolioSearchResult(BaseModel):
|
|
29
29
|
A list of portfolios. # noqa: E501
|
30
30
|
"""
|
31
31
|
id: ResourceId = Field(...)
|
32
|
-
type: StrictStr = Field(..., description="The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction")
|
32
|
+
type: StrictStr = Field(..., description="The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction, SimplePosition")
|
33
33
|
href: Optional[StrictStr] = Field(None, description="The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.")
|
34
34
|
description: Optional[StrictStr] = Field(None, description="The long form description of the portfolio.")
|
35
35
|
display_name: constr(strict=True, min_length=1) = Field(..., alias="displayName", description="The name of the portfolio.")
|
@@ -44,8 +44,8 @@ class PortfolioSearchResult(BaseModel):
|
|
44
44
|
@validator('type')
|
45
45
|
def type_validate_enum(cls, value):
|
46
46
|
"""Validates the enum"""
|
47
|
-
if value not in ('Transaction', 'Reference', 'DerivedTransaction'):
|
48
|
-
raise ValueError("must be one of enum values ('Transaction', 'Reference', 'DerivedTransaction')")
|
47
|
+
if value not in ('Transaction', 'Reference', 'DerivedTransaction', 'SimplePosition'):
|
48
|
+
raise ValueError("must be one of enum values ('Transaction', 'Reference', 'DerivedTransaction', 'SimplePosition')")
|
49
49
|
return value
|
50
50
|
|
51
51
|
class Config:
|
lusid/models/portfolio_type.py
CHANGED
@@ -33,7 +33,7 @@ class PortfolioWithoutHref(BaseModel):
|
|
33
33
|
A list of portfolios. # noqa: E501
|
34
34
|
"""
|
35
35
|
id: ResourceId = Field(...)
|
36
|
-
type: StrictStr = Field(..., description="The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction")
|
36
|
+
type: StrictStr = Field(..., description="The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction, SimplePosition")
|
37
37
|
display_name: constr(strict=True, min_length=1) = Field(..., alias="displayName", description="The name of the portfolio.")
|
38
38
|
description: Optional[StrictStr] = Field(None, description="The long form description of the portfolio.")
|
39
39
|
created: datetime = Field(..., description="The effective datetime at which the portfolio was created. No transactions or constituents can be added to the portfolio before this date.")
|
@@ -57,8 +57,8 @@ class PortfolioWithoutHref(BaseModel):
|
|
57
57
|
@validator('type')
|
58
58
|
def type_validate_enum(cls, value):
|
59
59
|
"""Validates the enum"""
|
60
|
-
if value not in ('Transaction', 'Reference', 'DerivedTransaction'):
|
61
|
-
raise ValueError("must be one of enum values ('Transaction', 'Reference', 'DerivedTransaction')")
|
60
|
+
if value not in ('Transaction', 'Reference', 'DerivedTransaction', 'SimplePosition'):
|
61
|
+
raise ValueError("must be one of enum values ('Transaction', 'Reference', 'DerivedTransaction', 'SimplePosition')")
|
62
62
|
return value
|
63
63
|
|
64
64
|
@validator('accounting_method')
|
@@ -71,7 +71,7 @@ lusid/api/translation_api.py,sha256=nIyuLncCvVC5k2d7Nm32zR8AQ1dkrVm1OThkmELY_OM,
|
|
71
71
|
lusid/api/workspace_api.py,sha256=Yox1q7TDY-_O3HF-N8g5kGuNgp4unWvlSZmRZ6MNZO0,196701
|
72
72
|
lusid/api_client.py,sha256=ewMTmf9SRurY8pYnUx9jy24RdldPCOa4US38pnrVxjA,31140
|
73
73
|
lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
|
74
|
-
lusid/configuration.py,sha256=
|
74
|
+
lusid/configuration.py,sha256=Dwf6EmW0q2CGlpZKloE3JauitCVEpLu_EMZ6bIASFTA,17972
|
75
75
|
lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
|
76
76
|
lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
|
77
77
|
lusid/extensions/api_client.py,sha256=GzygWg_h603QK1QS2HvAijuE2R1TnvoF6-Yg0CeM3ug,30943
|
@@ -240,7 +240,7 @@ lusid/models/close_event.py,sha256=aNDhApYbJEUk4e1xaWPOcrIXr7gkYMYh5Me2qbVCqbc,6
|
|
240
240
|
lusid/models/close_period_diary_entry_request.py,sha256=sD2X7MALlyW6tCr7Y2voUINkNVqF6YpcYdkMsQubaa0,6490
|
241
241
|
lusid/models/closed_period.py,sha256=8c1uVkBhjIuCMUVhCfzSHMQYwyKMZabE-xZoYe7M6So,5414
|
242
242
|
lusid/models/comparison_attribute_value_pair.py,sha256=4AYi8WddelHw2hQw-O8z6snCKZBBFxA946o0MZjE-mc,2425
|
243
|
-
lusid/models/complete_portfolio.py,sha256=
|
243
|
+
lusid/models/complete_portfolio.py,sha256=toNgXykj6FvmovpKIEY3kLEWOY9qa_lrDCBzEhzTHAI,7879
|
244
244
|
lusid/models/complete_relation.py,sha256=T1Wd-knJ0m60ZV82FRinBboqaj0XioTUirK43ozT1q4,3908
|
245
245
|
lusid/models/complete_relationship.py,sha256=oO5LLSMYB6IXIsWZVoooboC0TEo3aaox6zLFdnn1wLk,5168
|
246
246
|
lusid/models/complex_bond.py,sha256=S1J2TYxy6aBYsedlH_4GEuxFWSHDbwHw3u1Ld8OLq_A,11107
|
@@ -803,7 +803,7 @@ lusid/models/placement_request.py,sha256=qg7Yf6EQeqtC1l7lZ18_kFiGiNjBcrzMlScOWWa
|
|
803
803
|
lusid/models/placement_set_request.py,sha256=hkljmDDqllEbAjb7J0QAp_fyDKsizX8T9x4n1UBFCmU,2672
|
804
804
|
lusid/models/placement_update_request.py,sha256=9fS4NW-JtFLZcztHgp_nOG300FfTtC34GpKj60VJc_E,5024
|
805
805
|
lusid/models/pnl_journal_entry_line.py,sha256=9X4__BixmuTEY_rKcDLuGzNXLrSJ84yeMMxbyrs4Bq8,3454
|
806
|
-
lusid/models/portfolio.py,sha256=
|
806
|
+
lusid/models/portfolio.py,sha256=TPUX1TiES5D_wTE8CS0A51McW_TVu70jYmKD6mftxNM,13695
|
807
807
|
lusid/models/portfolio_cash_flow.py,sha256=Apnb2tfP3bJrBjhH69OLwiAOvn7lApH791owxr1wC8A,8997
|
808
808
|
lusid/models/portfolio_cash_ladder.py,sha256=cZHdUI-PZuLYXlQDxcA9zCTRPX_cHZy0-qHng9bRggU,5462
|
809
809
|
lusid/models/portfolio_details.py,sha256=EZ_VlMZea2POHoQ5wUHCmjo1i5EcUvO4HbeSdeF7eYQ,10699
|
@@ -824,10 +824,10 @@ lusid/models/portfolio_properties.py,sha256=OCSv3rJAsYBsEWRmiUvCcb4UIxN_gZrv4D3b
|
|
824
824
|
lusid/models/portfolio_reconciliation_request.py,sha256=wCxZIivxGZoFmnxItD66J1VSFUqKbtm6SAqq4rNp85w,2886
|
825
825
|
lusid/models/portfolio_result_data_key_rule.py,sha256=VR3GGTSWS1-Z5cgEIDd939tdtH6hiwiQMm2vNz4h9cw,6635
|
826
826
|
lusid/models/portfolio_return_breakdown.py,sha256=PGCCidYWkdSSzNJmZeZIEuYQBgozeFwkIH5HnODvrqI,6683
|
827
|
-
lusid/models/portfolio_search_result.py,sha256=
|
827
|
+
lusid/models/portfolio_search_result.py,sha256=c1PZ2TGNmKO0cF3Zki8KxcI0u1CqzehSWpBRkxBxyVw,6721
|
828
828
|
lusid/models/portfolio_trade_ticket.py,sha256=29sx0JwS49GzDI65hh4YvLN1rgBGBPDOTxfJHIgtzPg,2780
|
829
|
-
lusid/models/portfolio_type.py,sha256=
|
830
|
-
lusid/models/portfolio_without_href.py,sha256=
|
829
|
+
lusid/models/portfolio_type.py,sha256=XHcZsPtustyCONxmAatGhGD2BYfIWeqIA1JDzuByzvo,750
|
830
|
+
lusid/models/portfolio_without_href.py,sha256=1L4mqjQsGUp_vqBJrN3DcQr1OCNGV65btLudBG_oqEk,13362
|
831
831
|
lusid/models/portfolios_reconciliation_request.py,sha256=NlI1pOGr08bwob0a4FZRRZiS6DylKDpZJA8cw7dgRsc,3001
|
832
832
|
lusid/models/posting_module_details.py,sha256=YtjckonotvLC-UwLecW2G12FVxlww-VkyEU4q-urvsA,3310
|
833
833
|
lusid/models/posting_module_request.py,sha256=x6aq23t1GtSpg60mAe3gXTRBjgIkOVqUp4qRb3tLFDs,4473
|
@@ -1253,6 +1253,6 @@ lusid/models/workspace_update_request.py,sha256=uUXEpX-dJ5UiL9w1wMxIFeovSBiTJ-vi
|
|
1253
1253
|
lusid/models/yield_curve_data.py,sha256=SbxvdJ4-GWK9kpMdw4Fnxc7_kvIMwgsRsd_31UJn7nw,6330
|
1254
1254
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1255
1255
|
lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
|
1256
|
-
lusid_sdk-2.1.
|
1257
|
-
lusid_sdk-2.1.
|
1258
|
-
lusid_sdk-2.1.
|
1256
|
+
lusid_sdk-2.1.634.dist-info/METADATA,sha256=8qIYPjTIt4njFO5_l-ErgWPvZgt-DPgQStw_L5IWw1U,213421
|
1257
|
+
lusid_sdk-2.1.634.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
1258
|
+
lusid_sdk-2.1.634.dist-info/RECORD,,
|
File without changes
|