lusid-sdk 2.1.16__py3-none-any.whl → 2.1.18__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.
|
|
376
|
+
"Version of the API: 0.11.6453\n"\
|
|
377
377
|
"SDK Package Version: {package_version}".\
|
|
378
378
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
|
379
379
|
|
|
@@ -55,8 +55,10 @@ class JournalEntryLine(BaseModel):
|
|
|
55
55
|
source_levels: Optional[conlist(StrictStr)] = Field(None, alias="sourceLevels", description="Source data from the general ledger profile where the GeneralLedgerProfileCode is specified in the GetJournalEntryLines request body.")
|
|
56
56
|
movement_sign: Optional[StrictStr] = Field(None, alias="movementSign", description="Indicates if the Journal Entry Line corresponds to a Long or Short movement.")
|
|
57
57
|
holding_sign: Optional[StrictStr] = Field(None, alias="holdingSign", description="Indicates if the Journal Entry Line is operating against a Long or Short holding.")
|
|
58
|
+
ledger_column: Optional[StrictStr] = Field(None, alias="ledgerColumn", description="Indicates if the Journal Entry Line is credit or debit.")
|
|
59
|
+
journal_entry_line_type: Optional[StrictStr] = Field(None, alias="journalEntryLineType", description="Indicates the Journal Entry Line type")
|
|
58
60
|
links: Optional[conlist(Link)] = None
|
|
59
|
-
__properties = ["accountingDate", "activityDate", "portfolioId", "instrumentId", "instrumentScope", "subHoldingKeys", "taxLotId", "generalLedgerAccountCode", "local", "base", "postingModuleCode", "postingRule", "asAtDate", "activitiesDescription", "sourceType", "sourceId", "properties", "movementName", "holdingType", "economicBucket", "economicBucketComponent", "levels", "sourceLevels", "movementSign", "holdingSign", "links"]
|
|
61
|
+
__properties = ["accountingDate", "activityDate", "portfolioId", "instrumentId", "instrumentScope", "subHoldingKeys", "taxLotId", "generalLedgerAccountCode", "local", "base", "postingModuleCode", "postingRule", "asAtDate", "activitiesDescription", "sourceType", "sourceId", "properties", "movementName", "holdingType", "economicBucket", "economicBucketComponent", "levels", "sourceLevels", "movementSign", "holdingSign", "ledgerColumn", "journalEntryLineType", "links"]
|
|
60
62
|
|
|
61
63
|
class Config:
|
|
62
64
|
"""Pydantic configuration"""
|
|
@@ -167,6 +169,16 @@ class JournalEntryLine(BaseModel):
|
|
|
167
169
|
if self.holding_sign is None and "holding_sign" in self.__fields_set__:
|
|
168
170
|
_dict['holdingSign'] = None
|
|
169
171
|
|
|
172
|
+
# set to None if ledger_column (nullable) is None
|
|
173
|
+
# and __fields_set__ contains the field
|
|
174
|
+
if self.ledger_column is None and "ledger_column" in self.__fields_set__:
|
|
175
|
+
_dict['ledgerColumn'] = None
|
|
176
|
+
|
|
177
|
+
# set to None if journal_entry_line_type (nullable) is None
|
|
178
|
+
# and __fields_set__ contains the field
|
|
179
|
+
if self.journal_entry_line_type is None and "journal_entry_line_type" in self.__fields_set__:
|
|
180
|
+
_dict['journalEntryLineType'] = None
|
|
181
|
+
|
|
170
182
|
# set to None if links (nullable) is None
|
|
171
183
|
# and __fields_set__ contains the field
|
|
172
184
|
if self.links is None and "links" in self.__fields_set__:
|
|
@@ -219,6 +231,8 @@ class JournalEntryLine(BaseModel):
|
|
|
219
231
|
"source_levels": obj.get("sourceLevels"),
|
|
220
232
|
"movement_sign": obj.get("movementSign"),
|
|
221
233
|
"holding_sign": obj.get("holdingSign"),
|
|
234
|
+
"ledger_column": obj.get("ledgerColumn"),
|
|
235
|
+
"journal_entry_line_type": obj.get("journalEntryLineType"),
|
|
222
236
|
"links": [Link.from_dict(_item) for _item in obj.get("links")] if obj.get("links") is not None else None
|
|
223
237
|
})
|
|
224
238
|
return _obj
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lusid-sdk
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.18
|
|
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.
|
|
33
|
-
- Package version: 2.1.
|
|
32
|
+
- API version: 0.11.6453
|
|
33
|
+
- Package version: 2.1.18
|
|
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
|
|
|
@@ -65,7 +65,7 @@ lusid/api/transaction_portfolios_api.py,sha256=42th9dFApxhoX_mbYJHZg8mkZ4Pzt-rd4
|
|
|
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=
|
|
68
|
+
lusid/configuration.py,sha256=kS1_mJ6T2TbFfyZ6IHOtornSZQ7KdHxO080Jw0HUGHg,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
|
|
@@ -483,7 +483,7 @@ lusid/models/intermediate_compliance_step.py,sha256=BTsvWjA9bWjrKzzqB3_4YyRmvnVH
|
|
|
483
483
|
lusid/models/ir_vol_cube_data.py,sha256=2USuuiZigPzS0kwmMMTu1Ih9GHln6TAkPamcYNmUYQ4,5867
|
|
484
484
|
lusid/models/ir_vol_dependency.py,sha256=D937a4jaVJw75aCY4iQfkwVQW9T5F_vL8g6pbULBmMQ,4523
|
|
485
485
|
lusid/models/is_business_day_response.py,sha256=LMwNCeJaC1JJ1W5Qp9WkWOBQ-mBA036kPYkG7p-7Yjs,2163
|
|
486
|
-
lusid/models/journal_entry_line.py,sha256=
|
|
486
|
+
lusid/models/journal_entry_line.py,sha256=YjyJvtQU-O4v-ss1822bqmvsjBRZBKmkitL0Q2N2gws,13873
|
|
487
487
|
lusid/models/journal_entry_lines_query_parameters.py,sha256=tsqx7hMZb0WhG-dzZ0_bOUZ4w3HineT1lZpEUj8aNJg,4647
|
|
488
488
|
lusid/models/label_value_set.py,sha256=LmKlXRjeEx_uT1enh_EthgQx6e9JKNyGkBKkTd2eijI,1895
|
|
489
489
|
lusid/models/leg_definition.py,sha256=WgraquXV_a2tt9Zo4TetGUz8_CMEh-PsxI90VN_1yJk,11100
|
|
@@ -1015,6 +1015,6 @@ lusid/models/weighted_instruments.py,sha256=1y_y_vw4-LPsbkQx4FOzWdZc5fJnzhVkf1D3
|
|
|
1015
1015
|
lusid/models/yield_curve_data.py,sha256=SbxvdJ4-GWK9kpMdw4Fnxc7_kvIMwgsRsd_31UJn7nw,6330
|
|
1016
1016
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1017
1017
|
lusid/rest.py,sha256=TNUzQ3yLNT2L053EdR7R0vNzQh2J3TlYD1T56Dye0W0,10138
|
|
1018
|
-
lusid_sdk-2.1.
|
|
1019
|
-
lusid_sdk-2.1.
|
|
1020
|
-
lusid_sdk-2.1.
|
|
1018
|
+
lusid_sdk-2.1.18.dist-info/METADATA,sha256=X-TywJRyq5thIlVOsK2EKKvvJJ00pQyGu3D2fao_mpA,179736
|
|
1019
|
+
lusid_sdk-2.1.18.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
1020
|
+
lusid_sdk-2.1.18.dist-info/RECORD,,
|
|
File without changes
|