lusid-sdk 2.0.430__py3-none-any.whl → 2.0.432__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/models/fx_swap.py CHANGED
@@ -25,7 +25,7 @@ from lusid.models.lusid_instrument import LusidInstrument
25
25
 
26
26
  class FxSwap(LusidInstrument):
27
27
  """
28
- LUSID representation of an FX Swap. Composed of two FX Forwards. This instrument has multiple legs, to see how legs are used in LUSID see [knowledge base article KA-02252](https://support.lusid.com/knowledgebase/article/KA-02252). | Leg Index | Leg Identifier | Description | | --------- | -------------- | ----------- | | 1 | NearDomesticLeg | Cash flows in the domestic currency for the near forward. | | 2 | NearForeignLeg | Cash flows in the foreign currency for the near forward (not present for non-deliverable forwards). | | 3 | FarDomesticLeg | Cash flows in the domestic currency for the far forward. | | 4 | FarForeignLeg | Cash flows in the foreign currency for the far forward (not present for non-deliverable forwards). | # noqa: E501
28
+ LUSID representation of an FX Swap. Composed of two FX Forwards. This instrument has multiple legs, to see how legs are used in LUSID see [knowledge base article KA-02252](https://support.lusid.com/knowledgebase/article/KA-02252). | Leg Index | Leg Identifier | Description | | --------- | -------------- | ----------- | | 1 | FarDomesticLeg | Cash flows in the domestic currency for the far forward. | | 2 | FarForeignLeg | Cash flows in the foreign currency for the far forward (not present for non-deliverable forwards). | | 3 | NearDomesticLeg | Cash flows in the domestic currency for the near forward. | | 4 | NearForeignLeg | Cash flows in the foreign currency for the near forward (not present for non-deliverable forwards). | # noqa: E501
29
29
  """
30
30
  near_fx_forward: FxForward = Field(..., alias="nearFxForward")
31
31
  far_fx_forward: FxForward = Field(..., alias="farFxForward")
lusid/rest.py CHANGED
@@ -159,7 +159,7 @@ class RESTClientObject:
159
159
  # Pass a `bytes` parameter directly in the body to support
160
160
  # other content types than Json when `body` argument is provided
161
161
  # in serialized form
162
- elif isinstance(body, bytes):
162
+ elif isinstance(body, str) or isinstance(body, bytes):
163
163
  args["data"] = body
164
164
  else:
165
165
  # Cannot generate the request from given parameters
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lusid-sdk
3
- Version: 2.0.430
3
+ Version: 2.0.432
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.6377
33
- - Package version: 2.0.430
32
+ - API version: 0.11.6379
33
+ - Package version: 2.0.432
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
 
@@ -1,5 +1,5 @@
1
- lusid/__init__.py,sha256=4qMAGxrpbwwqVZRapjP5DJY8b-2m70wh_nX2k-EEojI,71491
2
- lusid/api/__init__.py,sha256=qpMrgIJyy4de85dB6cCOj3DWmF9MFDE5ML1nzQkGcaA,3612
1
+ lusid/__init__.py,sha256=uB1LijWMu7XTx5uvOXB3te6znHvdvXhoA4u0Gma5a6k,101025
2
+ lusid/api/__init__.py,sha256=RdfLWVjdUAASrYQnF0XXzX83daJEf7u6uwnwHegMs_c,5115
3
3
  lusid/api/abor_api.py,sha256=c7jUtAQLrgCgnkNCLLTkelIoU-Yd674I3-4kVDnIJlc,149936
4
4
  lusid/api/abor_configuration_api.py,sha256=SBpk45BSb-XcS06xkpycyg6Q2U4hpiuftgmF4v9L7x0,64027
5
5
  lusid/api/address_key_definition_api.py,sha256=7f7UvEzHKEfQLcR_NgABxJmfIIz2ujTM__wnUdJCqyg,31634
@@ -62,9 +62,9 @@ lusid/api/transaction_portfolios_api.py,sha256=Q-RvuNmYL4drz4LeytNHRCmvrWwxfnPnT
62
62
  lusid/api/translation_api.py,sha256=8_YL07_CYCI-FV4jMdiq7zlsDXqvkPMFQPyT6NL4jvU,20086
63
63
  lusid/api_client.py,sha256=dF6l9RAsdxdQjf6Qn4ny6LB-QXlJmsscWiozCvyyBFA,30709
64
64
  lusid/api_response.py,sha256=uCehWdXXDnAO2HAHGKe0SgpQ_mJiGDbcu-BHDF3n_IM,852
65
- lusid/configuration.py,sha256=UBzGFuuKEqWvwaMPLuj8aTxSTYrWaMVyox9woWx2cmI,14404
65
+ lusid/configuration.py,sha256=x_nIj1lw2eSYMFoiYtpH9MJY89_1H4p46L102HLF7Kg,14404
66
66
  lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
67
- lusid/extensions/__init__.py,sha256=QaILYsqEVSZlNudYB0wu8sOsx1NCZeqyZE8NbsH4CJY,276
67
+ lusid/extensions/__init__.py,sha256=DeUuQP7yTcklJH7LT-bw9wQhKEggcs1KwQbPbFcOlhw,560
68
68
  lusid/extensions/api_client.py,sha256=Ob06urm4Em3MLzgP_geyeeGsPCkU225msW_1kpIeABM,30567
69
69
  lusid/extensions/api_client_factory.py,sha256=UHczRh7tRs6uOdmQEGNRxbJag0mpjRUW5V757lCU3rE,9673
70
70
  lusid/extensions/api_configuration.py,sha256=LbuhaM-PcrY0a4cZ-ff7GBP8UybSqI5Ys2WQOBcr_8I,8052
@@ -75,7 +75,7 @@ lusid/extensions/rest.py,sha256=tjVCu-cRrYcjp-ttB975vebPKtBNyBWaeoAdO3QXG2I,1269
75
75
  lusid/extensions/retry.py,sha256=orBJ1uF1iT1IncjWX1iGHVqsCgTh0SBe9rtiV_sPnwk,11564
76
76
  lusid/extensions/socket_keep_alive.py,sha256=NGlqsv-E25IjJOLGZhXZY6kUdx51nEF8qCQyVdzayRk,1653
77
77
  lusid/extensions/tcp_keep_alive_connector.py,sha256=zaGtUsygRsxB1_4B3x39K3ILwztdhMLDv5bFZV7zmGE,3877
78
- lusid/models/__init__.py,sha256=SUROlvvf-SttOpiuJzGQ1esXtiRRKlvKZOFFtuWBvHE,67470
78
+ lusid/models/__init__.py,sha256=YUzVk9WO2RFZ343PA_lxLy2qTcIEcKo9xuESDqYfdJ0,94952
79
79
  lusid/models/a2_b_breakdown.py,sha256=MmG2do_CuV3zyMZJP0BORoG_jTe0G308IjBYhSZbpUw,2944
80
80
  lusid/models/a2_b_category.py,sha256=DKiB3y93L3-MXpqRqGo93PeFlvD4ZjnQfH489NRLQVc,2722
81
81
  lusid/models/a2_b_data_record.py,sha256=Xey2yvdCY9D-oBM_0Z5QIxboMAIzxKAgHcrvKie7Ypk,9734
@@ -395,7 +395,7 @@ lusid/models/fx_forwards_dependency.py,sha256=o9x4l9ut0t6_GqCELIv6O6GZktbfEoVbUZ
395
395
  lusid/models/fx_linked_notional_schedule.py,sha256=s0-yVsUgW9puAJow11JwSgIBRvjq9NZjh-8W_vWYU3U,5405
396
396
  lusid/models/fx_option.py,sha256=1nX7yhS7mW5WaMkubZhy-UHxPFgKL3ubTRG8zmWKuWU,11846
397
397
  lusid/models/fx_rate_schedule.py,sha256=lF8TXcuEUATfbdTTh4d6hUYci-Dz1llP8nSbJivTr8g,5180
398
- lusid/models/fx_swap.py,sha256=6Hgd6qLa_0iaYhcjigsoYS-uu4qyIdKmzZt-wnewdbw,6945
398
+ lusid/models/fx_swap.py,sha256=ll2k9Qsg3g7U2fK8aftMJX1PP62sGOrnx1PS7O4hsuY,6945
399
399
  lusid/models/fx_tenor_convention.py,sha256=Sh9fFshnrZrp4oeLbCKiyX4s01r69xvMEWjfoPcqdaI,2453
400
400
  lusid/models/fx_vol_dependency.py,sha256=Z7I3Cmger1y-MTRPT90ctdyfmKpFMYWVVPzImCqKmmw,4945
401
401
  lusid/models/fx_vol_surface_data.py,sha256=0T3kBjhW0uW11toVKUsBcxYcMsytz7SEyWXrNv5BQd4,5829
@@ -989,7 +989,7 @@ lusid/models/weighted_instrument_in_line_lookup_identifiers.py,sha256=fxxd33EAvj
989
989
  lusid/models/weighted_instruments.py,sha256=M2Mr7KTAcMS40g309xatBHDhvYk3g61yigx0QcO7Uuw,2540
990
990
  lusid/models/yield_curve_data.py,sha256=i2MHEJe9kdTTgxQFti2a6BAU7ikE0wTPXsS_sMJhrDk,6327
991
991
  lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
992
- lusid/rest.py,sha256=8i0qEzbXNKF6vKzYcrnerFbI79hfU8FpfCVCtI9t9WY,10007
993
- lusid_sdk-2.0.430.dist-info/METADATA,sha256=xQ6py69LqDuzDsvrdoPmIPKCzDAcxoE2A2OYzRYD4FE,174449
994
- lusid_sdk-2.0.430.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
995
- lusid_sdk-2.0.430.dist-info/RECORD,,
992
+ lusid/rest.py,sha256=gHQ76psf1vzmBJI14ZGVvb3f_Urp0zBBo3R5u3-kNIM,10032
993
+ lusid_sdk-2.0.432.dist-info/METADATA,sha256=b-vZW3OAM9uqnoNHROgcpFKggODO8bit_tG5vJbGV3o,174449
994
+ lusid_sdk-2.0.432.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
995
+ lusid_sdk-2.0.432.dist-info/RECORD,,