lusid-sdk 2.1.691__py3-none-any.whl → 2.1.693__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.7338\n"\
448
+ "Version of the API: 0.11.7345\n"\
449
449
  "SDK Package Version: {package_version}".\
450
450
  format(env=sys.platform, pyversion=sys.version, package_version=package_version)
451
451
 
@@ -26,7 +26,7 @@ class ModelSelection(BaseModel):
26
26
  The combination of a library to use and a model in that library that defines which pricing code will evaluate instruments having a particular type/class. This allows us to control the model type and library for a given instrument. # noqa: E501
27
27
  """
28
28
  library: StrictStr = Field(..., description="The available values are: Lusid, RefinitivQps, RefinitivTracsWeb, VolMaster, IsdaCds, YieldBook, LusidCalc")
29
- model: StrictStr = Field(..., description="The available values are: SimpleStatic, Discounting, VendorDefault, BlackScholes, ConstantTimeValueOfMoney, Bachelier, ForwardWithPoints, ForwardWithPointsUndiscounted, ForwardSpecifiedRate, ForwardSpecifiedRateUndiscounted, IndexNav, IndexPrice, InlinedIndex, ForwardFromCurve, ForwardFromCurveUndiscounted, BlackScholesDigital, BjerksundStensland1993, BondLookupPricer, FlexibleLoanPricer, CdsLookupPricer")
29
+ model: StrictStr = Field(..., description="The available values are: SimpleStatic, Discounting, VendorDefault, BlackScholes, ConstantTimeValueOfMoney, Bachelier, ForwardWithPoints, ForwardWithPointsUndiscounted, ForwardSpecifiedRate, ForwardSpecifiedRateUndiscounted, IndexNav, IndexPrice, InlinedIndex, ForwardFromCurve, ForwardFromCurveUndiscounted, BlackScholesDigital, BjerksundStensland1993, BondLookupPricer, FlexibleLoanPricer, CdsLookupPricer, LoanFacilityPricer")
30
30
  __properties = ["library", "model"]
31
31
 
32
32
  @validator('library')
@@ -39,8 +39,8 @@ class ModelSelection(BaseModel):
39
39
  @validator('model')
40
40
  def model_validate_enum(cls, value):
41
41
  """Validates the enum"""
42
- if value not in ('SimpleStatic', 'Discounting', 'VendorDefault', 'BlackScholes', 'ConstantTimeValueOfMoney', 'Bachelier', 'ForwardWithPoints', 'ForwardWithPointsUndiscounted', 'ForwardSpecifiedRate', 'ForwardSpecifiedRateUndiscounted', 'IndexNav', 'IndexPrice', 'InlinedIndex', 'ForwardFromCurve', 'ForwardFromCurveUndiscounted', 'BlackScholesDigital', 'BjerksundStensland1993', 'BondLookupPricer', 'FlexibleLoanPricer', 'CdsLookupPricer'):
43
- raise ValueError("must be one of enum values ('SimpleStatic', 'Discounting', 'VendorDefault', 'BlackScholes', 'ConstantTimeValueOfMoney', 'Bachelier', 'ForwardWithPoints', 'ForwardWithPointsUndiscounted', 'ForwardSpecifiedRate', 'ForwardSpecifiedRateUndiscounted', 'IndexNav', 'IndexPrice', 'InlinedIndex', 'ForwardFromCurve', 'ForwardFromCurveUndiscounted', 'BlackScholesDigital', 'BjerksundStensland1993', 'BondLookupPricer', 'FlexibleLoanPricer', 'CdsLookupPricer')")
42
+ if value not in ('SimpleStatic', 'Discounting', 'VendorDefault', 'BlackScholes', 'ConstantTimeValueOfMoney', 'Bachelier', 'ForwardWithPoints', 'ForwardWithPointsUndiscounted', 'ForwardSpecifiedRate', 'ForwardSpecifiedRateUndiscounted', 'IndexNav', 'IndexPrice', 'InlinedIndex', 'ForwardFromCurve', 'ForwardFromCurveUndiscounted', 'BlackScholesDigital', 'BjerksundStensland1993', 'BondLookupPricer', 'FlexibleLoanPricer', 'CdsLookupPricer', 'LoanFacilityPricer'):
43
+ raise ValueError("must be one of enum values ('SimpleStatic', 'Discounting', 'VendorDefault', 'BlackScholes', 'ConstantTimeValueOfMoney', 'Bachelier', 'ForwardWithPoints', 'ForwardWithPointsUndiscounted', 'ForwardSpecifiedRate', 'ForwardSpecifiedRateUndiscounted', 'IndexNav', 'IndexPrice', 'InlinedIndex', 'ForwardFromCurve', 'ForwardFromCurveUndiscounted', 'BlackScholesDigital', 'BjerksundStensland1993', 'BondLookupPricer', 'FlexibleLoanPricer', 'CdsLookupPricer', 'LoanFacilityPricer')")
44
44
  return value
45
45
 
46
46
  class Config:
@@ -49,6 +49,7 @@ class PricingModel(str, Enum):
49
49
  BONDLOOKUPPRICER = 'BondLookupPricer'
50
50
  FLEXIBLELOANPRICER = 'FlexibleLoanPricer'
51
51
  CDSLOOKUPPRICER = 'CdsLookupPricer'
52
+ LOANFACILITYPRICER = 'LoanFacilityPricer'
52
53
 
53
54
  @classmethod
54
55
  def from_json(cls, json_str: str) -> PricingModel:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lusid-sdk
3
- Version: 2.1.691
3
+ Version: 2.1.693
4
4
  Summary: LUSID API
5
5
  Home-page: https://github.com/finbourne/lusid-sdk-python
6
6
  License: MIT
@@ -73,7 +73,7 @@ lusid/api/translation_api.py,sha256=nIyuLncCvVC5k2d7Nm32zR8AQ1dkrVm1OThkmELY_OM,
73
73
  lusid/api/workspace_api.py,sha256=Yox1q7TDY-_O3HF-N8g5kGuNgp4unWvlSZmRZ6MNZO0,196701
74
74
  lusid/api_client.py,sha256=ewMTmf9SRurY8pYnUx9jy24RdldPCOa4US38pnrVxjA,31140
75
75
  lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
76
- lusid/configuration.py,sha256=l07KUpQmDtK94tMZwxcTfo7Jpp0C5I2rqU_gjsmqFYg,17972
76
+ lusid/configuration.py,sha256=H_dzdVvdVd5qXhG1KcGodG0W8a_jcEGNWf0HttNfAsA,17972
77
77
  lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
78
78
  lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
79
79
  lusid/extensions/api_client.py,sha256=GzygWg_h603QK1QS2HvAijuE2R1TnvoF6-Yg0CeM3ug,30943
@@ -675,7 +675,7 @@ lusid/models/model_options.py,sha256=RZhiSsBQwP7epssEjfq5mX8mxKcQ-BWfWYKGHxn5xr8
675
675
  lusid/models/model_options_type.py,sha256=9vvfKHqvTqomRGVbnhsjA9hhCouD-acEgOeMK4OZ8AE,931
676
676
  lusid/models/model_property.py,sha256=uZ3Y_YZxW7WjN9fxxFghXI8UGHhO8HewistKugcC3FU,3598
677
677
  lusid/models/model_schema.py,sha256=CmEJt2yx7XIB0XOe_l_-PxFZFB2AhCSO3MGU1CNaV-0,4074
678
- lusid/models/model_selection.py,sha256=TB0z6JBcGcFHPwGKSbjG7D3kzTsuaFzu78VxETCZoV0,4354
678
+ lusid/models/model_selection.py,sha256=zb3fwum5XKyIcmWB1n_KcvrVJbtIg_eDumdCbmZ4d0I,4418
679
679
  lusid/models/move_orders_to_different_blocks_request.py,sha256=Mco3dIBSJUZFb_Nm7Zdt4lCz6yXzb4I8jw9BAKQ_9jg,2781
680
680
  lusid/models/moved_order_to_different_block_response.py,sha256=2I-gnfBI7tcq1hkySN5al4JOJo-1UCXEJ75dPxb9JHY,3375
681
681
  lusid/models/movement_type.py,sha256=EGpaTsOOQzky4ZCqGez7kQPobdjO9FbtDfYAUWKaXMc,1305
@@ -852,7 +852,7 @@ lusid/models/previous_fund_valuation_point_data.py,sha256=-J1zoiWZOszN76Lp6A_hQt
852
852
  lusid/models/previous_nav.py,sha256=FQNY9OvnwQofyMA4oonpaCLs0ez0QYxHD4kbj3U2aTg,2299
853
853
  lusid/models/previous_share_class_breakdown.py,sha256=mKJ967YUHQ7-Mxd2JHNZYe5xcvlDOKX-X1xdautGlLM,3204
854
854
  lusid/models/pricing_context.py,sha256=7GWR4Sa4oar-CgeknBBygcUz9nC9wbO3KgX55An5QF0,8028
855
- lusid/models/pricing_model.py,sha256=hQrGV0w4BhaIiRED3kW3I37UkRop05d3IGHHwyPoFq4,1487
855
+ lusid/models/pricing_model.py,sha256=HB-BQzn3dUQ5yJt7PqFTlYfTC9acenElFKNzwSBPjtk,1533
856
856
  lusid/models/pricing_options.py,sha256=5kyBbGhuaufOqfjbt1FizXXHNA3q1RcO1SQ1U1iG06g,8670
857
857
  lusid/models/processed_command.py,sha256=ZjImB4ue3Si4z1E3L-1Ph_dBBDCV-wy429p_7NaIoNg,3183
858
858
  lusid/models/property_definition.py,sha256=nX609tjhdC0foYPXJKtuXrXt4NgljLlI28jZAnizdls,17967
@@ -1268,6 +1268,6 @@ lusid/models/workspace_update_request.py,sha256=5N7j21uF9XV75Sl3oJbsSOKT5PrQEx3y
1268
1268
  lusid/models/yield_curve_data.py,sha256=vtOzY4t2lgHJUWcna9dEKnuZ_tinolyb8IAFPB23DZ0,6543
1269
1269
  lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1270
1270
  lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
1271
- lusid_sdk-2.1.691.dist-info/METADATA,sha256=5D1P3tFPhLbjtztzKvKvKav2vq96jG9I1E73J4lFhN4,217588
1272
- lusid_sdk-2.1.691.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
1273
- lusid_sdk-2.1.691.dist-info/RECORD,,
1271
+ lusid_sdk-2.1.693.dist-info/METADATA,sha256=oP_DnnKjl3Az8NMPCLpvO_YVWI3wmmFm6EZ8mUkF1sw,217588
1272
+ lusid_sdk-2.1.693.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
1273
+ lusid_sdk-2.1.693.dist-info/RECORD,,