lusid-sdk 2.1.767__py3-none-any.whl → 2.1.768__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.
@@ -787,15 +787,15 @@ class IdentifierDefinitionsApi:
787
787
 
788
788
 
789
789
  @overload
790
- async def update_identifier_definition(self, domain : Annotated[StrictStr, Field(..., description="The type of entity to which the identifier relates")], identifier_scope : Annotated[StrictStr, Field(..., description="The scope that the identifier exists in")], identifier_type : Annotated[StrictStr, Field(..., description="What the identifier represents. Together with \"domain\" and \"identifierScope\" this uniquely identifies the Identifier Definition")], update_identifier_definition_request : Annotated[Optional[UpdateIdentifierDefinitionRequest], Field(description="The request containing the updated details of the ruleset")] = None, **kwargs) -> IdentifierDefinition: # noqa: E501
790
+ async def update_identifier_definition(self, domain : Annotated[StrictStr, Field(..., description="The type of entity to which the identifier relates")], identifier_scope : Annotated[StrictStr, Field(..., description="The scope that the identifier exists in")], identifier_type : Annotated[StrictStr, Field(..., description="What the identifier represents. Together with \"domain\" and \"identifierScope\" this uniquely identifies the Identifier Definition")], update_identifier_definition_request : Annotated[Optional[UpdateIdentifierDefinitionRequest], Field(description="The request containing the updated details of the Identifier Definition.")] = None, **kwargs) -> IdentifierDefinition: # noqa: E501
791
791
  ...
792
792
 
793
793
  @overload
794
- def update_identifier_definition(self, domain : Annotated[StrictStr, Field(..., description="The type of entity to which the identifier relates")], identifier_scope : Annotated[StrictStr, Field(..., description="The scope that the identifier exists in")], identifier_type : Annotated[StrictStr, Field(..., description="What the identifier represents. Together with \"domain\" and \"identifierScope\" this uniquely identifies the Identifier Definition")], update_identifier_definition_request : Annotated[Optional[UpdateIdentifierDefinitionRequest], Field(description="The request containing the updated details of the ruleset")] = None, async_req: Optional[bool]=True, **kwargs) -> IdentifierDefinition: # noqa: E501
794
+ def update_identifier_definition(self, domain : Annotated[StrictStr, Field(..., description="The type of entity to which the identifier relates")], identifier_scope : Annotated[StrictStr, Field(..., description="The scope that the identifier exists in")], identifier_type : Annotated[StrictStr, Field(..., description="What the identifier represents. Together with \"domain\" and \"identifierScope\" this uniquely identifies the Identifier Definition")], update_identifier_definition_request : Annotated[Optional[UpdateIdentifierDefinitionRequest], Field(description="The request containing the updated details of the Identifier Definition.")] = None, async_req: Optional[bool]=True, **kwargs) -> IdentifierDefinition: # noqa: E501
795
795
  ...
796
796
 
797
797
  @validate_arguments
798
- def update_identifier_definition(self, domain : Annotated[StrictStr, Field(..., description="The type of entity to which the identifier relates")], identifier_scope : Annotated[StrictStr, Field(..., description="The scope that the identifier exists in")], identifier_type : Annotated[StrictStr, Field(..., description="What the identifier represents. Together with \"domain\" and \"identifierScope\" this uniquely identifies the Identifier Definition")], update_identifier_definition_request : Annotated[Optional[UpdateIdentifierDefinitionRequest], Field(description="The request containing the updated details of the ruleset")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[IdentifierDefinition, Awaitable[IdentifierDefinition]]: # noqa: E501
798
+ def update_identifier_definition(self, domain : Annotated[StrictStr, Field(..., description="The type of entity to which the identifier relates")], identifier_scope : Annotated[StrictStr, Field(..., description="The scope that the identifier exists in")], identifier_type : Annotated[StrictStr, Field(..., description="What the identifier represents. Together with \"domain\" and \"identifierScope\" this uniquely identifies the Identifier Definition")], update_identifier_definition_request : Annotated[Optional[UpdateIdentifierDefinitionRequest], Field(description="The request containing the updated details of the Identifier Definition.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[IdentifierDefinition, Awaitable[IdentifierDefinition]]: # noqa: E501
799
799
  """[EXPERIMENTAL] UpdateIdentifierDefinition: Update Identifier Definition defined by domain, identifierScope, and identifierType # noqa: E501
800
800
 
801
801
  Overwrites an existing Identifier Definition. # noqa: E501
@@ -811,7 +811,7 @@ class IdentifierDefinitionsApi:
811
811
  :type identifier_scope: str
812
812
  :param identifier_type: What the identifier represents. Together with \"domain\" and \"identifierScope\" this uniquely identifies the Identifier Definition (required)
813
813
  :type identifier_type: str
814
- :param update_identifier_definition_request: The request containing the updated details of the ruleset
814
+ :param update_identifier_definition_request: The request containing the updated details of the Identifier Definition.
815
815
  :type update_identifier_definition_request: UpdateIdentifierDefinitionRequest
816
816
  :param async_req: Whether to execute the request asynchronously.
817
817
  :type async_req: bool, optional
@@ -832,7 +832,7 @@ class IdentifierDefinitionsApi:
832
832
  return self.update_identifier_definition_with_http_info(domain, identifier_scope, identifier_type, update_identifier_definition_request, **kwargs) # noqa: E501
833
833
 
834
834
  @validate_arguments
835
- def update_identifier_definition_with_http_info(self, domain : Annotated[StrictStr, Field(..., description="The type of entity to which the identifier relates")], identifier_scope : Annotated[StrictStr, Field(..., description="The scope that the identifier exists in")], identifier_type : Annotated[StrictStr, Field(..., description="What the identifier represents. Together with \"domain\" and \"identifierScope\" this uniquely identifies the Identifier Definition")], update_identifier_definition_request : Annotated[Optional[UpdateIdentifierDefinitionRequest], Field(description="The request containing the updated details of the ruleset")] = None, **kwargs) -> ApiResponse: # noqa: E501
835
+ def update_identifier_definition_with_http_info(self, domain : Annotated[StrictStr, Field(..., description="The type of entity to which the identifier relates")], identifier_scope : Annotated[StrictStr, Field(..., description="The scope that the identifier exists in")], identifier_type : Annotated[StrictStr, Field(..., description="What the identifier represents. Together with \"domain\" and \"identifierScope\" this uniquely identifies the Identifier Definition")], update_identifier_definition_request : Annotated[Optional[UpdateIdentifierDefinitionRequest], Field(description="The request containing the updated details of the Identifier Definition.")] = None, **kwargs) -> ApiResponse: # noqa: E501
836
836
  """[EXPERIMENTAL] UpdateIdentifierDefinition: Update Identifier Definition defined by domain, identifierScope, and identifierType # noqa: E501
837
837
 
838
838
  Overwrites an existing Identifier Definition. # noqa: E501
@@ -848,7 +848,7 @@ class IdentifierDefinitionsApi:
848
848
  :type identifier_scope: str
849
849
  :param identifier_type: What the identifier represents. Together with \"domain\" and \"identifierScope\" this uniquely identifies the Identifier Definition (required)
850
850
  :type identifier_type: str
851
- :param update_identifier_definition_request: The request containing the updated details of the ruleset
851
+ :param update_identifier_definition_request: The request containing the updated details of the Identifier Definition.
852
852
  :type update_identifier_definition_request: UpdateIdentifierDefinitionRequest
853
853
  :param async_req: Whether to execute the request asynchronously.
854
854
  :type async_req: bool, optional
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.7687\n"\
448
+ "Version of the API: 0.11.7691\n"\
449
449
  "SDK Package Version: {package_version}".\
450
450
  format(env=sys.platform, pyversion=sys.version, package_version=package_version)
451
451
 
@@ -34,7 +34,7 @@ class CreateGroupReconciliationDefinitionRequest(BaseModel):
34
34
  """
35
35
  id: Optional[ResourceId] = None
36
36
  display_name: StrictStr = Field(...,alias="displayName", description="The name of the Group Reconciliation Definition")
37
- description: StrictStr = Field(...,alias="description", description="The description of the Group Reconciliation Definition")
37
+ description: Optional[StrictStr] = Field(None,alias="description", description="The description of the Group Reconciliation Definition")
38
38
  portfolio_entity_ids: GroupReconciliationDefinitionPortfolioEntityIds = Field(..., alias="portfolioEntityIds")
39
39
  recipe_ids: Optional[GroupReconciliationDefinitionRecipeIds] = Field(None, alias="recipeIds")
40
40
  currencies: Optional[GroupReconciliationDefinitionCurrencies] = None
@@ -96,6 +96,11 @@ class CreateGroupReconciliationDefinitionRequest(BaseModel):
96
96
  # override the default output from pydantic by calling `to_dict()` of break_code_source
97
97
  if self.break_code_source:
98
98
  _dict['breakCodeSource'] = self.break_code_source.to_dict()
99
+ # set to None if description (nullable) is None
100
+ # and __fields_set__ contains the field
101
+ if self.description is None and "description" in self.__fields_set__:
102
+ _dict['description'] = None
103
+
99
104
  return _dict
100
105
 
101
106
  @classmethod
@@ -32,7 +32,7 @@ class UpdateGroupReconciliationDefinitionRequest(BaseModel):
32
32
  UpdateGroupReconciliationDefinitionRequest
33
33
  """
34
34
  display_name: StrictStr = Field(...,alias="displayName", description="The name of the Group Reconciliation Definition")
35
- description: StrictStr = Field(...,alias="description", description="The description of the Group Reconciliation Definition")
35
+ description: Optional[StrictStr] = Field(None,alias="description", description="The description of the Group Reconciliation Definition")
36
36
  portfolio_entity_ids: GroupReconciliationDefinitionPortfolioEntityIds = Field(..., alias="portfolioEntityIds")
37
37
  recipe_ids: Optional[GroupReconciliationDefinitionRecipeIds] = Field(None, alias="recipeIds")
38
38
  currencies: Optional[GroupReconciliationDefinitionCurrencies] = None
@@ -91,6 +91,11 @@ class UpdateGroupReconciliationDefinitionRequest(BaseModel):
91
91
  # override the default output from pydantic by calling `to_dict()` of break_code_source
92
92
  if self.break_code_source:
93
93
  _dict['breakCodeSource'] = self.break_code_source.to_dict()
94
+ # set to None if description (nullable) is None
95
+ # and __fields_set__ contains the field
96
+ if self.description is None and "description" in self.__fields_set__:
97
+ _dict['description'] = None
98
+
94
99
  return _dict
95
100
 
96
101
  @classmethod
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lusid-sdk
3
- Version: 2.1.767
3
+ Version: 2.1.768
4
4
  Summary: LUSID API
5
5
  Home-page: https://github.com/finbourne/lusid-sdk-python
6
6
  License: MIT
@@ -29,7 +29,7 @@ lusid/api/fee_types_api.py,sha256=qRVfNS91XHBlD_CrewsPMsetIHB6M0mn3RWbD4LTuro,54
29
29
  lusid/api/fund_configuration_api.py,sha256=S4x4AZbacsLqvnHM2YJPppeWWdmXe4Nj-UGFbwU08EU,72655
30
30
  lusid/api/funds_api.py,sha256=ZM47ve9di_m4tmBiA7ZFw-TP4QoIM7O2NnNvkgNs1nA,311756
31
31
  lusid/api/group_reconciliations_api.py,sha256=U8qg3jGd39E1epaiOcjOV_uO8BUivbvKAdujvQ5fFNE,163197
32
- lusid/api/identifier_definitions_api.py,sha256=8SwDTTyESQDH3ukAWR6hJSTruknroV-LC1cAS4v8Afg,64215
32
+ lusid/api/identifier_definitions_api.py,sha256=x79uhIBI0BJITjwmE7oPMWFOtox60FrrL9Dq4YH60MI,64305
33
33
  lusid/api/instrument_event_types_api.py,sha256=RHuGNd8Xf8x0vyvAUFwRNgEB_kpzQTtbsBwlFC3QJcs,79862
34
34
  lusid/api/instrument_events_api.py,sha256=o_VlUMrovreM3P6N84W5jMUrZmc6tVsvD7Ckhf05sfw,57764
35
35
  lusid/api/instruments_api.py,sha256=-pOWq9bPcXvXULKV-FPWlRugZuBEPwVp2oPX91PEzTs,298533
@@ -74,7 +74,7 @@ lusid/api/translation_api.py,sha256=xpRuTfwQvYBlWe6r_L2EI_uVpXqHFnEOim-i-kVQ85E,
74
74
  lusid/api/workspace_api.py,sha256=QmcywrL34lbVo4CbSwyyJDh0kRG7Gt91xrQB0ShqQQQ,106017
75
75
  lusid/api_client.py,sha256=ewMTmf9SRurY8pYnUx9jy24RdldPCOa4US38pnrVxjA,31140
76
76
  lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
77
- lusid/configuration.py,sha256=Gju4BV1b7kYPncyf_r7aJ4tpK3APg0-2NuLhkNbVWiQ,17972
77
+ lusid/configuration.py,sha256=k2YruhmWa60O49NuR6DUtk6Kqd5KAubbNdBY2nrbERM,17972
78
78
  lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
79
79
  lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
80
80
  lusid/extensions/api_client.py,sha256=GzygWg_h603QK1QS2HvAijuE2R1TnvoF6-Yg0CeM3ug,30943
@@ -325,7 +325,7 @@ lusid/models/create_date_request.py,sha256=H3zNFzdDVkQSkpBMhrY-9Js3II7F62whbryp_
325
325
  lusid/models/create_derived_property_definition_request.py,sha256=0E-hQjvc0fLuF8_GY4tj6e43B_-xKlD72BZk_CWyAUQ,11708
326
326
  lusid/models/create_derived_transaction_portfolio_request.py,sha256=uRvuKQG4WsTIL6cRdrw_Q-RliEkH7NIIpk4bZKk_VVE,13618
327
327
  lusid/models/create_group_reconciliation_comparison_ruleset_request.py,sha256=qCOXz2WI-2JuupJjmytcsyX0catwBxPwOe0rMne-TjU,4736
328
- lusid/models/create_group_reconciliation_definition_request.py,sha256=gRU5vz7tKisP4EXo5rQft6CT65F8gPDdJCJCzaay3dI,6430
328
+ lusid/models/create_group_reconciliation_definition_request.py,sha256=4qjYMmVXhoeEpM5haaopu3TYwDsj1cjiArvNMEox2gk,6664
329
329
  lusid/models/create_identifier_definition_request.py,sha256=UgRHWfvk9L2gLWM6o575liLb1Kz17eAWNdPs8skmVf0,17058
330
330
  lusid/models/create_portfolio_details.py,sha256=byFIqrnNMKFXuuCM5EeCEbKf4dyJywBShTMVEtg8ntM,2596
331
331
  lusid/models/create_portfolio_group_request.py,sha256=FbVEGx14vABr_IpiJAayBuDvxXENjEGCEoTIAtK_btQ,6378
@@ -1192,7 +1192,7 @@ lusid/models/update_deposit_amount_event.py,sha256=5gwcouaZaeRyKCZGkvmY6Dv4LS9hK
1192
1192
  lusid/models/update_derived_property_definition_request.py,sha256=QKGPB9l6k9Uawzxdk-0LwnKkFiTOjDjiiM2Yp9uzviw,3837
1193
1193
  lusid/models/update_fee_type_request.py,sha256=x26j1BP3azrptx6DcSSwXO-r9nPwZm9m1wXzHQssQVg,3454
1194
1194
  lusid/models/update_group_reconciliation_comparison_ruleset_request.py,sha256=NG4_r2q95U6nSI9hHABa-HHY7Y7fVyGvGo1yBzYwvBM,4411
1195
- lusid/models/update_group_reconciliation_definition_request.py,sha256=S8OgmqNUFiKHktt1VCAhENE4Sfcck5O_6l9yuPQsTu0,6101
1195
+ lusid/models/update_group_reconciliation_definition_request.py,sha256=d5fbVPiVyhWgMJY7_DARjaBQoLTxqzkjnnifckIHcH4,6335
1196
1196
  lusid/models/update_identifier_definition_request.py,sha256=cvzJQ75M_Le-WE-HGnybN2PAlNmEamMoTOysWyHBBVw,4459
1197
1197
  lusid/models/update_instrument_identifier_request.py,sha256=4v0pAAjyRO_0T4fvyldIm6LEiwTDAYgyUenJeUAmq1g,3294
1198
1198
  lusid/models/update_orders_response.py,sha256=TsYFYDw24qGRfIrwgiWGUVzbCAa0qdXpe0kWFkKQFh0,6208
@@ -1298,6 +1298,6 @@ lusid/models/year_month_day.py,sha256=gwSoxFwlD_wffKdddo1wfvAcLq3Cht3FHQidiaHzAA
1298
1298
  lusid/models/yield_curve_data.py,sha256=I1ZSWxHMgUxj9OQt6i9a4S91KB4_XtmrfFxpN_PV3YQ,9561
1299
1299
  lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1300
1300
  lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
1301
- lusid_sdk-2.1.767.dist-info/METADATA,sha256=ER1fpzBzkNoTz45e2tLgL3plxPA_IX6DSHieh8nu1sw,217812
1302
- lusid_sdk-2.1.767.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
1303
- lusid_sdk-2.1.767.dist-info/RECORD,,
1301
+ lusid_sdk-2.1.768.dist-info/METADATA,sha256=iJOpzHYbuLDWW9wIPyGkGdFll6XznuwOIia1rT7zAYk,217812
1302
+ lusid_sdk-2.1.768.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
1303
+ lusid_sdk-2.1.768.dist-info/RECORD,,