lusid-sdk 2.1.885__py3-none-any.whl → 2.1.887__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.8092\n"\
448
+ "Version of the API: 0.11.8098\n"\
449
449
  "SDK Package Version: {package_version}".\
450
450
  format(env=sys.platform, pyversion=sys.version, package_version=package_version)
451
451
 
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
-
20
+ from datetime import datetime
21
21
  from typing import Any, Dict, Optional
22
22
  from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictStr, constr, validator
23
23
  from lusid.models.version import Version
@@ -30,10 +30,12 @@ class FundCalendarEntry(BaseModel):
30
30
  display_name: StrictStr = Field(...,alias="displayName", description="The name of the Fund Calendar entry.")
31
31
  description: Optional[StrictStr] = Field(None,alias="description", description="A description for the Fund Calendar entry.")
32
32
  nav_type_code: StrictStr = Field(...,alias="navTypeCode", description="The navTypeCode of the Fund Calendar Entry. This is the code of the NAV type that this Calendar Entry is associated with.")
33
+ effective_at: Optional[datetime] = Field(None, alias="effectiveAt", description="The effective at of the Calendar Entry.")
34
+ as_at: Optional[datetime] = Field(None, alias="asAt", description="The asAt datetime for the Calendar Entry.")
33
35
  entry_type: StrictStr = Field(...,alias="entryType", description="The type of the Fund Calendar Entry. Only 'ValuationPoint' currently supported. The available values are: ValuationPointFundCalendarEntry")
34
36
  version: Version = Field(...)
35
37
  href: Optional[StrictStr] = Field(None,alias="href", description="The specific Uniform Resource Identifier (URI) for this resource at the requested asAt datetime.")
36
- __properties = ["code", "displayName", "description", "navTypeCode", "entryType", "version", "href"]
38
+ __properties = ["code", "displayName", "description", "navTypeCode", "effectiveAt", "asAt", "entryType", "version", "href"]
37
39
 
38
40
  @validator('entry_type')
39
41
  def entry_type_validate_enum(cls, value):
@@ -155,6 +157,8 @@ class FundCalendarEntry(BaseModel):
155
157
  "display_name": obj.get("displayName"),
156
158
  "description": obj.get("description"),
157
159
  "nav_type_code": obj.get("navTypeCode"),
160
+ "effective_at": obj.get("effectiveAt"),
161
+ "as_at": obj.get("asAt"),
158
162
  "entry_type": obj.get("entryType"),
159
163
  "version": Version.from_dict(obj.get("version")) if obj.get("version") is not None else None,
160
164
  "href": obj.get("href")
@@ -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, StrictBool, StrictStr, constr
22
+ from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictBool, constr
23
23
  from lusid.models.resource_id import ResourceId
24
24
 
25
25
  class RelationalDatasetFieldDefinition(BaseModel):
@@ -31,7 +31,7 @@ class RelationalDatasetFieldDefinition(BaseModel):
31
31
  description: Optional[StrictStr] = Field(None,alias="description", description="A detailed description of the field and its purpose.")
32
32
  data_type_id: ResourceId = Field(..., alias="dataTypeId")
33
33
  required: Optional[StrictBool] = Field(None, description="Whether this field is mandatory in the dataset.")
34
- usage: Optional[StrictStr] = Field(None,alias="usage", description="The intended usage of the field (SeriesIdentifier, Value, or Metadata).")
34
+ usage: StrictStr = Field(...,alias="usage", description="The intended usage of the field (SeriesIdentifier, Value, or Metadata).")
35
35
  __properties = ["fieldName", "displayName", "description", "dataTypeId", "required", "usage"]
36
36
 
37
37
  class Config:
@@ -79,11 +79,6 @@ class RelationalDatasetFieldDefinition(BaseModel):
79
79
  if self.description is None and "description" in self.__fields_set__:
80
80
  _dict['description'] = None
81
81
 
82
- # set to None if usage (nullable) is None
83
- # and __fields_set__ contains the field
84
- if self.usage is None and "usage" in self.__fields_set__:
85
- _dict['usage'] = None
86
-
87
82
  return _dict
88
83
 
89
84
  @classmethod
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lusid-sdk
3
- Version: 2.1.885
3
+ Version: 2.1.887
4
4
  Summary: LUSID API
5
5
  Home-page: https://github.com/finbourne/lusid-sdk-python
6
6
  License: MIT
@@ -79,7 +79,7 @@ lusid/api/translation_api.py,sha256=xpRuTfwQvYBlWe6r_L2EI_uVpXqHFnEOim-i-kVQ85E,
79
79
  lusid/api/workspace_api.py,sha256=0pCNi3ZCRbIo0NXKa85XE7vtq0WV5YOKcQKvFlcLUaY,120708
80
80
  lusid/api_client.py,sha256=ewMTmf9SRurY8pYnUx9jy24RdldPCOa4US38pnrVxjA,31140
81
81
  lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
82
- lusid/configuration.py,sha256=MagUM9EVz30rO-oFwEBh5mhn203MHluO1j-mgVBVn3o,17972
82
+ lusid/configuration.py,sha256=Xd6Hwj3hmIYGbEJ5zPLM58sOxpjPv8hfh5cz0Ml-XNw,17972
83
83
  lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
84
84
  lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
85
85
  lusid/extensions/api_client.py,sha256=GzygWg_h603QK1QS2HvAijuE2R1TnvoF6-Yg0CeM3ug,30943
@@ -505,7 +505,7 @@ lusid/models/forward_rate_agreement.py,sha256=2huB94ltI8O9UKnFXc2oAYz278FMwPnaFE
505
505
  lusid/models/from_recipe.py,sha256=yUnu4kUNme_mFEHE9p-N6k-ETFBNxvmjsL8u2fKIHyk,2538
506
506
  lusid/models/fund.py,sha256=YWMy0wrbBPv5ExNwugI8EelMbRhHvx1ap-TgjtgnMms,11904
507
507
  lusid/models/fund_amount.py,sha256=xGFl9O7wn4GTCaMq_SxSkzzo_9Pw3scDIDm3835C64Q,2132
508
- lusid/models/fund_calendar_entry.py,sha256=BFyGLTSHzLp-u9hOOY-5CM0O2vrU1uHCuoWmsqSg76M,7477
508
+ lusid/models/fund_calendar_entry.py,sha256=OnpYCWCINcPUcDrlV9PRF8OXnX4xfMs3q1UdX8VHwrQ,7861
509
509
  lusid/models/fund_calendar_entry_type.py,sha256=QiQwfo_IXs4gOWgS4LSOVyBiflltFK4Ot1BcBP2kBJo,718
510
510
  lusid/models/fund_configuration.py,sha256=wC-L5FcOKsoep9C4in6LFrDigHKdB_q2Zno2L-wpVqo,9606
511
511
  lusid/models/fund_configuration_properties.py,sha256=b-4hJF9TltJf3lmaSyDjeGUhjjhxbs_-kYZ0MpM8kgk,4620
@@ -994,7 +994,7 @@ lusid/models/related_entity.py,sha256=4ZzIfmT_PSsGW9CZjoXsU9uzLYWd3hnQftssv8Atz6
994
994
  lusid/models/relation.py,sha256=WUL9JD_PCPu1hVeiGuvKOAAkgpYWD9Qr4ybkE7yc3GU,3604
995
995
  lusid/models/relation_definition.py,sha256=oJfpalXDU1J1Xhu_e7aCelTwzgMx93RXt6HSW9vQ6JI,7153
996
996
  lusid/models/relational_dataset_definition.py,sha256=GitSfIp74N1SioKmUqR382SEjPql6aAoe0W6YdUN3NA,5674
997
- lusid/models/relational_dataset_field_definition.py,sha256=8_eAmIQ8W0kBtWqcivCz4S6T4m8onorkU_QGG3c1fd4,4172
997
+ lusid/models/relational_dataset_field_definition.py,sha256=3c1Fd-s9EKRb5i1sSl8Cd2XjnRE84DsMvRfqixlArn0,3951
998
998
  lusid/models/relationship.py,sha256=ew5ZGga-Ps6xo50dz3BNsZJ3_YCahuqG0es1D5gt4_k,5024
999
999
  lusid/models/relationship_definition.py,sha256=Vpum63Y67u08n1if6HtUG2fgtXVukPUGW9iC_yZgrqk,5277
1000
1000
  lusid/models/relative_date_offset.py,sha256=BQeEduekNv-R_xJ-qHq-FfPoddRh3m3_-oOHJ-8rrlE,3226
@@ -1361,6 +1361,6 @@ lusid/models/year_month_day.py,sha256=gwSoxFwlD_wffKdddo1wfvAcLq3Cht3FHQidiaHzAA
1361
1361
  lusid/models/yield_curve_data.py,sha256=I1ZSWxHMgUxj9OQt6i9a4S91KB4_XtmrfFxpN_PV3YQ,9561
1362
1362
  lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1363
1363
  lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
1364
- lusid_sdk-2.1.885.dist-info/METADATA,sha256=sFd-BncgNbAapMwnLeHjNycCww6juRojOPQ4ss-aw48,227114
1365
- lusid_sdk-2.1.885.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
1366
- lusid_sdk-2.1.885.dist-info/RECORD,,
1364
+ lusid_sdk-2.1.887.dist-info/METADATA,sha256=buBXlV4o8NciIBp_tDVocRrHPyJeDsDT6ZHlNoX_uV4,227114
1365
+ lusid_sdk-2.1.887.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
1366
+ lusid_sdk-2.1.887.dist-info/RECORD,,