lusid-sdk 2.1.200__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.
|
|
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", "
|
|
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"),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lusid-sdk
|
|
3
|
-
Version: 2.1.
|
|
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.
|
|
33
|
-
- Package version: 2.1.
|
|
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=
|
|
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=
|
|
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
|
|
@@ -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.
|
|
1080
|
-
lusid_sdk-2.1.
|
|
1081
|
-
lusid_sdk-2.1.
|
|
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,,
|
|
File without changes
|