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

@@ -3080,15 +3080,15 @@ class TransactionPortfoliosApi:
3080
3080
  _request_auth=_params.get('_request_auth'))
3081
3081
 
3082
3082
  @overload
3083
- async def get_holding_contributors(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], holding_id : Annotated[conint(strict=True, ge=0), Field(..., description="The unique holding identifier")], effective_date : Annotated[Optional[datetime], Field(description="Effective date")] = None, from_trade_date : Annotated[Optional[datetime], Field(description="The from trade date, defaults to first time this holding is opened, lower bound for transactions")] = None, to_trade_date : Annotated[Optional[datetime], Field(description="The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions")] = None, include_historic : Annotated[Optional[StrictBool], Field(description="If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened.")] = None, tax_lot_id : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Constrains the Holding Contributors to those which contributed to the specified tax lot.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors.")] = None, **kwargs) -> VersionedResourceListOfHoldingContributor: # noqa: E501
3083
+ async def get_holding_contributors(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], holding_id : Annotated[conint(strict=True, ge=0), Field(..., description="The unique holding identifier")], effective_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Effective date")] = None, from_trade_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="The from trade date, defaults to first time this holding is opened, lower bound for transactions")] = None, to_trade_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions")] = None, include_historic : Annotated[Optional[StrictBool], Field(description="If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened.")] = None, tax_lot_id : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Constrains the Holding Contributors to those which contributed to the specified tax lot.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors.")] = None, **kwargs) -> VersionedResourceListOfHoldingContributor: # noqa: E501
3084
3084
  ...
3085
3085
 
3086
3086
  @overload
3087
- def get_holding_contributors(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], holding_id : Annotated[conint(strict=True, ge=0), Field(..., description="The unique holding identifier")], effective_date : Annotated[Optional[datetime], Field(description="Effective date")] = None, from_trade_date : Annotated[Optional[datetime], Field(description="The from trade date, defaults to first time this holding is opened, lower bound for transactions")] = None, to_trade_date : Annotated[Optional[datetime], Field(description="The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions")] = None, include_historic : Annotated[Optional[StrictBool], Field(description="If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened.")] = None, tax_lot_id : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Constrains the Holding Contributors to those which contributed to the specified tax lot.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors.")] = None, async_req: Optional[bool]=True, **kwargs) -> VersionedResourceListOfHoldingContributor: # noqa: E501
3087
+ def get_holding_contributors(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], holding_id : Annotated[conint(strict=True, ge=0), Field(..., description="The unique holding identifier")], effective_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Effective date")] = None, from_trade_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="The from trade date, defaults to first time this holding is opened, lower bound for transactions")] = None, to_trade_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions")] = None, include_historic : Annotated[Optional[StrictBool], Field(description="If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened.")] = None, tax_lot_id : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Constrains the Holding Contributors to those which contributed to the specified tax lot.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors.")] = None, async_req: Optional[bool]=True, **kwargs) -> VersionedResourceListOfHoldingContributor: # noqa: E501
3088
3088
  ...
3089
3089
 
3090
3090
  @validate_arguments
3091
- def get_holding_contributors(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], holding_id : Annotated[conint(strict=True, ge=0), Field(..., description="The unique holding identifier")], effective_date : Annotated[Optional[datetime], Field(description="Effective date")] = None, from_trade_date : Annotated[Optional[datetime], Field(description="The from trade date, defaults to first time this holding is opened, lower bound for transactions")] = None, to_trade_date : Annotated[Optional[datetime], Field(description="The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions")] = None, include_historic : Annotated[Optional[StrictBool], Field(description="If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened.")] = None, tax_lot_id : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Constrains the Holding Contributors to those which contributed to the specified tax lot.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[VersionedResourceListOfHoldingContributor, Awaitable[VersionedResourceListOfHoldingContributor]]: # noqa: E501
3091
+ def get_holding_contributors(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], holding_id : Annotated[conint(strict=True, ge=0), Field(..., description="The unique holding identifier")], effective_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Effective date")] = None, from_trade_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="The from trade date, defaults to first time this holding is opened, lower bound for transactions")] = None, to_trade_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions")] = None, include_historic : Annotated[Optional[StrictBool], Field(description="If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened.")] = None, tax_lot_id : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Constrains the Holding Contributors to those which contributed to the specified tax lot.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[VersionedResourceListOfHoldingContributor, Awaitable[VersionedResourceListOfHoldingContributor]]: # noqa: E501
3092
3092
  """[EARLY ACCESS] GetHoldingContributors: Get Holdings Contributors # noqa: E501
3093
3093
 
3094
3094
  Lists all transactions that affect the holdings of a portfolio over a given effective interval. This includes transactions automatically generated by LUSID such as holding adjustments. # noqa: E501
@@ -3105,11 +3105,11 @@ class TransactionPortfoliosApi:
3105
3105
  :param holding_id: The unique holding identifier (required)
3106
3106
  :type holding_id: int
3107
3107
  :param effective_date: Effective date
3108
- :type effective_date: datetime
3108
+ :type effective_date: str
3109
3109
  :param from_trade_date: The from trade date, defaults to first time this holding is opened, lower bound for transactions
3110
- :type from_trade_date: datetime
3110
+ :type from_trade_date: str
3111
3111
  :param to_trade_date: The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions
3112
- :type to_trade_date: datetime
3112
+ :type to_trade_date: str
3113
3113
  :param include_historic: If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened.
3114
3114
  :type include_historic: bool
3115
3115
  :param tax_lot_id: Constrains the Holding Contributors to those which contributed to the specified tax lot.
@@ -3140,7 +3140,7 @@ class TransactionPortfoliosApi:
3140
3140
  return self.get_holding_contributors_with_http_info(scope, code, holding_id, effective_date, from_trade_date, to_trade_date, include_historic, tax_lot_id, limit, as_at, page, **kwargs) # noqa: E501
3141
3141
 
3142
3142
  @validate_arguments
3143
- def get_holding_contributors_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], holding_id : Annotated[conint(strict=True, ge=0), Field(..., description="The unique holding identifier")], effective_date : Annotated[Optional[datetime], Field(description="Effective date")] = None, from_trade_date : Annotated[Optional[datetime], Field(description="The from trade date, defaults to first time this holding is opened, lower bound for transactions")] = None, to_trade_date : Annotated[Optional[datetime], Field(description="The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions")] = None, include_historic : Annotated[Optional[StrictBool], Field(description="If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened.")] = None, tax_lot_id : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Constrains the Holding Contributors to those which contributed to the specified tax lot.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors.")] = None, **kwargs) -> ApiResponse: # noqa: E501
3143
+ def get_holding_contributors_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], holding_id : Annotated[conint(strict=True, ge=0), Field(..., description="The unique holding identifier")], effective_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Effective date")] = None, from_trade_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="The from trade date, defaults to first time this holding is opened, lower bound for transactions")] = None, to_trade_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions")] = None, include_historic : Annotated[Optional[StrictBool], Field(description="If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened.")] = None, tax_lot_id : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Constrains the Holding Contributors to those which contributed to the specified tax lot.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors.")] = None, **kwargs) -> ApiResponse: # noqa: E501
3144
3144
  """[EARLY ACCESS] GetHoldingContributors: Get Holdings Contributors # noqa: E501
3145
3145
 
3146
3146
  Lists all transactions that affect the holdings of a portfolio over a given effective interval. This includes transactions automatically generated by LUSID such as holding adjustments. # noqa: E501
@@ -3157,11 +3157,11 @@ class TransactionPortfoliosApi:
3157
3157
  :param holding_id: The unique holding identifier (required)
3158
3158
  :type holding_id: int
3159
3159
  :param effective_date: Effective date
3160
- :type effective_date: datetime
3160
+ :type effective_date: str
3161
3161
  :param from_trade_date: The from trade date, defaults to first time this holding is opened, lower bound for transactions
3162
- :type from_trade_date: datetime
3162
+ :type from_trade_date: str
3163
3163
  :param to_trade_date: The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions
3164
- :type to_trade_date: datetime
3164
+ :type to_trade_date: str
3165
3165
  :param include_historic: If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened.
3166
3166
  :type include_historic: bool
3167
3167
  :param tax_lot_id: Constrains the Holding Contributors to those which contributed to the specified tax lot.
@@ -3251,22 +3251,13 @@ class TransactionPortfoliosApi:
3251
3251
  # process the query parameters
3252
3252
  _query_params = []
3253
3253
  if _params.get('effective_date') is not None: # noqa: E501
3254
- if isinstance(_params['effective_date'], datetime):
3255
- _query_params.append(('effectiveDate', _params['effective_date'].strftime(self.api_client.configuration.datetime_format)))
3256
- else:
3257
- _query_params.append(('effectiveDate', _params['effective_date']))
3254
+ _query_params.append(('effectiveDate', _params['effective_date']))
3258
3255
 
3259
3256
  if _params.get('from_trade_date') is not None: # noqa: E501
3260
- if isinstance(_params['from_trade_date'], datetime):
3261
- _query_params.append(('fromTradeDate', _params['from_trade_date'].strftime(self.api_client.configuration.datetime_format)))
3262
- else:
3263
- _query_params.append(('fromTradeDate', _params['from_trade_date']))
3257
+ _query_params.append(('fromTradeDate', _params['from_trade_date']))
3264
3258
 
3265
3259
  if _params.get('to_trade_date') is not None: # noqa: E501
3266
- if isinstance(_params['to_trade_date'], datetime):
3267
- _query_params.append(('toTradeDate', _params['to_trade_date'].strftime(self.api_client.configuration.datetime_format)))
3268
- else:
3269
- _query_params.append(('toTradeDate', _params['to_trade_date']))
3260
+ _query_params.append(('toTradeDate', _params['to_trade_date']))
3270
3261
 
3271
3262
  if _params.get('include_historic') is not None: # noqa: E501
3272
3263
  _query_params.append(('includeHistoric', _params['include_historic']))
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.6450\n"\
376
+ "Version of the API: 0.11.6454\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
lusid/models/version.py CHANGED
@@ -34,7 +34,8 @@ class Version(BaseModel):
34
34
  user_id_modified: Optional[StrictStr] = Field(None, alias="userIdModified", description="The unique id of the user who last updated the entity (including its properties) in LUSID.")
35
35
  request_id_modified: Optional[StrictStr] = Field(None, alias="requestIdModified", description="The unique request id of the command that last updated the entity (including its properties) in LUSID.")
36
36
  as_at_version_number: Optional[StrictInt] = Field(None, alias="asAtVersionNumber", description="The integer version number for the entity (the entity was created at version 1)")
37
- __properties = ["effectiveFrom", "asAtDate", "asAtCreated", "userIdCreated", "requestIdCreated", "asAtModified", "userIdModified", "requestIdModified", "asAtVersionNumber"]
37
+ entity_unique_id: Optional[StrictStr] = Field(None, alias="entityUniqueId", description="The unique id of the entity")
38
+ __properties = ["effectiveFrom", "asAtDate", "asAtCreated", "userIdCreated", "requestIdCreated", "asAtModified", "userIdModified", "requestIdModified", "asAtVersionNumber", "entityUniqueId"]
38
39
 
39
40
  class Config:
40
41
  """Pydantic configuration"""
@@ -65,6 +66,7 @@ class Version(BaseModel):
65
66
  "user_id_modified",
66
67
  "request_id_modified",
67
68
  "as_at_version_number",
69
+ "entity_unique_id",
68
70
  },
69
71
  exclude_none=True)
70
72
  # set to None if as_at_created (nullable) is None
@@ -102,6 +104,11 @@ class Version(BaseModel):
102
104
  if self.as_at_version_number is None and "as_at_version_number" in self.__fields_set__:
103
105
  _dict['asAtVersionNumber'] = None
104
106
 
107
+ # set to None if entity_unique_id (nullable) is None
108
+ # and __fields_set__ contains the field
109
+ if self.entity_unique_id is None and "entity_unique_id" in self.__fields_set__:
110
+ _dict['entityUniqueId'] = None
111
+
105
112
  return _dict
106
113
 
107
114
  @classmethod
@@ -122,6 +129,7 @@ class Version(BaseModel):
122
129
  "as_at_modified": obj.get("asAtModified"),
123
130
  "user_id_modified": obj.get("userIdModified"),
124
131
  "request_id_modified": obj.get("requestIdModified"),
125
- "as_at_version_number": obj.get("asAtVersionNumber")
132
+ "as_at_version_number": obj.get("asAtVersionNumber"),
133
+ "entity_unique_id": obj.get("entityUniqueId")
126
134
  })
127
135
  return _obj
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lusid-sdk
3
- Version: 2.1.15
3
+ Version: 2.1.19
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.6450
33
- - Package version: 2.1.15
32
+ - API version: 0.11.6454
33
+ - Package version: 2.1.19
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
 
@@ -61,11 +61,11 @@ lusid/api/system_configuration_api.py,sha256=aOgevINKgf3CDjXN4cW6R-eoTYfvz8me_wV
61
61
  lusid/api/tax_rule_sets_api.py,sha256=wbF6-lv5DMCglbExtQFB5wyAVRJxNJWROyq2lyb7qR8,50024
62
62
  lusid/api/transaction_configuration_api.py,sha256=BVe83Sp6eRpzjpQPEx2jMEbo55Vu6pa7tbL9bEv-ZGY,107626
63
63
  lusid/api/transaction_fees_api.py,sha256=xVH3EPyc0clDSNivBO57PsKxaVNT3evVvPdfYWooyyM,64512
64
- lusid/api/transaction_portfolios_api.py,sha256=42th9dFApxhoX_mbYJHZg8mkZ4Pzt-rd4nHmCeaWNHM,555269
64
+ lusid/api/transaction_portfolios_api.py,sha256=q6AoYasxV3LQDossmM2BdJSo3arh526yUW34VPbxGmE,555070
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=L86K3BeaAzbnueRlJAYO0uAyGXlr5CWUOy4zor1aXXk,14404
68
+ lusid/configuration.py,sha256=hJbgJ30b8kMWAV0c4xkFUPvjz4e0oi4g3CsYauRAURM,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=qaAgj8pBLMY5mmHXws_T6t_izkofcSVb3rHh6Hibl74,12917
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
@@ -993,7 +993,7 @@ lusid/models/value_type.py,sha256=jHK4tNBGG6VZsoUobxgcuY59JiMYF7YVSqu_tyYyL8U,12
993
993
  lusid/models/vendor_dependency.py,sha256=aoSaZxqR2Sa-oE9DAggXJMoXqnPsej_v1lcmOuwqmsM,4307
994
994
  lusid/models/vendor_library.py,sha256=Fx8zktN5UuefXUGb27Pgw-N3grsyVMvjOs_3Lw_S4Ow,812
995
995
  lusid/models/vendor_model_rule.py,sha256=lsuNCUYeK86M2S2iJdkTkFzqFBqFOpIutIuV40X9Nlo,6263
996
- lusid/models/version.py,sha256=Wf-eGjEQTSp5PkyWlEgI-NFD57B-AqwejxmJzqvvdxo,6007
996
+ lusid/models/version.py,sha256=D2hOEbOR1K5W4EzjtrU-5gD_GM-KhkUrra8WCV7Zo90,6496
997
997
  lusid/models/version_summary_dto.py,sha256=EjzyYugLxgsO8_myJU-egpQhRKdYD8AIljKRE2hZh14,3584
998
998
  lusid/models/versioned_resource_list_of_a2_b_data_record.py,sha256=3X4yY5NWFUONWvWDFU4y6xne9BTmYIzI4Mh31_Cb0QY,4522
999
999
  lusid/models/versioned_resource_list_of_a2_b_movement_record.py,sha256=rTddKkdkTeYGLNi00LwFiyva2i_ayLiNQ3-flIhdj8I,4570
@@ -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.15.dist-info/METADATA,sha256=8Wr6k26w8mPk7S37MtIU0ZcAeAd-bB3WIMwYVye75x4,179736
1019
- lusid_sdk-2.1.15.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
1020
- lusid_sdk-2.1.15.dist-info/RECORD,,
1018
+ lusid_sdk-2.1.19.dist-info/METADATA,sha256=ES5dnNGBuT0oNJVZn6spwG5nhUfb-8Wkqp9Zxvd4X04,179736
1019
+ lusid_sdk-2.1.19.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
1020
+ lusid_sdk-2.1.19.dist-info/RECORD,,