luminesce-sdk 2.4.5__py3-none-any.whl → 2.4.7__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.
luminesce/__init__.py CHANGED
@@ -90,6 +90,7 @@ from luminesce.models.intellisense_request import IntellisenseRequest
90
90
  from luminesce.models.intellisense_response import IntellisenseResponse
91
91
  from luminesce.models.intellisense_type import IntellisenseType
92
92
  from luminesce.models.joined_table_design import JoinedTableDesign
93
+ from luminesce.models.lineage import Lineage
93
94
  from luminesce.models.link import Link
94
95
  from luminesce.models.luminesce_binary_type import LuminesceBinaryType
95
96
  from luminesce.models.lusid_grid_data import LusidGridData
@@ -113,6 +114,8 @@ from luminesce.models.resource_list_of_access_controlled_resource import Resourc
113
114
  from luminesce.models.scalar_parameter import ScalarParameter
114
115
  from luminesce.models.source import Source
115
116
  from luminesce.models.source_type import SourceType
117
+ from luminesce.models.sql_execution_flags import SqlExecutionFlags
118
+ from luminesce.models.table_lineage import TableLineage
116
119
  from luminesce.models.table_meta import TableMeta
117
120
  from luminesce.models.table_view import TableView
118
121
  from luminesce.models.task_status import TaskStatus
@@ -197,6 +200,7 @@ __all__ = [
197
200
  "IntellisenseResponse",
198
201
  "IntellisenseType",
199
202
  "JoinedTableDesign",
203
+ "Lineage",
200
204
  "Link",
201
205
  "LuminesceBinaryType",
202
206
  "LusidGridData",
@@ -220,6 +224,8 @@ __all__ = [
220
224
  "ScalarParameter",
221
225
  "Source",
222
226
  "SourceType",
227
+ "SqlExecutionFlags",
228
+ "TableLineage",
223
229
  "TableMeta",
224
230
  "TableView",
225
231
  "TaskStatus",
@@ -209,26 +209,28 @@ class CurrentTableFieldCatalogApi:
209
209
 
210
210
 
211
211
  @overload
212
- async def get_fields(self, table_like : Annotated[Optional[StrictStr], Field()] = None, **kwargs) -> str: # noqa: E501
212
+ async def get_fields(self, table_like : Annotated[Optional[StrictStr], Field( description="Allows for SQL-LIKE style filtering of which Providers you want the fields for.")] = None, add_lineage : Annotated[Optional[StrictBool], Field(description="Adds in any column lineage which is registered in the catalog to the results.")] = None, **kwargs) -> str: # noqa: E501
213
213
  ...
214
214
 
215
215
  @overload
216
- def get_fields(self, table_like : Annotated[Optional[StrictStr], Field()] = None, async_req: Optional[bool]=True, **kwargs) -> str: # noqa: E501
216
+ def get_fields(self, table_like : Annotated[Optional[StrictStr], Field( description="Allows for SQL-LIKE style filtering of which Providers you want the fields for.")] = None, add_lineage : Annotated[Optional[StrictBool], Field(description="Adds in any column lineage which is registered in the catalog to the results.")] = None, async_req: Optional[bool]=True, **kwargs) -> str: # noqa: E501
217
217
  ...
218
218
 
219
219
  @validate_arguments
220
- def get_fields(self, table_like : Annotated[Optional[StrictStr], Field()] = None, async_req: Optional[bool]=None, **kwargs) -> Union[str, Awaitable[str]]: # noqa: E501
220
+ def get_fields(self, table_like : Annotated[Optional[StrictStr], Field( description="Allows for SQL-LIKE style filtering of which Providers you want the fields for.")] = None, add_lineage : Annotated[Optional[StrictBool], Field(description="Adds in any column lineage which is registered in the catalog to the results.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[str, Awaitable[str]]: # noqa: E501
221
221
  """GetFields: List field and parameters for providers # noqa: E501
222
222
 
223
223
  Returns the User's full version of the catalog but only the field/parameter-level information (as well as the TableName they refer to, of course) for tables matching the `tableLike` (manually include wildcards if desired). The internal results are cached for several minutes. It is possible to be throttled if you make too many requests in a short period of time, receiving a: - 429 Too Many Requests : Please try your request again soon The following error codes are to be anticipated with standard Problem Detail reports: - 401 Unauthorized - 403 Forbidden # noqa: E501
224
224
  This method makes a synchronous HTTP request by default. To make an
225
225
  asynchronous HTTP request, please pass async_req=True
226
226
 
227
- >>> thread = api.get_fields(table_like, async_req=True)
227
+ >>> thread = api.get_fields(table_like, add_lineage, async_req=True)
228
228
  >>> result = thread.get()
229
229
 
230
- :param table_like:
230
+ :param table_like: Allows for SQL-LIKE style filtering of which Providers you want the fields for.
231
231
  :type table_like: str
232
+ :param add_lineage: Adds in any column lineage which is registered in the catalog to the results.
233
+ :type add_lineage: bool
232
234
  :param async_req: Whether to execute the request asynchronously.
233
235
  :type async_req: bool, optional
234
236
  :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
@@ -245,21 +247,23 @@ class CurrentTableFieldCatalogApi:
245
247
  raise ValueError(message)
246
248
  if async_req is not None:
247
249
  kwargs['async_req'] = async_req
248
- return self.get_fields_with_http_info(table_like, **kwargs) # noqa: E501
250
+ return self.get_fields_with_http_info(table_like, add_lineage, **kwargs) # noqa: E501
249
251
 
250
252
  @validate_arguments
251
- def get_fields_with_http_info(self, table_like : Annotated[Optional[StrictStr], Field()] = None, **kwargs) -> ApiResponse: # noqa: E501
253
+ def get_fields_with_http_info(self, table_like : Annotated[Optional[StrictStr], Field( description="Allows for SQL-LIKE style filtering of which Providers you want the fields for.")] = None, add_lineage : Annotated[Optional[StrictBool], Field(description="Adds in any column lineage which is registered in the catalog to the results.")] = None, **kwargs) -> ApiResponse: # noqa: E501
252
254
  """GetFields: List field and parameters for providers # noqa: E501
253
255
 
254
256
  Returns the User's full version of the catalog but only the field/parameter-level information (as well as the TableName they refer to, of course) for tables matching the `tableLike` (manually include wildcards if desired). The internal results are cached for several minutes. It is possible to be throttled if you make too many requests in a short period of time, receiving a: - 429 Too Many Requests : Please try your request again soon The following error codes are to be anticipated with standard Problem Detail reports: - 401 Unauthorized - 403 Forbidden # noqa: E501
255
257
  This method makes a synchronous HTTP request by default. To make an
256
258
  asynchronous HTTP request, please pass async_req=True
257
259
 
258
- >>> thread = api.get_fields_with_http_info(table_like, async_req=True)
260
+ >>> thread = api.get_fields_with_http_info(table_like, add_lineage, async_req=True)
259
261
  >>> result = thread.get()
260
262
 
261
- :param table_like:
263
+ :param table_like: Allows for SQL-LIKE style filtering of which Providers you want the fields for.
262
264
  :type table_like: str
265
+ :param add_lineage: Adds in any column lineage which is registered in the catalog to the results.
266
+ :type add_lineage: bool
263
267
  :param async_req: Whether to execute the request asynchronously.
264
268
  :type async_req: bool, optional
265
269
  :param _preload_content: if False, the ApiResponse.data will
@@ -287,7 +291,8 @@ class CurrentTableFieldCatalogApi:
287
291
  _params = locals()
288
292
 
289
293
  _all_params = [
290
- 'table_like'
294
+ 'table_like',
295
+ 'add_lineage'
291
296
  ]
292
297
  _all_params.extend(
293
298
  [
@@ -322,6 +327,9 @@ class CurrentTableFieldCatalogApi:
322
327
  if _params.get('table_like') is not None: # noqa: E501
323
328
  _query_params.append(('tableLike', _params['table_like']))
324
329
 
330
+ if _params.get('add_lineage') is not None: # noqa: E501
331
+ _query_params.append(('addLineage', _params['add_lineage']))
332
+
325
333
  # process the header parameters
326
334
  _header_params = dict(_params.get('_headers', {}))
327
335
  # process the form parameters
@@ -360,26 +368,28 @@ class CurrentTableFieldCatalogApi:
360
368
 
361
369
 
362
370
  @overload
363
- async def get_providers(self, free_text_search : Annotated[Optional[StrictStr], Field( description="Limit the catalog to only things in some way dealing with the passed in text string")] = None, **kwargs) -> str: # noqa: E501
371
+ async def get_providers(self, free_text_search : Annotated[Optional[StrictStr], Field( description="Limit the catalog to only things in some way dealing with the passed in text string")] = None, add_lineage : Annotated[Optional[StrictBool], Field(description="Adds in any column lineage which is registered in the catalog to the results.")] = None, **kwargs) -> str: # noqa: E501
364
372
  ...
365
373
 
366
374
  @overload
367
- def get_providers(self, free_text_search : Annotated[Optional[StrictStr], Field( description="Limit the catalog to only things in some way dealing with the passed in text string")] = None, async_req: Optional[bool]=True, **kwargs) -> str: # noqa: E501
375
+ def get_providers(self, free_text_search : Annotated[Optional[StrictStr], Field( description="Limit the catalog to only things in some way dealing with the passed in text string")] = None, add_lineage : Annotated[Optional[StrictBool], Field(description="Adds in any column lineage which is registered in the catalog to the results.")] = None, async_req: Optional[bool]=True, **kwargs) -> str: # noqa: E501
368
376
  ...
369
377
 
370
378
  @validate_arguments
371
- def get_providers(self, free_text_search : Annotated[Optional[StrictStr], Field( description="Limit the catalog to only things in some way dealing with the passed in text string")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[str, Awaitable[str]]: # noqa: E501
379
+ def get_providers(self, free_text_search : Annotated[Optional[StrictStr], Field( description="Limit the catalog to only things in some way dealing with the passed in text string")] = None, add_lineage : Annotated[Optional[StrictBool], Field(description="Adds in any column lineage which is registered in the catalog to the results.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[str, Awaitable[str]]: # noqa: E501
372
380
  """GetProviders: List available providers # noqa: E501
373
381
 
374
382
  Returns the User's full version of the catalog but only the table/provider-level information they have access to. The internal results are cached for several minutes. It is possible to be throttled if you make too many requests in a short period of time, receiving a: - 429 Too Many Requests : Please try your request again soon The following error codes are to be anticipated with standard Problem Detail reports: - 401 Unauthorized - 403 Forbidden # noqa: E501
375
383
  This method makes a synchronous HTTP request by default. To make an
376
384
  asynchronous HTTP request, please pass async_req=True
377
385
 
378
- >>> thread = api.get_providers(free_text_search, async_req=True)
386
+ >>> thread = api.get_providers(free_text_search, add_lineage, async_req=True)
379
387
  >>> result = thread.get()
380
388
 
381
389
  :param free_text_search: Limit the catalog to only things in some way dealing with the passed in text string
382
390
  :type free_text_search: str
391
+ :param add_lineage: Adds in any column lineage which is registered in the catalog to the results.
392
+ :type add_lineage: bool
383
393
  :param async_req: Whether to execute the request asynchronously.
384
394
  :type async_req: bool, optional
385
395
  :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
@@ -396,21 +406,23 @@ class CurrentTableFieldCatalogApi:
396
406
  raise ValueError(message)
397
407
  if async_req is not None:
398
408
  kwargs['async_req'] = async_req
399
- return self.get_providers_with_http_info(free_text_search, **kwargs) # noqa: E501
409
+ return self.get_providers_with_http_info(free_text_search, add_lineage, **kwargs) # noqa: E501
400
410
 
401
411
  @validate_arguments
402
- def get_providers_with_http_info(self, free_text_search : Annotated[Optional[StrictStr], Field( description="Limit the catalog to only things in some way dealing with the passed in text string")] = None, **kwargs) -> ApiResponse: # noqa: E501
412
+ def get_providers_with_http_info(self, free_text_search : Annotated[Optional[StrictStr], Field( description="Limit the catalog to only things in some way dealing with the passed in text string")] = None, add_lineage : Annotated[Optional[StrictBool], Field(description="Adds in any column lineage which is registered in the catalog to the results.")] = None, **kwargs) -> ApiResponse: # noqa: E501
403
413
  """GetProviders: List available providers # noqa: E501
404
414
 
405
415
  Returns the User's full version of the catalog but only the table/provider-level information they have access to. The internal results are cached for several minutes. It is possible to be throttled if you make too many requests in a short period of time, receiving a: - 429 Too Many Requests : Please try your request again soon The following error codes are to be anticipated with standard Problem Detail reports: - 401 Unauthorized - 403 Forbidden # noqa: E501
406
416
  This method makes a synchronous HTTP request by default. To make an
407
417
  asynchronous HTTP request, please pass async_req=True
408
418
 
409
- >>> thread = api.get_providers_with_http_info(free_text_search, async_req=True)
419
+ >>> thread = api.get_providers_with_http_info(free_text_search, add_lineage, async_req=True)
410
420
  >>> result = thread.get()
411
421
 
412
422
  :param free_text_search: Limit the catalog to only things in some way dealing with the passed in text string
413
423
  :type free_text_search: str
424
+ :param add_lineage: Adds in any column lineage which is registered in the catalog to the results.
425
+ :type add_lineage: bool
414
426
  :param async_req: Whether to execute the request asynchronously.
415
427
  :type async_req: bool, optional
416
428
  :param _preload_content: if False, the ApiResponse.data will
@@ -438,7 +450,8 @@ class CurrentTableFieldCatalogApi:
438
450
  _params = locals()
439
451
 
440
452
  _all_params = [
441
- 'free_text_search'
453
+ 'free_text_search',
454
+ 'add_lineage'
442
455
  ]
443
456
  _all_params.extend(
444
457
  [
@@ -473,6 +486,9 @@ class CurrentTableFieldCatalogApi:
473
486
  if _params.get('free_text_search') is not None: # noqa: E501
474
487
  _query_params.append(('freeTextSearch', _params['free_text_search']))
475
488
 
489
+ if _params.get('add_lineage') is not None: # noqa: E501
490
+ _query_params.append(('addLineage', _params['add_lineage']))
491
+
476
492
  # process the header parameters
477
493
  _header_params = dict(_params.get('_headers', {}))
478
494
  # process the form parameters