lusid-sdk 2.1.968__py3-none-any.whl → 2.1.969__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.
@@ -382,22 +382,22 @@ class DataTypesApi:
382
382
 
383
383
 
384
384
  @overload
385
- async def get_data_type(self, scope : Annotated[StrictStr, Field(..., description="The scope of the data type")], code : Annotated[StrictStr, Field(..., description="The code of the data type")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the data type definition. Defaults to return the latest version of the instrument definition if not specified.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, **kwargs) -> DataType: # noqa: E501
385
+ async def get_data_type(self, scope : Annotated[StrictStr, Field(..., description="The scope of the data type")], code : Annotated[StrictStr, Field(..., description="The code of the data type")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the data type definition. Defaults to return the latest version of the instrument definition if not specified.")] = None, **kwargs) -> DataType: # noqa: E501
386
386
  ...
387
387
 
388
388
  @overload
389
- def get_data_type(self, scope : Annotated[StrictStr, Field(..., description="The scope of the data type")], code : Annotated[StrictStr, Field(..., description="The code of the data type")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the data type definition. Defaults to return the latest version of the instrument definition if not specified.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, async_req: Optional[bool]=True, **kwargs) -> DataType: # noqa: E501
389
+ def get_data_type(self, scope : Annotated[StrictStr, Field(..., description="The scope of the data type")], code : Annotated[StrictStr, Field(..., description="The code of the data type")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the data type definition. Defaults to return the latest version of the instrument definition if not specified.")] = None, async_req: Optional[bool]=True, **kwargs) -> DataType: # noqa: E501
390
390
  ...
391
391
 
392
392
  @validate_arguments
393
- def get_data_type(self, scope : Annotated[StrictStr, Field(..., description="The scope of the data type")], code : Annotated[StrictStr, Field(..., description="The code of the data type")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the data type definition. Defaults to return the latest version of the instrument definition if not specified.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[DataType, Awaitable[DataType]]: # noqa: E501
393
+ def get_data_type(self, scope : Annotated[StrictStr, Field(..., description="The scope of the data type")], code : Annotated[StrictStr, Field(..., description="The code of the data type")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the data type definition. Defaults to return the latest version of the instrument definition if not specified.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[DataType, Awaitable[DataType]]: # noqa: E501
394
394
  """GetDataType: Get data type definition # noqa: E501
395
395
 
396
396
  Get the definition of a specified data type # noqa: E501
397
397
  This method makes a synchronous HTTP request by default. To make an
398
398
  asynchronous HTTP request, please pass async_req=True
399
399
 
400
- >>> thread = api.get_data_type(scope, code, as_at, timeline_scope, timeline_code, closed_period_id, async_req=True)
400
+ >>> thread = api.get_data_type(scope, code, as_at, async_req=True)
401
401
  >>> result = thread.get()
402
402
 
403
403
  :param scope: The scope of the data type (required)
@@ -406,12 +406,6 @@ class DataTypesApi:
406
406
  :type code: str
407
407
  :param as_at: The asAt datetime at which to retrieve the data type definition. Defaults to return the latest version of the instrument definition if not specified.
408
408
  :type as_at: datetime
409
- :param timeline_scope: The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.
410
- :type timeline_scope: str
411
- :param timeline_code: The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.
412
- :type timeline_code: str
413
- :param closed_period_id: The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.
414
- :type closed_period_id: str
415
409
  :param async_req: Whether to execute the request asynchronously.
416
410
  :type async_req: bool, optional
417
411
  :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
@@ -428,17 +422,17 @@ class DataTypesApi:
428
422
  raise ValueError(message)
429
423
  if async_req is not None:
430
424
  kwargs['async_req'] = async_req
431
- return self.get_data_type_with_http_info(scope, code, as_at, timeline_scope, timeline_code, closed_period_id, **kwargs) # noqa: E501
425
+ return self.get_data_type_with_http_info(scope, code, as_at, **kwargs) # noqa: E501
432
426
 
433
427
  @validate_arguments
434
- def get_data_type_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the data type")], code : Annotated[StrictStr, Field(..., description="The code of the data type")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the data type definition. Defaults to return the latest version of the instrument definition if not specified.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, **kwargs) -> ApiResponse: # noqa: E501
428
+ def get_data_type_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the data type")], code : Annotated[StrictStr, Field(..., description="The code of the data type")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the data type definition. Defaults to return the latest version of the instrument definition if not specified.")] = None, **kwargs) -> ApiResponse: # noqa: E501
435
429
  """GetDataType: Get data type definition # noqa: E501
436
430
 
437
431
  Get the definition of a specified data type # noqa: E501
438
432
  This method makes a synchronous HTTP request by default. To make an
439
433
  asynchronous HTTP request, please pass async_req=True
440
434
 
441
- >>> thread = api.get_data_type_with_http_info(scope, code, as_at, timeline_scope, timeline_code, closed_period_id, async_req=True)
435
+ >>> thread = api.get_data_type_with_http_info(scope, code, as_at, async_req=True)
442
436
  >>> result = thread.get()
443
437
 
444
438
  :param scope: The scope of the data type (required)
@@ -447,12 +441,6 @@ class DataTypesApi:
447
441
  :type code: str
448
442
  :param as_at: The asAt datetime at which to retrieve the data type definition. Defaults to return the latest version of the instrument definition if not specified.
449
443
  :type as_at: datetime
450
- :param timeline_scope: The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.
451
- :type timeline_scope: str
452
- :param timeline_code: The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.
453
- :type timeline_code: str
454
- :param closed_period_id: The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.
455
- :type closed_period_id: str
456
444
  :param async_req: Whether to execute the request asynchronously.
457
445
  :type async_req: bool, optional
458
446
  :param _preload_content: if False, the ApiResponse.data will
@@ -482,10 +470,7 @@ class DataTypesApi:
482
470
  _all_params = [
483
471
  'scope',
484
472
  'code',
485
- 'as_at',
486
- 'timeline_scope',
487
- 'timeline_code',
488
- 'closed_period_id'
473
+ 'as_at'
489
474
  ]
490
475
  _all_params.extend(
491
476
  [
@@ -529,15 +514,6 @@ class DataTypesApi:
529
514
  else:
530
515
  _query_params.append(('asAt', _params['as_at']))
531
516
 
532
- if _params.get('timeline_scope') is not None: # noqa: E501
533
- _query_params.append(('timelineScope', _params['timeline_scope']))
534
-
535
- if _params.get('timeline_code') is not None: # noqa: E501
536
- _query_params.append(('timelineCode', _params['timeline_code']))
537
-
538
- if _params.get('closed_period_id') is not None: # noqa: E501
539
- _query_params.append(('closedPeriodId', _params['closed_period_id']))
540
-
541
517
  # process the header parameters
542
518
  _header_params = dict(_params.get('_headers', {}))
543
519
  # process the form parameters
@@ -577,22 +553,22 @@ class DataTypesApi:
577
553
 
578
554
 
579
555
  @overload
580
- async def get_units_from_data_type(self, scope : Annotated[StrictStr, Field(..., description="The scope of the data type")], code : Annotated[StrictStr, Field(..., description="The code of the data type")], units : Annotated[Optional[conlist(StrictStr)], Field(description="One or more unit identifiers for which the definition is being requested")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Schema, use \"schema eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, as_at : Annotated[Optional[datetime], Field(description="Optional. The as at of the requested data type")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, **kwargs) -> ResourceListOfIUnitDefinitionDto: # noqa: E501
556
+ async def get_units_from_data_type(self, scope : Annotated[StrictStr, Field(..., description="The scope of the data type")], code : Annotated[StrictStr, Field(..., description="The code of the data type")], units : Annotated[Optional[conlist(StrictStr)], Field(description="One or more unit identifiers for which the definition is being requested")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Schema, use \"schema eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, as_at : Annotated[Optional[datetime], Field(description="Optional. The as at of the requested data type")] = None, **kwargs) -> ResourceListOfIUnitDefinitionDto: # noqa: E501
581
557
  ...
582
558
 
583
559
  @overload
584
- def get_units_from_data_type(self, scope : Annotated[StrictStr, Field(..., description="The scope of the data type")], code : Annotated[StrictStr, Field(..., description="The code of the data type")], units : Annotated[Optional[conlist(StrictStr)], Field(description="One or more unit identifiers for which the definition is being requested")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Schema, use \"schema eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, as_at : Annotated[Optional[datetime], Field(description="Optional. The as at of the requested data type")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfIUnitDefinitionDto: # noqa: E501
560
+ def get_units_from_data_type(self, scope : Annotated[StrictStr, Field(..., description="The scope of the data type")], code : Annotated[StrictStr, Field(..., description="The code of the data type")], units : Annotated[Optional[conlist(StrictStr)], Field(description="One or more unit identifiers for which the definition is being requested")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Schema, use \"schema eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, as_at : Annotated[Optional[datetime], Field(description="Optional. The as at of the requested data type")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfIUnitDefinitionDto: # noqa: E501
585
561
  ...
586
562
 
587
563
  @validate_arguments
588
- def get_units_from_data_type(self, scope : Annotated[StrictStr, Field(..., description="The scope of the data type")], code : Annotated[StrictStr, Field(..., description="The code of the data type")], units : Annotated[Optional[conlist(StrictStr)], Field(description="One or more unit identifiers for which the definition is being requested")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Schema, use \"schema eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, as_at : Annotated[Optional[datetime], Field(description="Optional. The as at of the requested data type")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfIUnitDefinitionDto, Awaitable[ResourceListOfIUnitDefinitionDto]]: # noqa: E501
564
+ def get_units_from_data_type(self, scope : Annotated[StrictStr, Field(..., description="The scope of the data type")], code : Annotated[StrictStr, Field(..., description="The code of the data type")], units : Annotated[Optional[conlist(StrictStr)], Field(description="One or more unit identifiers for which the definition is being requested")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Schema, use \"schema eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, as_at : Annotated[Optional[datetime], Field(description="Optional. The as at of the requested data type")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfIUnitDefinitionDto, Awaitable[ResourceListOfIUnitDefinitionDto]]: # noqa: E501
589
565
  """[EARLY ACCESS] GetUnitsFromDataType: Get units from data type # noqa: E501
590
566
 
591
567
  Get the definitions of the specified units associated bound to a specific data type # noqa: E501
592
568
  This method makes a synchronous HTTP request by default. To make an
593
569
  asynchronous HTTP request, please pass async_req=True
594
570
 
595
- >>> thread = api.get_units_from_data_type(scope, code, units, filter, as_at, timeline_scope, timeline_code, closed_period_id, async_req=True)
571
+ >>> thread = api.get_units_from_data_type(scope, code, units, filter, as_at, async_req=True)
596
572
  >>> result = thread.get()
597
573
 
598
574
  :param scope: The scope of the data type (required)
@@ -605,12 +581,6 @@ class DataTypesApi:
605
581
  :type filter: str
606
582
  :param as_at: Optional. The as at of the requested data type
607
583
  :type as_at: datetime
608
- :param timeline_scope: The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.
609
- :type timeline_scope: str
610
- :param timeline_code: The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.
611
- :type timeline_code: str
612
- :param closed_period_id: The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.
613
- :type closed_period_id: str
614
584
  :param async_req: Whether to execute the request asynchronously.
615
585
  :type async_req: bool, optional
616
586
  :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
@@ -627,17 +597,17 @@ class DataTypesApi:
627
597
  raise ValueError(message)
628
598
  if async_req is not None:
629
599
  kwargs['async_req'] = async_req
630
- return self.get_units_from_data_type_with_http_info(scope, code, units, filter, as_at, timeline_scope, timeline_code, closed_period_id, **kwargs) # noqa: E501
600
+ return self.get_units_from_data_type_with_http_info(scope, code, units, filter, as_at, **kwargs) # noqa: E501
631
601
 
632
602
  @validate_arguments
633
- def get_units_from_data_type_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the data type")], code : Annotated[StrictStr, Field(..., description="The code of the data type")], units : Annotated[Optional[conlist(StrictStr)], Field(description="One or more unit identifiers for which the definition is being requested")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Schema, use \"schema eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, as_at : Annotated[Optional[datetime], Field(description="Optional. The as at of the requested data type")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, **kwargs) -> ApiResponse: # noqa: E501
603
+ def get_units_from_data_type_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the data type")], code : Annotated[StrictStr, Field(..., description="The code of the data type")], units : Annotated[Optional[conlist(StrictStr)], Field(description="One or more unit identifiers for which the definition is being requested")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Schema, use \"schema eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, as_at : Annotated[Optional[datetime], Field(description="Optional. The as at of the requested data type")] = None, **kwargs) -> ApiResponse: # noqa: E501
634
604
  """[EARLY ACCESS] GetUnitsFromDataType: Get units from data type # noqa: E501
635
605
 
636
606
  Get the definitions of the specified units associated bound to a specific data type # noqa: E501
637
607
  This method makes a synchronous HTTP request by default. To make an
638
608
  asynchronous HTTP request, please pass async_req=True
639
609
 
640
- >>> thread = api.get_units_from_data_type_with_http_info(scope, code, units, filter, as_at, timeline_scope, timeline_code, closed_period_id, async_req=True)
610
+ >>> thread = api.get_units_from_data_type_with_http_info(scope, code, units, filter, as_at, async_req=True)
641
611
  >>> result = thread.get()
642
612
 
643
613
  :param scope: The scope of the data type (required)
@@ -650,12 +620,6 @@ class DataTypesApi:
650
620
  :type filter: str
651
621
  :param as_at: Optional. The as at of the requested data type
652
622
  :type as_at: datetime
653
- :param timeline_scope: The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.
654
- :type timeline_scope: str
655
- :param timeline_code: The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.
656
- :type timeline_code: str
657
- :param closed_period_id: The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.
658
- :type closed_period_id: str
659
623
  :param async_req: Whether to execute the request asynchronously.
660
624
  :type async_req: bool, optional
661
625
  :param _preload_content: if False, the ApiResponse.data will
@@ -687,10 +651,7 @@ class DataTypesApi:
687
651
  'code',
688
652
  'units',
689
653
  'filter',
690
- 'as_at',
691
- 'timeline_scope',
692
- 'timeline_code',
693
- 'closed_period_id'
654
+ 'as_at'
694
655
  ]
695
656
  _all_params.extend(
696
657
  [
@@ -741,15 +702,6 @@ class DataTypesApi:
741
702
  else:
742
703
  _query_params.append(('asAt', _params['as_at']))
743
704
 
744
- if _params.get('timeline_scope') is not None: # noqa: E501
745
- _query_params.append(('timelineScope', _params['timeline_scope']))
746
-
747
- if _params.get('timeline_code') is not None: # noqa: E501
748
- _query_params.append(('timelineCode', _params['timeline_code']))
749
-
750
- if _params.get('closed_period_id') is not None: # noqa: E501
751
- _query_params.append(('closedPeriodId', _params['closed_period_id']))
752
-
753
705
  # process the header parameters
754
706
  _header_params = dict(_params.get('_headers', {}))
755
707
  # process the form parameters
@@ -789,22 +741,22 @@ class DataTypesApi:
789
741
 
790
742
 
791
743
  @overload
792
- async def list_data_type_summaries(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the data type summaries. Defaults to returning the latest version of each summary if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing data type summaries. This value is returned from the previous call. If a pagination token is provided, the filter, sortBy and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Scope, use \"id.scope eq 'myscope'\", to filter on Schema, use \"schema eq 'string'\", to filter on AcceptableValues use \"acceptableValues any (~ eq 'value')\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names to sort by, each suffixed by \" ASC\" or \" DESC\"")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, **kwargs) -> PagedResourceListOfDataTypeSummary: # noqa: E501
744
+ async def list_data_type_summaries(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the data type summaries. Defaults to returning the latest version of each summary if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing data type summaries. This value is returned from the previous call. If a pagination token is provided, the filter, sortBy and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Scope, use \"id.scope eq 'myscope'\", to filter on Schema, use \"schema eq 'string'\", to filter on AcceptableValues use \"acceptableValues any (~ eq 'value')\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names to sort by, each suffixed by \" ASC\" or \" DESC\"")] = None, **kwargs) -> PagedResourceListOfDataTypeSummary: # noqa: E501
793
745
  ...
794
746
 
795
747
  @overload
796
- def list_data_type_summaries(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the data type summaries. Defaults to returning the latest version of each summary if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing data type summaries. This value is returned from the previous call. If a pagination token is provided, the filter, sortBy and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Scope, use \"id.scope eq 'myscope'\", to filter on Schema, use \"schema eq 'string'\", to filter on AcceptableValues use \"acceptableValues any (~ eq 'value')\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names to sort by, each suffixed by \" ASC\" or \" DESC\"")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, async_req: Optional[bool]=True, **kwargs) -> PagedResourceListOfDataTypeSummary: # noqa: E501
748
+ def list_data_type_summaries(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the data type summaries. Defaults to returning the latest version of each summary if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing data type summaries. This value is returned from the previous call. If a pagination token is provided, the filter, sortBy and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Scope, use \"id.scope eq 'myscope'\", to filter on Schema, use \"schema eq 'string'\", to filter on AcceptableValues use \"acceptableValues any (~ eq 'value')\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names to sort by, each suffixed by \" ASC\" or \" DESC\"")] = None, async_req: Optional[bool]=True, **kwargs) -> PagedResourceListOfDataTypeSummary: # noqa: E501
797
749
  ...
798
750
 
799
751
  @validate_arguments
800
- def list_data_type_summaries(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the data type summaries. Defaults to returning the latest version of each summary if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing data type summaries. This value is returned from the previous call. If a pagination token is provided, the filter, sortBy and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Scope, use \"id.scope eq 'myscope'\", to filter on Schema, use \"schema eq 'string'\", to filter on AcceptableValues use \"acceptableValues any (~ eq 'value')\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names to sort by, each suffixed by \" ASC\" or \" DESC\"")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[PagedResourceListOfDataTypeSummary, Awaitable[PagedResourceListOfDataTypeSummary]]: # noqa: E501
752
+ def list_data_type_summaries(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the data type summaries. Defaults to returning the latest version of each summary if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing data type summaries. This value is returned from the previous call. If a pagination token is provided, the filter, sortBy and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Scope, use \"id.scope eq 'myscope'\", to filter on Schema, use \"schema eq 'string'\", to filter on AcceptableValues use \"acceptableValues any (~ eq 'value')\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names to sort by, each suffixed by \" ASC\" or \" DESC\"")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[PagedResourceListOfDataTypeSummary, Awaitable[PagedResourceListOfDataTypeSummary]]: # noqa: E501
801
753
  """[EARLY ACCESS] ListDataTypeSummaries: List all data type summaries, without the reference data # noqa: E501
802
754
 
803
755
  List all data type summaries # noqa: E501
804
756
  This method makes a synchronous HTTP request by default. To make an
805
757
  asynchronous HTTP request, please pass async_req=True
806
758
 
807
- >>> thread = api.list_data_type_summaries(as_at, page, limit, filter, sort_by, timeline_scope, timeline_code, closed_period_id, async_req=True)
759
+ >>> thread = api.list_data_type_summaries(as_at, page, limit, filter, sort_by, async_req=True)
808
760
  >>> result = thread.get()
809
761
 
810
762
  :param as_at: The asAt datetime at which to list the data type summaries. Defaults to returning the latest version of each summary if not specified.
@@ -817,12 +769,6 @@ class DataTypesApi:
817
769
  :type filter: str
818
770
  :param sort_by: A list of field names to sort by, each suffixed by \" ASC\" or \" DESC\"
819
771
  :type sort_by: List[str]
820
- :param timeline_scope: The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.
821
- :type timeline_scope: str
822
- :param timeline_code: The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.
823
- :type timeline_code: str
824
- :param closed_period_id: The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.
825
- :type closed_period_id: str
826
772
  :param async_req: Whether to execute the request asynchronously.
827
773
  :type async_req: bool, optional
828
774
  :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
@@ -839,17 +785,17 @@ class DataTypesApi:
839
785
  raise ValueError(message)
840
786
  if async_req is not None:
841
787
  kwargs['async_req'] = async_req
842
- return self.list_data_type_summaries_with_http_info(as_at, page, limit, filter, sort_by, timeline_scope, timeline_code, closed_period_id, **kwargs) # noqa: E501
788
+ return self.list_data_type_summaries_with_http_info(as_at, page, limit, filter, sort_by, **kwargs) # noqa: E501
843
789
 
844
790
  @validate_arguments
845
- def list_data_type_summaries_with_http_info(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the data type summaries. Defaults to returning the latest version of each summary if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing data type summaries. This value is returned from the previous call. If a pagination token is provided, the filter, sortBy and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Scope, use \"id.scope eq 'myscope'\", to filter on Schema, use \"schema eq 'string'\", to filter on AcceptableValues use \"acceptableValues any (~ eq 'value')\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names to sort by, each suffixed by \" ASC\" or \" DESC\"")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, **kwargs) -> ApiResponse: # noqa: E501
791
+ def list_data_type_summaries_with_http_info(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the data type summaries. Defaults to returning the latest version of each summary if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing data type summaries. This value is returned from the previous call. If a pagination token is provided, the filter, sortBy and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Scope, use \"id.scope eq 'myscope'\", to filter on Schema, use \"schema eq 'string'\", to filter on AcceptableValues use \"acceptableValues any (~ eq 'value')\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names to sort by, each suffixed by \" ASC\" or \" DESC\"")] = None, **kwargs) -> ApiResponse: # noqa: E501
846
792
  """[EARLY ACCESS] ListDataTypeSummaries: List all data type summaries, without the reference data # noqa: E501
847
793
 
848
794
  List all data type summaries # noqa: E501
849
795
  This method makes a synchronous HTTP request by default. To make an
850
796
  asynchronous HTTP request, please pass async_req=True
851
797
 
852
- >>> thread = api.list_data_type_summaries_with_http_info(as_at, page, limit, filter, sort_by, timeline_scope, timeline_code, closed_period_id, async_req=True)
798
+ >>> thread = api.list_data_type_summaries_with_http_info(as_at, page, limit, filter, sort_by, async_req=True)
853
799
  >>> result = thread.get()
854
800
 
855
801
  :param as_at: The asAt datetime at which to list the data type summaries. Defaults to returning the latest version of each summary if not specified.
@@ -862,12 +808,6 @@ class DataTypesApi:
862
808
  :type filter: str
863
809
  :param sort_by: A list of field names to sort by, each suffixed by \" ASC\" or \" DESC\"
864
810
  :type sort_by: List[str]
865
- :param timeline_scope: The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.
866
- :type timeline_scope: str
867
- :param timeline_code: The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.
868
- :type timeline_code: str
869
- :param closed_period_id: The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.
870
- :type closed_period_id: str
871
811
  :param async_req: Whether to execute the request asynchronously.
872
812
  :type async_req: bool, optional
873
813
  :param _preload_content: if False, the ApiResponse.data will
@@ -899,10 +839,7 @@ class DataTypesApi:
899
839
  'page',
900
840
  'limit',
901
841
  'filter',
902
- 'sort_by',
903
- 'timeline_scope',
904
- 'timeline_code',
905
- 'closed_period_id'
842
+ 'sort_by'
906
843
  ]
907
844
  _all_params.extend(
908
845
  [
@@ -953,15 +890,6 @@ class DataTypesApi:
953
890
  _query_params.append(('sortBy', _params['sort_by']))
954
891
  _collection_formats['sortBy'] = 'multi'
955
892
 
956
- if _params.get('timeline_scope') is not None: # noqa: E501
957
- _query_params.append(('timelineScope', _params['timeline_scope']))
958
-
959
- if _params.get('timeline_code') is not None: # noqa: E501
960
- _query_params.append(('timelineCode', _params['timeline_code']))
961
-
962
- if _params.get('closed_period_id') is not None: # noqa: E501
963
- _query_params.append(('closedPeriodId', _params['closed_period_id']))
964
-
965
893
  # process the header parameters
966
894
  _header_params = dict(_params.get('_headers', {}))
967
895
  # process the form parameters
@@ -1001,22 +929,22 @@ class DataTypesApi:
1001
929
 
1002
930
 
1003
931
  @overload
1004
- async def list_data_types(self, scope : Annotated[StrictStr, Field(..., description="The requested scope of the data types")], as_at : Annotated[Optional[datetime], Field(description="The as at of the requested data types")] = None, include_system : Annotated[Optional[StrictBool], Field(description="Whether to additionally include those data types in the \"system\" scope")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Display Name, use \"displayName eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, **kwargs) -> ResourceListOfDataType: # noqa: E501
932
+ async def list_data_types(self, scope : Annotated[StrictStr, Field(..., description="The requested scope of the data types")], as_at : Annotated[Optional[datetime], Field(description="The as at of the requested data types")] = None, include_system : Annotated[Optional[StrictBool], Field(description="Whether to additionally include those data types in the \"system\" scope")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Display Name, use \"displayName eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, **kwargs) -> ResourceListOfDataType: # noqa: E501
1005
933
  ...
1006
934
 
1007
935
  @overload
1008
- def list_data_types(self, scope : Annotated[StrictStr, Field(..., description="The requested scope of the data types")], as_at : Annotated[Optional[datetime], Field(description="The as at of the requested data types")] = None, include_system : Annotated[Optional[StrictBool], Field(description="Whether to additionally include those data types in the \"system\" scope")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Display Name, use \"displayName eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfDataType: # noqa: E501
936
+ def list_data_types(self, scope : Annotated[StrictStr, Field(..., description="The requested scope of the data types")], as_at : Annotated[Optional[datetime], Field(description="The as at of the requested data types")] = None, include_system : Annotated[Optional[StrictBool], Field(description="Whether to additionally include those data types in the \"system\" scope")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Display Name, use \"displayName eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfDataType: # noqa: E501
1009
937
  ...
1010
938
 
1011
939
  @validate_arguments
1012
- def list_data_types(self, scope : Annotated[StrictStr, Field(..., description="The requested scope of the data types")], as_at : Annotated[Optional[datetime], Field(description="The as at of the requested data types")] = None, include_system : Annotated[Optional[StrictBool], Field(description="Whether to additionally include those data types in the \"system\" scope")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Display Name, use \"displayName eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfDataType, Awaitable[ResourceListOfDataType]]: # noqa: E501
940
+ def list_data_types(self, scope : Annotated[StrictStr, Field(..., description="The requested scope of the data types")], as_at : Annotated[Optional[datetime], Field(description="The as at of the requested data types")] = None, include_system : Annotated[Optional[StrictBool], Field(description="Whether to additionally include those data types in the \"system\" scope")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Display Name, use \"displayName eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfDataType, Awaitable[ResourceListOfDataType]]: # noqa: E501
1013
941
  """ListDataTypes: List data types # noqa: E501
1014
942
 
1015
943
  List all data types in a specified scope # noqa: E501
1016
944
  This method makes a synchronous HTTP request by default. To make an
1017
945
  asynchronous HTTP request, please pass async_req=True
1018
946
 
1019
- >>> thread = api.list_data_types(scope, as_at, include_system, sort_by, limit, filter, timeline_scope, timeline_code, closed_period_id, async_req=True)
947
+ >>> thread = api.list_data_types(scope, as_at, include_system, sort_by, limit, filter, async_req=True)
1020
948
  >>> result = thread.get()
1021
949
 
1022
950
  :param scope: The requested scope of the data types (required)
@@ -1031,12 +959,6 @@ class DataTypesApi:
1031
959
  :type limit: int
1032
960
  :param filter: Optional. Expression to filter the result set. For example, to filter on the Display Name, use \"displayName eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.
1033
961
  :type filter: str
1034
- :param timeline_scope: The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.
1035
- :type timeline_scope: str
1036
- :param timeline_code: The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.
1037
- :type timeline_code: str
1038
- :param closed_period_id: The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.
1039
- :type closed_period_id: str
1040
962
  :param async_req: Whether to execute the request asynchronously.
1041
963
  :type async_req: bool, optional
1042
964
  :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
@@ -1053,17 +975,17 @@ class DataTypesApi:
1053
975
  raise ValueError(message)
1054
976
  if async_req is not None:
1055
977
  kwargs['async_req'] = async_req
1056
- return self.list_data_types_with_http_info(scope, as_at, include_system, sort_by, limit, filter, timeline_scope, timeline_code, closed_period_id, **kwargs) # noqa: E501
978
+ return self.list_data_types_with_http_info(scope, as_at, include_system, sort_by, limit, filter, **kwargs) # noqa: E501
1057
979
 
1058
980
  @validate_arguments
1059
- def list_data_types_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The requested scope of the data types")], as_at : Annotated[Optional[datetime], Field(description="The as at of the requested data types")] = None, include_system : Annotated[Optional[StrictBool], Field(description="Whether to additionally include those data types in the \"system\" scope")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Display Name, use \"displayName eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, **kwargs) -> ApiResponse: # noqa: E501
981
+ def list_data_types_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The requested scope of the data types")], as_at : Annotated[Optional[datetime], Field(description="The as at of the requested data types")] = None, include_system : Annotated[Optional[StrictBool], Field(description="Whether to additionally include those data types in the \"system\" scope")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Optional. Expression to filter the result set. For example, to filter on the Display Name, use \"displayName eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, **kwargs) -> ApiResponse: # noqa: E501
1060
982
  """ListDataTypes: List data types # noqa: E501
1061
983
 
1062
984
  List all data types in a specified scope # noqa: E501
1063
985
  This method makes a synchronous HTTP request by default. To make an
1064
986
  asynchronous HTTP request, please pass async_req=True
1065
987
 
1066
- >>> thread = api.list_data_types_with_http_info(scope, as_at, include_system, sort_by, limit, filter, timeline_scope, timeline_code, closed_period_id, async_req=True)
988
+ >>> thread = api.list_data_types_with_http_info(scope, as_at, include_system, sort_by, limit, filter, async_req=True)
1067
989
  >>> result = thread.get()
1068
990
 
1069
991
  :param scope: The requested scope of the data types (required)
@@ -1078,12 +1000,6 @@ class DataTypesApi:
1078
1000
  :type limit: int
1079
1001
  :param filter: Optional. Expression to filter the result set. For example, to filter on the Display Name, use \"displayName eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.
1080
1002
  :type filter: str
1081
- :param timeline_scope: The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.
1082
- :type timeline_scope: str
1083
- :param timeline_code: The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.
1084
- :type timeline_code: str
1085
- :param closed_period_id: The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.
1086
- :type closed_period_id: str
1087
1003
  :param async_req: Whether to execute the request asynchronously.
1088
1004
  :type async_req: bool, optional
1089
1005
  :param _preload_content: if False, the ApiResponse.data will
@@ -1116,10 +1032,7 @@ class DataTypesApi:
1116
1032
  'include_system',
1117
1033
  'sort_by',
1118
1034
  'limit',
1119
- 'filter',
1120
- 'timeline_scope',
1121
- 'timeline_code',
1122
- 'closed_period_id'
1035
+ 'filter'
1123
1036
  ]
1124
1037
  _all_params.extend(
1125
1038
  [
@@ -1173,15 +1086,6 @@ class DataTypesApi:
1173
1086
  if _params.get('filter') is not None: # noqa: E501
1174
1087
  _query_params.append(('filter', _params['filter']))
1175
1088
 
1176
- if _params.get('timeline_scope') is not None: # noqa: E501
1177
- _query_params.append(('timelineScope', _params['timeline_scope']))
1178
-
1179
- if _params.get('timeline_code') is not None: # noqa: E501
1180
- _query_params.append(('timelineCode', _params['timeline_code']))
1181
-
1182
- if _params.get('closed_period_id') is not None: # noqa: E501
1183
- _query_params.append(('closedPeriodId', _params['closed_period_id']))
1184
-
1185
1089
  # process the header parameters
1186
1090
  _header_params = dict(_params.get('_headers', {}))
1187
1091
  # process the form parameters