luminesce-sdk 2.4.6__py3-none-any.whl → 2.4.8__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/api/current_table_field_catalog_api.py +16 -8
- luminesce/configuration.py +1 -1
- luminesce/models/table_lineage.py +6 -6
- {luminesce_sdk-2.4.6.dist-info → luminesce_sdk-2.4.8.dist-info}/METADATA +1 -1
- {luminesce_sdk-2.4.6.dist-info → luminesce_sdk-2.4.8.dist-info}/RECORD +6 -6
- {luminesce_sdk-2.4.6.dist-info → luminesce_sdk-2.4.8.dist-info}/WHEEL +0 -0
|
@@ -368,26 +368,28 @@ class CurrentTableFieldCatalogApi:
|
|
|
368
368
|
|
|
369
369
|
|
|
370
370
|
@overload
|
|
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, **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
|
|
372
372
|
...
|
|
373
373
|
|
|
374
374
|
@overload
|
|
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, 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
|
|
376
376
|
...
|
|
377
377
|
|
|
378
378
|
@validate_arguments
|
|
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, 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
|
|
380
380
|
"""GetProviders: List available providers # noqa: E501
|
|
381
381
|
|
|
382
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
|
|
383
383
|
This method makes a synchronous HTTP request by default. To make an
|
|
384
384
|
asynchronous HTTP request, please pass async_req=True
|
|
385
385
|
|
|
386
|
-
>>> thread = api.get_providers(free_text_search, async_req=True)
|
|
386
|
+
>>> thread = api.get_providers(free_text_search, add_lineage, async_req=True)
|
|
387
387
|
>>> result = thread.get()
|
|
388
388
|
|
|
389
389
|
:param free_text_search: Limit the catalog to only things in some way dealing with the passed in text string
|
|
390
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
|
|
391
393
|
:param async_req: Whether to execute the request asynchronously.
|
|
392
394
|
:type async_req: bool, optional
|
|
393
395
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
|
@@ -404,21 +406,23 @@ class CurrentTableFieldCatalogApi:
|
|
|
404
406
|
raise ValueError(message)
|
|
405
407
|
if async_req is not None:
|
|
406
408
|
kwargs['async_req'] = async_req
|
|
407
|
-
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
|
|
408
410
|
|
|
409
411
|
@validate_arguments
|
|
410
|
-
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
|
|
411
413
|
"""GetProviders: List available providers # noqa: E501
|
|
412
414
|
|
|
413
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
|
|
414
416
|
This method makes a synchronous HTTP request by default. To make an
|
|
415
417
|
asynchronous HTTP request, please pass async_req=True
|
|
416
418
|
|
|
417
|
-
>>> 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)
|
|
418
420
|
>>> result = thread.get()
|
|
419
421
|
|
|
420
422
|
:param free_text_search: Limit the catalog to only things in some way dealing with the passed in text string
|
|
421
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
|
|
422
426
|
:param async_req: Whether to execute the request asynchronously.
|
|
423
427
|
:type async_req: bool, optional
|
|
424
428
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -446,7 +450,8 @@ class CurrentTableFieldCatalogApi:
|
|
|
446
450
|
_params = locals()
|
|
447
451
|
|
|
448
452
|
_all_params = [
|
|
449
|
-
'free_text_search'
|
|
453
|
+
'free_text_search',
|
|
454
|
+
'add_lineage'
|
|
450
455
|
]
|
|
451
456
|
_all_params.extend(
|
|
452
457
|
[
|
|
@@ -481,6 +486,9 @@ class CurrentTableFieldCatalogApi:
|
|
|
481
486
|
if _params.get('free_text_search') is not None: # noqa: E501
|
|
482
487
|
_query_params.append(('freeTextSearch', _params['free_text_search']))
|
|
483
488
|
|
|
489
|
+
if _params.get('add_lineage') is not None: # noqa: E501
|
|
490
|
+
_query_params.append(('addLineage', _params['add_lineage']))
|
|
491
|
+
|
|
484
492
|
# process the header parameters
|
|
485
493
|
_header_params = dict(_params.get('_headers', {}))
|
|
486
494
|
# process the form parameters
|
luminesce/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: 1.19.
|
|
448
|
+
"Version of the API: 1.19.168\n"\
|
|
449
449
|
"SDK Package Version: {package_version}".\
|
|
450
450
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
|
451
451
|
|
|
@@ -29,9 +29,9 @@ class TableLineage(BaseModel):
|
|
|
29
29
|
TableLineage
|
|
30
30
|
"""
|
|
31
31
|
column_lineage: Optional[List[Lineage]] = Field(default=None, alias="columnLineage")
|
|
32
|
-
|
|
32
|
+
whole_table_lineage: Optional[Lineage] = Field(default=None, alias="wholeTableLineage")
|
|
33
33
|
failure_reason: Optional[StrictStr] = Field(None,alias="failureReason")
|
|
34
|
-
__properties = ["columnLineage", "
|
|
34
|
+
__properties = ["columnLineage", "wholeTableLineage", "failureReason"]
|
|
35
35
|
|
|
36
36
|
class Config:
|
|
37
37
|
"""Pydantic configuration"""
|
|
@@ -72,9 +72,9 @@ class TableLineage(BaseModel):
|
|
|
72
72
|
if _item:
|
|
73
73
|
_items.append(_item.to_dict())
|
|
74
74
|
_dict['columnLineage'] = _items
|
|
75
|
-
# override the default output from pydantic by calling `to_dict()` of
|
|
76
|
-
if self.
|
|
77
|
-
_dict['
|
|
75
|
+
# override the default output from pydantic by calling `to_dict()` of whole_table_lineage
|
|
76
|
+
if self.whole_table_lineage:
|
|
77
|
+
_dict['wholeTableLineage'] = self.whole_table_lineage.to_dict()
|
|
78
78
|
# set to None if column_lineage (nullable) is None
|
|
79
79
|
# and __fields_set__ contains the field
|
|
80
80
|
if self.column_lineage is None and "column_lineage" in self.__fields_set__:
|
|
@@ -98,7 +98,7 @@ class TableLineage(BaseModel):
|
|
|
98
98
|
|
|
99
99
|
_obj = TableLineage.parse_obj({
|
|
100
100
|
"column_lineage": [Lineage.from_dict(_item) for _item in obj.get("columnLineage")] if obj.get("columnLineage") is not None else None,
|
|
101
|
-
"
|
|
101
|
+
"whole_table_lineage": Lineage.from_dict(obj.get("wholeTableLineage")) if obj.get("wholeTableLineage") is not None else None,
|
|
102
102
|
"failure_reason": obj.get("failureReason")
|
|
103
103
|
})
|
|
104
104
|
return _obj
|
|
@@ -3,7 +3,7 @@ luminesce/api/__init__.py,sha256=Gs6_mGj7uS5ri7lhDmRWkzlcWq7HXbPSMEq9Q1cIEfw,111
|
|
|
3
3
|
luminesce/api/application_metadata_api.py,sha256=apc8lEV3WL9C5yl_S3n61RP7WnxrX0mXzVYH01zuLPA,8760
|
|
4
4
|
luminesce/api/binary_downloading_api.py,sha256=TM6op1vo0Ekp30R-tm38TTr6yFTYyypUv_X3jS_EzCY,20133
|
|
5
5
|
luminesce/api/certificate_management_api.py,sha256=s3DyFItVmkjqAPyZfUjOtOvqMVjkWiH70F-ZA62yvsE,31137
|
|
6
|
-
luminesce/api/current_table_field_catalog_api.py,sha256=
|
|
6
|
+
luminesce/api/current_table_field_catalog_api.py,sha256=EZTNo7H_P-jpWmTU14AtN4rMHZinBpRKgVUh4VgZXhk,28671
|
|
7
7
|
luminesce/api/health_checking_endpoint_api.py,sha256=QIou6LUfy-OaWjKCNOcJnaRmSnRl9luKcwHk2eZmsew,8630
|
|
8
8
|
luminesce/api/historically_executed_queries_api.py,sha256=np6PK04uihAGH20skZ-tBisIZCFDFwfBClakFJ86-mY,64144
|
|
9
9
|
luminesce/api/multi_query_execution_api.py,sha256=CHm8KXsDCvAMdRg-DeZCyE7TAnalH4srAEHvVWO2BJM,38519
|
|
@@ -12,7 +12,7 @@ luminesce/api/sql_design_api.py,sha256=z8H7KKgC37v0nTYPFuYsk6xT2HvDDMXbWnQfUp9h6
|
|
|
12
12
|
luminesce/api/sql_execution_api.py,sha256=eSdthsdsI8Zt52KuYy6tas3OXpvDX0EfEBm7RM5GQEk,183451
|
|
13
13
|
luminesce/api_client.py,sha256=HzMXLz0L6zNANG_St69Pkj90nZdX0_L7PWakPR-U0xs,31216
|
|
14
14
|
luminesce/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
|
|
15
|
-
luminesce/configuration.py,sha256
|
|
15
|
+
luminesce/configuration.py,sha256=xSdekC_-bi8klQfJN-CWRrVfwZZ8BlprA2eVCZt-KZE,18017
|
|
16
16
|
luminesce/exceptions.py,sha256=CM3oV1eLtc86rQdbOszHdFU7Hz5aQbmxNm2PffzwHM0,5891
|
|
17
17
|
luminesce/extensions/__init__.py,sha256=Ae4tuN73CThE9i7c8A5HktOX4-P8tC1JOt6RgM6oacg,642
|
|
18
18
|
luminesce/extensions/api_client.py,sha256=Tbumlshn9TpwGwPltqeA4NK1ZZmi3zncNQP1Ou3e-hg,31023
|
|
@@ -106,7 +106,7 @@ luminesce/models/scalar_parameter.py,sha256=WueVKDug09NTokmwf3SYTMjGzP2JTiWDC0Ka
|
|
|
106
106
|
luminesce/models/source.py,sha256=KQCu37ZiJ5VrPw_rjtGdHXrqwa9GKEAmIpzKU3ufxdQ,2745
|
|
107
107
|
luminesce/models/source_type.py,sha256=AS-YBVMsIg9AOqfcbrQbKxNaqt5gNeOT5u1RM1xVMYw,1051
|
|
108
108
|
luminesce/models/sql_execution_flags.py,sha256=4_dqWlWIRLr9uyrbA0KD51vBumrVs8MXPlT39DQmy5o,981
|
|
109
|
-
luminesce/models/table_lineage.py,sha256=
|
|
109
|
+
luminesce/models/table_lineage.py,sha256=6jRtB7DKIvrIDkrDEZBjrmwMwWWGqxl9AA-Zpcs-7Ig,3891
|
|
110
110
|
luminesce/models/table_meta.py,sha256=KQLf-R1eLRWopPSnBLNW2MHDdy2Et1y8cPv57-f1TyI,2354
|
|
111
111
|
luminesce/models/table_view.py,sha256=_61LLWiDGsGscZr0Fjp_7EJ_LmxNVmtLcBgxctaVCPY,4353
|
|
112
112
|
luminesce/models/task_status.py,sha256=QU8j-Ybehko6q7lZzfPd9tcub0yeMOEJR8BF06PqV-A,1178
|
|
@@ -115,6 +115,6 @@ luminesce/models/view_parameter.py,sha256=JlR1ZSbn847GT5lwHOTTnrXRgW2IbIw7buabG-
|
|
|
115
115
|
luminesce/models/writer_design.py,sha256=ZzToPDc2mke_TAQfRQXCwHFzTPHI5-5W2PDLmBknHAw,4923
|
|
116
116
|
luminesce/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
117
117
|
luminesce/rest.py,sha256=jPlPMTmdrPXCaisGiNGkjP2TJLT0dSH51tvzauPijNk,13453
|
|
118
|
-
luminesce_sdk-2.4.
|
|
119
|
-
luminesce_sdk-2.4.
|
|
120
|
-
luminesce_sdk-2.4.
|
|
118
|
+
luminesce_sdk-2.4.8.dist-info/METADATA,sha256=rVen6h9a0Zf2H0mNhERLjeR8_T419aJZ-mXQuUt6Gl8,18829
|
|
119
|
+
luminesce_sdk-2.4.8.dist-info/WHEEL,sha256=3ny-bZhpXrU6vSQ1UPG34FoxZBp3lVcvK0LkgUz6VLk,88
|
|
120
|
+
luminesce_sdk-2.4.8.dist-info/RECORD,,
|
|
File without changes
|