lusid-sdk 2.1.198__py3-none-any.whl → 2.1.201__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.6632\n"\
376
+ "Version of the API: 0.11.6635\n"\
377
377
  "SDK Package Version: {package_version}".\
378
378
  format(env=sys.platform, pyversion=sys.version, package_version=package_version)
379
379
 
lusid/models/fee.py CHANGED
@@ -41,8 +41,6 @@ class Fee(BaseModel):
41
41
  treatment: constr(strict=True, min_length=1) = Field(..., description="The accrual period of the Fee; 'Monthly' or 'Daily'.")
42
42
  total_annual_accrual_amount: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="totalAnnualAccrualAmount", description="The total annual accrued amount for the Fee. (TotalAnnualAccrualAmount and CalculationBase cannot both be present)")
43
43
  fee_rate_percentage: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="feeRatePercentage", description="The fee rate percentage. (Required when CalculationBase is present and not compatible with TotalAnnualAccrualAmount)")
44
- monthly_accrual: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="monthlyAccrual", description="The monthly accrual amount.")
45
- daily_accrual: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="dailyAccrual", description="The daily accrual amount.")
46
44
  payable_frequency: constr(strict=True, min_length=1) = Field(..., alias="payableFrequency", description="The payable frequency for the Fee; 'Annually', 'Quarterly' or 'Monthly'.")
47
45
  business_day_convention: constr(strict=True, min_length=1) = Field(..., alias="businessDayConvention", description="The business day convention to use for Fee calculations on weekends.")
48
46
  start_date: datetime = Field(..., alias="startDate", description="The start date of the Fee.")
@@ -52,7 +50,7 @@ class Fee(BaseModel):
52
50
  version: Optional[Version] = None
53
51
  portfolio_id: Optional[ResourceId] = Field(None, alias="portfolioId")
54
52
  links: Optional[conlist(Link)] = None
55
- __properties = ["href", "feeCode", "feeType", "name", "description", "origin", "calculationBase", "accrualCurrency", "treatment", "totalAnnualAccrualAmount", "feeRatePercentage", "monthlyAccrual", "dailyAccrual", "payableFrequency", "businessDayConvention", "startDate", "endDate", "anchorDate", "properties", "version", "portfolioId", "links"]
53
+ __properties = ["href", "feeCode", "feeType", "name", "description", "origin", "calculationBase", "accrualCurrency", "treatment", "totalAnnualAccrualAmount", "feeRatePercentage", "payableFrequency", "businessDayConvention", "startDate", "endDate", "anchorDate", "properties", "version", "portfolioId", "links"]
56
54
 
57
55
  @validator('fee_code')
58
56
  def fee_code_validate_regular_expression(cls, value):
@@ -159,16 +157,6 @@ class Fee(BaseModel):
159
157
  if self.fee_rate_percentage is None and "fee_rate_percentage" in self.__fields_set__:
160
158
  _dict['feeRatePercentage'] = None
161
159
 
162
- # set to None if monthly_accrual (nullable) is None
163
- # and __fields_set__ contains the field
164
- if self.monthly_accrual is None and "monthly_accrual" in self.__fields_set__:
165
- _dict['monthlyAccrual'] = None
166
-
167
- # set to None if daily_accrual (nullable) is None
168
- # and __fields_set__ contains the field
169
- if self.daily_accrual is None and "daily_accrual" in self.__fields_set__:
170
- _dict['dailyAccrual'] = None
171
-
172
160
  # set to None if properties (nullable) is None
173
161
  # and __fields_set__ contains the field
174
162
  if self.properties is None and "properties" in self.__fields_set__:
@@ -202,8 +190,6 @@ class Fee(BaseModel):
202
190
  "treatment": obj.get("treatment"),
203
191
  "total_annual_accrual_amount": obj.get("totalAnnualAccrualAmount"),
204
192
  "fee_rate_percentage": obj.get("feeRatePercentage"),
205
- "monthly_accrual": obj.get("monthlyAccrual"),
206
- "daily_accrual": obj.get("dailyAccrual"),
207
193
  "payable_frequency": obj.get("payableFrequency"),
208
194
  "business_day_convention": obj.get("businessDayConvention"),
209
195
  "start_date": obj.get("startDate"),
@@ -25,7 +25,7 @@ class OrderFlowConfiguration(BaseModel):
25
25
  """
26
26
  OrderFlowConfiguration
27
27
  """
28
- include_entity_types: constr(strict=True, min_length=1) = Field(..., alias="includeEntityTypes")
28
+ include_entity_types: constr(strict=True, min_length=1) = Field(..., alias="includeEntityTypes", description="Controls whether Orders and Allocations orders are included in the Portfolio valuation. Valid values are None (to account for Transactions only), Allocations (to include Allocations and Transactions) and OrdersAndAllocations (to include Orders, Allocations and Transactions).")
29
29
  __properties = ["includeEntityTypes"]
30
30
 
31
31
  class Config:
@@ -29,8 +29,8 @@ class RealisedGainLoss(BaseModel):
29
29
  instrument_scope: Optional[StrictStr] = Field(None, alias="instrumentScope", description="The scope in which the instrument lies.")
30
30
  instrument_uid: constr(strict=True, min_length=1) = Field(..., alias="instrumentUid", description="The unique Lusid Instrument Id (LUID) of the instrument that this gain or loss is associated with.")
31
31
  units: Union[StrictFloat, StrictInt] = Field(..., description="The number of units of the associated instrument against which the gain or loss has been realised.")
32
- purchase_trade_date: Optional[datetime] = Field(None, alias="purchaseTradeDate", description="The effective datetime that the units associated with this gain or loss where originally purchased.")
33
- purchase_settlement_date: Optional[datetime] = Field(None, alias="purchaseSettlementDate", description="The effective datetime that the units associated with this gain or loss where originally settled.")
32
+ purchase_trade_date: Optional[datetime] = Field(None, alias="purchaseTradeDate", description="The effective datetime at which the units associated with this gain or loss were originally purchased.")
33
+ purchase_settlement_date: Optional[datetime] = Field(None, alias="purchaseSettlementDate", description="The effective datetime at which the units associated with this gain or loss were originally settled.")
34
34
  purchase_price: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="purchasePrice", description="The purchase price of each unit associated with this gain or loss.")
35
35
  cost_trade_ccy: CurrencyAndAmount = Field(..., alias="costTradeCcy")
36
36
  cost_portfolio_ccy: CurrencyAndAmount = Field(..., alias="costPortfolioCcy")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lusid-sdk
3
- Version: 2.1.198
3
+ Version: 2.1.201
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.6632
33
- - Package version: 2.1.198
32
+ - API version: 0.11.6635
33
+ - Package version: 2.1.201
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
 
@@ -67,7 +67,7 @@ lusid/api/transaction_portfolios_api.py,sha256=7G5m6iTQXTKCc6ASdxnlVJjvFascHxEgD
67
67
  lusid/api/translation_api.py,sha256=xTAaKEW96JTDIZBXCjxSguCa7Gz4oVd5jdObUE2egwo,20092
68
68
  lusid/api_client.py,sha256=dF6l9RAsdxdQjf6Qn4ny6LB-QXlJmsscWiozCvyyBFA,30709
69
69
  lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
70
- lusid/configuration.py,sha256=UWwHjhH8symwmIp5KRe3j_7-59FpBjOwnmzjb5TPYWc,14404
70
+ lusid/configuration.py,sha256=kQZT8gEZR48sO2YsxsArTJfCm5WDaon4a_JTBy75zYQ,14404
71
71
  lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
72
72
  lusid/extensions/__init__.py,sha256=L7EF4zKjcq1g2GodEumg1-C9xKs7YrQ0QHGPi8XbpO4,629
73
73
  lusid/extensions/api_client.py,sha256=Ob06urm4Em3MLzgP_geyeeGsPCkU225msW_1kpIeABM,30567
@@ -378,7 +378,7 @@ lusid/models/exercise_event.py,sha256=EZGXFc8riKkqeCnhDIY6MVtp3RAFlBehvMU4kC_KqJ
378
378
  lusid/models/exotic_instrument.py,sha256=Nfv3cttH2eWGX_aeU6zxmLD5hsNnWC6yBSFeFS6sr80,5705
379
379
  lusid/models/expanded_group.py,sha256=e1fIiusdlI_VtjJlF4g5O_yg6A_5VDOg2LaW94CUyJU,5931
380
380
  lusid/models/expiry_event.py,sha256=o1jn1kCnF2zSL8WJ3TSuJ-E9t-s22esebwaJGrqUGKg,4686
381
- lusid/models/fee.py,sha256=NmBhi0yLXK18pRbL-jiaDlm4SrVv6Ddgm-Lc_IwaEUY,11510
381
+ lusid/models/fee.py,sha256=oMJgUsrJ3IsvK6bZlEtsTA2LF_4yncnzecVgh4w9VpU,10618
382
382
  lusid/models/fee_accrual.py,sha256=A9DaaFrEY1JqMbym_7TIcMMQxSqnQFMxuVZzljnggIk,2862
383
383
  lusid/models/fee_properties.py,sha256=Q92whmRw6aIwyxsgLVF9vntTY5WLwtrDdJMw9sSNoEQ,4232
384
384
  lusid/models/fee_request.py,sha256=aJbg758cpQ9tDD30G9_HLgnOOJcpxBvUDOPNvy7FL4E,8633
@@ -574,7 +574,7 @@ lusid/models/option_entry.py,sha256=KJfFze7xIJxeIJ7hXxJhkUydFhg9KJU4rIAfLdBaT8k,
574
574
  lusid/models/optionality_schedule.py,sha256=lZh9nWhUmmkcfzAjsM8qvTAtXf4Fm97vhIbqD-EIboU,5501
575
575
  lusid/models/order.py,sha256=-47dm6-P-pNB--pBRn6UxGCv7Az7ECBAgoykBdR3agM,9659
576
576
  lusid/models/order_by_spec.py,sha256=9RyLPdTBImMEcjhN2mq-BtMykndyNLZSpJ3xO_biaZk,2319
577
- lusid/models/order_flow_configuration.py,sha256=2Hkp1PwSVqdfawZq07A_nIoPqH-41yEhC_6aIvk3e98,1979
577
+ lusid/models/order_flow_configuration.py,sha256=qtSDRosH6YswgQBadMDy-JG3VbtwBr2Cl07eLokaAdo,2273
578
578
  lusid/models/order_graph_block.py,sha256=NkPRWJSby5JizR6KHiS1v_UxyWDQCk1sXP4e-zz2-sI,5332
579
579
  lusid/models/order_graph_block_allocation_detail.py,sha256=L51Rl6sgG8R7jiwRtSYH6R2AT09M0SaIBB7jO8ykHdc,2178
580
580
  lusid/models/order_graph_block_allocation_synopsis.py,sha256=PTlPTHowUDna144w0yNEESTbK5cZ4BWLDL_jur42Nro,2766
@@ -745,7 +745,7 @@ lusid/models/quote_series_id.py,sha256=C2P5iTb29S36znzVjaiaOFcECkKdlLjCYIgHmWZSa
745
745
  lusid/models/quote_type.py,sha256=dwYbZgzgJticaNVZmTZaYx6VgJtC30GtjDk9bPyseFQ,958
746
746
  lusid/models/raw_vendor_event.py,sha256=lQQMtXytsx4NQeC_dLWT-BVGa7GXcwJ6jKfWhtfXlTE,5529
747
747
  lusid/models/re_open_period_diary_entry_request.py,sha256=CcQqX5ekcLT_XTdWFJGZAmNQ2I5NMpzkwoLvfdoJ4X0,2792
748
- lusid/models/realised_gain_loss.py,sha256=zs9WnDKYfegeKs_QTbR9RNKyYoKCiEq0oZomoQjJg_I,7184
748
+ lusid/models/realised_gain_loss.py,sha256=SqOAkbqLzwVkwmV4V4kFRLB6n55CJJhIfSDVK7xRHvg,7190
749
749
  lusid/models/recipe_block.py,sha256=HDA6kexcMXEZXYEknTdRhyTNXi44WOmE1KtadUkVDC0,2848
750
750
  lusid/models/recipe_composer.py,sha256=p8itR-GLgssfN4fQgjCAEEVuitsEDlK_MXEBclZhvEA,3703
751
751
  lusid/models/recipe_value.py,sha256=oJJICDF14eeMhGg7tHPbA1BhCDAiWWojlRYmc1RDhVQ,3332
@@ -1076,6 +1076,6 @@ lusid/models/weighted_instruments.py,sha256=1y_y_vw4-LPsbkQx4FOzWdZc5fJnzhVkf1D3
1076
1076
  lusid/models/yield_curve_data.py,sha256=SbxvdJ4-GWK9kpMdw4Fnxc7_kvIMwgsRsd_31UJn7nw,6330
1077
1077
  lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1078
1078
  lusid/rest.py,sha256=TNUzQ3yLNT2L053EdR7R0vNzQh2J3TlYD1T56Dye0W0,10138
1079
- lusid_sdk-2.1.198.dist-info/METADATA,sha256=NDuxMfk7bwqJl8BkLYYgBSSoQUw7P4NkhR34ehy0urQ,188870
1080
- lusid_sdk-2.1.198.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
1081
- lusid_sdk-2.1.198.dist-info/RECORD,,
1079
+ lusid_sdk-2.1.201.dist-info/METADATA,sha256=VmljbliDKZIEWoOcHGfdzW9RkU4tz8pSGlAJxkF2SGU,188870
1080
+ lusid_sdk-2.1.201.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
1081
+ lusid_sdk-2.1.201.dist-info/RECORD,,