lusid-sdk 2.1.947__py3-none-any.whl → 2.1.948__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.
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.
|
|
448
|
+
"Version of the API: 0.11.8274\n"\
|
|
449
449
|
"SDK Package Version: {package_version}".\
|
|
450
450
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
|
451
451
|
|
|
@@ -19,7 +19,7 @@ import json
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
from typing import Any, Dict, Optional
|
|
22
|
-
from pydantic.v1 import StrictStr, Field, BaseModel, Field,
|
|
22
|
+
from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictStr, conint, constr
|
|
23
23
|
|
|
24
24
|
class InflationIndexConventions(BaseModel):
|
|
25
25
|
"""
|
|
@@ -30,7 +30,7 @@ class InflationIndexConventions(BaseModel):
|
|
|
30
30
|
observation_lag: StrictStr = Field(...,alias="observationLag", description="Observation lag. This is a string that must have units of Month. This field is typically 3 or 4 months, but can vary, older bonds and swaps have 8 months lag. For Bonds with a calculation type of Ratio, this property, if set, must be 0Invalid. For more information on tenors, see [knowledge base article KA-02097](https://support.lusid.com/knowledgebase/article/KA-02097)")
|
|
31
31
|
inflation_interpolation: Optional[StrictStr] = Field(None,alias="inflationInterpolation", description="Inflation Interpolation. This is optional and defaults to Linear if not set. Supported string (enumeration) values are: [Linear, Flat].")
|
|
32
32
|
inflation_frequency: Optional[StrictStr] = Field(None,alias="inflationFrequency", description="Frequency of inflation updated. Optional and defaults to Monthly which is the most common. However both Australian and New Zealand inflation is published Quarterly. Only tenors of 1M or 3M are supported. For more information on tenors, see [knowledge base article KA-02097](https://support.lusid.com/knowledgebase/article/KA-02097)")
|
|
33
|
-
inflation_roll_day: Optional[
|
|
33
|
+
inflation_roll_day: Optional[conint(strict=True)] = Field(1, alias="inflationRollDay", description="Day of the month that inflation rolls from one month to the next. This is optional and defaults to 1, which is the typically value for the majority of inflation bonds (exceptions include Japan which rolls on the 10th and some LatAm bonds which roll on the 15th).")
|
|
34
34
|
__properties = ["inflationIndexName", "currency", "observationLag", "inflationInterpolation", "inflationFrequency", "inflationRollDay"]
|
|
35
35
|
|
|
36
36
|
class Config:
|
|
@@ -92,6 +92,6 @@ class InflationIndexConventions(BaseModel):
|
|
|
92
92
|
"observation_lag": obj.get("observationLag"),
|
|
93
93
|
"inflation_interpolation": obj.get("inflationInterpolation"),
|
|
94
94
|
"inflation_frequency": obj.get("inflationFrequency"),
|
|
95
|
-
"inflation_roll_day": obj.get("inflationRollDay")
|
|
95
|
+
"inflation_roll_day": obj.get("inflationRollDay") if obj.get("inflationRollDay") is not None else 1
|
|
96
96
|
})
|
|
97
97
|
return _obj
|
|
@@ -80,7 +80,7 @@ lusid/api/translation_api.py,sha256=xpRuTfwQvYBlWe6r_L2EI_uVpXqHFnEOim-i-kVQ85E,
|
|
|
80
80
|
lusid/api/workspace_api.py,sha256=0pCNi3ZCRbIo0NXKa85XE7vtq0WV5YOKcQKvFlcLUaY,120708
|
|
81
81
|
lusid/api_client.py,sha256=ewMTmf9SRurY8pYnUx9jy24RdldPCOa4US38pnrVxjA,31140
|
|
82
82
|
lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
|
|
83
|
-
lusid/configuration.py,sha256=
|
|
83
|
+
lusid/configuration.py,sha256=6uG0po28NdHW_N-DeIkmOLwezKmGUikwu9nu04wnb_Y,17980
|
|
84
84
|
lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
|
|
85
85
|
lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
|
|
86
86
|
lusid/extensions/api_client.py,sha256=GzygWg_h603QK1QS2HvAijuE2R1TnvoF6-Yg0CeM3ug,30943
|
|
@@ -630,7 +630,7 @@ lusid/models/index_model_options.py,sha256=YhcdMilXSZPaQXD-YZQOSePcX5Umk2jSuHzEe
|
|
|
630
630
|
lusid/models/index_projection_dependency.py,sha256=QtKBPxfgxN0d-fsSepYXjYVVWtdfkyZgRkJl858XOBw,8265
|
|
631
631
|
lusid/models/industry_classifier.py,sha256=FiRcPZr9zfLxkRfqj__aKSaihZkG6wF0NhPEXo_yRL0,2711
|
|
632
632
|
lusid/models/inflation_fixing_dependency.py,sha256=wD9peHP4gaVRnBa8kLOpkMz-2-xgoGUpiRxW4tjpfo0,7505
|
|
633
|
-
lusid/models/inflation_index_conventions.py,sha256=
|
|
633
|
+
lusid/models/inflation_index_conventions.py,sha256=K2cuv_FzPATvFGVkDj9gGcV-_rkXmMDRpA6X3X6lWq4,4964
|
|
634
634
|
lusid/models/inflation_leg.py,sha256=GREG8fCErsyfzhcUrp7K8Y0RvA8hQFnZhyT-ygUq2-o,13841
|
|
635
635
|
lusid/models/inflation_linked_bond.py,sha256=xoQyAeLy6DqoRz-cPZJjTJgIgoOkFww_wnEB8ex2mFM,19041
|
|
636
636
|
lusid/models/inflation_swap.py,sha256=QxSYKrmSQ2q0RR7BAPqFZe7ko-TUjsX8o1RYT7og6Uk,12210
|
|
@@ -1387,6 +1387,6 @@ lusid/models/year_month_day.py,sha256=gwSoxFwlD_wffKdddo1wfvAcLq3Cht3FHQidiaHzAA
|
|
|
1387
1387
|
lusid/models/yield_curve_data.py,sha256=I1ZSWxHMgUxj9OQt6i9a4S91KB4_XtmrfFxpN_PV3YQ,9561
|
|
1388
1388
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1389
1389
|
lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
|
|
1390
|
-
lusid_sdk-2.1.
|
|
1391
|
-
lusid_sdk-2.1.
|
|
1392
|
-
lusid_sdk-2.1.
|
|
1390
|
+
lusid_sdk-2.1.948.dist-info/METADATA,sha256=P_XQ46tJwNg8AgojMMThZXThTzPkRVMV8wQR2Id1zbE,232346
|
|
1391
|
+
lusid_sdk-2.1.948.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
1392
|
+
lusid_sdk-2.1.948.dist-info/RECORD,,
|
|
File without changes
|