lusid-sdk 2.1.32__py3-none-any.whl → 2.1.35__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.6469\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/flow_conventions.py
CHANGED
|
@@ -36,9 +36,10 @@ class FlowConventions(BaseModel):
|
|
|
36
36
|
leap_days_included: Optional[StrictBool] = Field(None, alias="leapDaysIncluded", description="If this flag is set to true, the 29th of February is included in the date schedule when the business roll convention is applied. If this flag is set to false, the business roll convention ignores February 29 for date schedules, cash flow payments etc. This flag defaults to true if not specified, i.e., leap days are included in a date schedule generation.")
|
|
37
37
|
accrual_date_adjustment: Optional[constr(strict=True, max_length=50, min_length=0)] = Field(None, alias="accrualDateAdjustment", description="Indicates if the accrual dates are adjusted to the payment dates. The default value is 'Adjusted'. Supported string (enumeration) values are: [Adjusted, Unadjusted].")
|
|
38
38
|
business_day_convention: Optional[StrictStr] = Field(None, alias="businessDayConvention", description="When generating a set of dates, what convention should be used for adjusting dates that coincide with a non-business day. Supported string (enumeration) values are: [NoAdjustment, None, Previous, P, Following, F, ModifiedPrevious, MP, ModifiedFollowing, MF, HalfMonthModifiedFollowing, Nearest].")
|
|
39
|
+
accrual_day_count_convention: Optional[constr(strict=True, max_length=50, min_length=0)] = Field(None, alias="accrualDayCountConvention", description="Optional, if not set the main DayCountConvention is used for all accrual calculations. This only needs to be set when accrual uses a different day count to the coupon calculation.")
|
|
39
40
|
scope: Optional[constr(strict=True, max_length=256, min_length=1)] = Field(None, description="The scope used when updating or inserting the convention.")
|
|
40
41
|
code: Optional[constr(strict=True, max_length=256, min_length=1)] = Field(None, description="The code of the convention.")
|
|
41
|
-
__properties = ["currency", "paymentFrequency", "dayCountConvention", "rollConvention", "paymentCalendars", "resetCalendars", "settleDays", "resetDays", "leapDaysIncluded", "accrualDateAdjustment", "businessDayConvention", "scope", "code"]
|
|
42
|
+
__properties = ["currency", "paymentFrequency", "dayCountConvention", "rollConvention", "paymentCalendars", "resetCalendars", "settleDays", "resetDays", "leapDaysIncluded", "accrualDateAdjustment", "businessDayConvention", "accrualDayCountConvention", "scope", "code"]
|
|
42
43
|
|
|
43
44
|
@validator('scope')
|
|
44
45
|
def scope_validate_regular_expression(cls, value):
|
|
@@ -99,6 +100,11 @@ class FlowConventions(BaseModel):
|
|
|
99
100
|
if self.business_day_convention is None and "business_day_convention" in self.__fields_set__:
|
|
100
101
|
_dict['businessDayConvention'] = None
|
|
101
102
|
|
|
103
|
+
# set to None if accrual_day_count_convention (nullable) is None
|
|
104
|
+
# and __fields_set__ contains the field
|
|
105
|
+
if self.accrual_day_count_convention is None and "accrual_day_count_convention" in self.__fields_set__:
|
|
106
|
+
_dict['accrualDayCountConvention'] = None
|
|
107
|
+
|
|
102
108
|
# set to None if scope (nullable) is None
|
|
103
109
|
# and __fields_set__ contains the field
|
|
104
110
|
if self.scope is None and "scope" in self.__fields_set__:
|
|
@@ -132,6 +138,7 @@ class FlowConventions(BaseModel):
|
|
|
132
138
|
"leap_days_included": obj.get("leapDaysIncluded"),
|
|
133
139
|
"accrual_date_adjustment": obj.get("accrualDateAdjustment"),
|
|
134
140
|
"business_day_convention": obj.get("businessDayConvention"),
|
|
141
|
+
"accrual_day_count_convention": obj.get("accrualDayCountConvention"),
|
|
135
142
|
"scope": obj.get("scope"),
|
|
136
143
|
"code": obj.get("code")
|
|
137
144
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lusid-sdk
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.35
|
|
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.6469
|
|
33
|
+
- Package version: 2.1.35
|
|
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
|
|
|
@@ -65,7 +65,7 @@ lusid/api/transaction_portfolios_api.py,sha256=q6AoYasxV3LQDossmM2BdJSo3arh526yU
|
|
|
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=
|
|
68
|
+
lusid/configuration.py,sha256=05xQOChwGNOfX8XEbIMO86xF6nIhxfs9GYHmVLcQh-k,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
|
|
@@ -377,7 +377,7 @@ lusid/models/flexible_loan.py,sha256=08jrLqECPsSfowr987Y5zy6zF0d7aTqIP-bCGnfB6WM
|
|
|
377
377
|
lusid/models/float_schedule.py,sha256=yvLpNB5bMFAbtgWEwOdHDaqbEFc97kMmdiur9ygV164,9196
|
|
378
378
|
lusid/models/floating_leg.py,sha256=Q2W2Xk_j0Bh4jVDVigHK9i8DpudCtpkdW_AS8WiAAbI,7558
|
|
379
379
|
lusid/models/flow_convention_name.py,sha256=HFTshKIRBvjLdmcd8FzM-6Jb6-dlq-yTOwjCw0p2ZME,2813
|
|
380
|
-
lusid/models/flow_conventions.py,sha256=
|
|
380
|
+
lusid/models/flow_conventions.py,sha256=xGQNMurUqLGc3K8Swlab6v2QSi0Wi8woLMKt7AEdY1c,10452
|
|
381
381
|
lusid/models/forward_rate_agreement.py,sha256=1bsn5JLYI8BsGg3uLf--BrVEcfjspJw-e81TvNIog7E,6589
|
|
382
382
|
lusid/models/from_recipe.py,sha256=paSou6poZf5CHkswKhZXc8jXmVcxj7s7kJXRw4ucbfQ,2261
|
|
383
383
|
lusid/models/fund.py,sha256=vTHl_8gL05ZlCw1Wx3pa6scifXqZ5BzLWq-m9pJteYA,8478
|
|
@@ -1017,6 +1017,6 @@ lusid/models/weighted_instruments.py,sha256=1y_y_vw4-LPsbkQx4FOzWdZc5fJnzhVkf1D3
|
|
|
1017
1017
|
lusid/models/yield_curve_data.py,sha256=SbxvdJ4-GWK9kpMdw4Fnxc7_kvIMwgsRsd_31UJn7nw,6330
|
|
1018
1018
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1019
1019
|
lusid/rest.py,sha256=TNUzQ3yLNT2L053EdR7R0vNzQh2J3TlYD1T56Dye0W0,10138
|
|
1020
|
-
lusid_sdk-2.1.
|
|
1021
|
-
lusid_sdk-2.1.
|
|
1022
|
-
lusid_sdk-2.1.
|
|
1020
|
+
lusid_sdk-2.1.35.dist-info/METADATA,sha256=PgL681mo45ihJIj2gcQ0cAgZxi6lGyLQxaGGI4A38aI,179889
|
|
1021
|
+
lusid_sdk-2.1.35.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
1022
|
+
lusid_sdk-2.1.35.dist-info/RECORD,,
|
|
File without changes
|