luminesce-sdk 2.3.11__py3-none-any.whl → 2.3.12__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/historically_executed_queries_api.py +8 -16
- luminesce/api/sql_background_execution_api.py +20 -12
- luminesce/configuration.py +1 -1
- {luminesce_sdk-2.3.11.dist-info → luminesce_sdk-2.3.12.dist-info}/METADATA +2 -2
- {luminesce_sdk-2.3.11.dist-info → luminesce_sdk-2.3.12.dist-info}/RECORD +6 -6
- {luminesce_sdk-2.3.11.dist-info → luminesce_sdk-2.3.12.dist-info}/WHEEL +0 -0
|
@@ -591,22 +591,22 @@ class HistoricallyExecutedQueriesApi:
|
|
|
591
591
|
|
|
592
592
|
|
|
593
593
|
@overload
|
|
594
|
-
async def get_history(self, start_at : Annotated[Optional[datetime], Field(description="Date time to start the search from. Will default to Now - 1 Day")] = None, end_at : Annotated[Optional[datetime], Field(description="Date time to end the search at. Defaults to now.")] = None, free_text_search : Annotated[Optional[StrictStr], Field( description="Some test that must be in at least one field returned.")] = None, show_all : Annotated[Optional[StrictBool], Field(description="For users with extra permissions, they may optionally see other users' queries.")] = None,
|
|
594
|
+
async def get_history(self, start_at : Annotated[Optional[datetime], Field(description="Date time to start the search from. Will default to Now - 1 Day")] = None, end_at : Annotated[Optional[datetime], Field(description="Date time to end the search at. Defaults to now.")] = None, free_text_search : Annotated[Optional[StrictStr], Field( description="Some test that must be in at least one field returned.")] = None, show_all : Annotated[Optional[StrictBool], Field(description="For users with extra permissions, they may optionally see other users' queries.")] = None, **kwargs) -> BackgroundQueryResponse: # noqa: E501
|
|
595
595
|
...
|
|
596
596
|
|
|
597
597
|
@overload
|
|
598
|
-
def get_history(self, start_at : Annotated[Optional[datetime], Field(description="Date time to start the search from. Will default to Now - 1 Day")] = None, end_at : Annotated[Optional[datetime], Field(description="Date time to end the search at. Defaults to now.")] = None, free_text_search : Annotated[Optional[StrictStr], Field( description="Some test that must be in at least one field returned.")] = None, show_all : Annotated[Optional[StrictBool], Field(description="For users with extra permissions, they may optionally see other users' queries.")] = None,
|
|
598
|
+
def get_history(self, start_at : Annotated[Optional[datetime], Field(description="Date time to start the search from. Will default to Now - 1 Day")] = None, end_at : Annotated[Optional[datetime], Field(description="Date time to end the search at. Defaults to now.")] = None, free_text_search : Annotated[Optional[StrictStr], Field( description="Some test that must be in at least one field returned.")] = None, show_all : Annotated[Optional[StrictBool], Field(description="For users with extra permissions, they may optionally see other users' queries.")] = None, async_req: Optional[bool]=True, **kwargs) -> BackgroundQueryResponse: # noqa: E501
|
|
599
599
|
...
|
|
600
600
|
|
|
601
601
|
@validate_arguments
|
|
602
|
-
def get_history(self, start_at : Annotated[Optional[datetime], Field(description="Date time to start the search from. Will default to Now - 1 Day")] = None, end_at : Annotated[Optional[datetime], Field(description="Date time to end the search at. Defaults to now.")] = None, free_text_search : Annotated[Optional[StrictStr], Field( description="Some test that must be in at least one field returned.")] = None, show_all : Annotated[Optional[StrictBool], Field(description="For users with extra permissions, they may optionally see other users' queries.")] = None,
|
|
602
|
+
def get_history(self, start_at : Annotated[Optional[datetime], Field(description="Date time to start the search from. Will default to Now - 1 Day")] = None, end_at : Annotated[Optional[datetime], Field(description="Date time to end the search at. Defaults to now.")] = None, free_text_search : Annotated[Optional[StrictStr], Field( description="Some test that must be in at least one field returned.")] = None, show_all : Annotated[Optional[StrictBool], Field(description="For users with extra permissions, they may optionally see other users' queries.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[BackgroundQueryResponse, Awaitable[BackgroundQueryResponse]]: # noqa: E501
|
|
603
603
|
"""GetHistory: Start a background history search # noqa: E501
|
|
604
604
|
|
|
605
605
|
Starts to load the historical query logs for a certain time range, search criteria, etc. The following error codes are to be anticipated with standard Problem Detail reports: - 401 Unauthorized - 403 Forbidden # noqa: E501
|
|
606
606
|
This method makes a synchronous HTTP request by default. To make an
|
|
607
607
|
asynchronous HTTP request, please pass async_req=True
|
|
608
608
|
|
|
609
|
-
>>> thread = api.get_history(start_at, end_at, free_text_search, show_all,
|
|
609
|
+
>>> thread = api.get_history(start_at, end_at, free_text_search, show_all, async_req=True)
|
|
610
610
|
>>> result = thread.get()
|
|
611
611
|
|
|
612
612
|
:param start_at: Date time to start the search from. Will default to Now - 1 Day
|
|
@@ -617,8 +617,6 @@ class HistoricallyExecutedQueriesApi:
|
|
|
617
617
|
:type free_text_search: str
|
|
618
618
|
:param show_all: For users with extra permissions, they may optionally see other users' queries.
|
|
619
619
|
:type show_all: bool
|
|
620
|
-
:param may_use_native_store: Should a native data store (e.g. Athena or Fabric) be used over Elastic Search if available? This is no longer supported and effectively always true.
|
|
621
|
-
:type may_use_native_store: bool
|
|
622
620
|
:param async_req: Whether to execute the request asynchronously.
|
|
623
621
|
:type async_req: bool, optional
|
|
624
622
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
|
@@ -635,17 +633,17 @@ class HistoricallyExecutedQueriesApi:
|
|
|
635
633
|
raise ValueError(message)
|
|
636
634
|
if async_req is not None:
|
|
637
635
|
kwargs['async_req'] = async_req
|
|
638
|
-
return self.get_history_with_http_info(start_at, end_at, free_text_search, show_all,
|
|
636
|
+
return self.get_history_with_http_info(start_at, end_at, free_text_search, show_all, **kwargs) # noqa: E501
|
|
639
637
|
|
|
640
638
|
@validate_arguments
|
|
641
|
-
def get_history_with_http_info(self, start_at : Annotated[Optional[datetime], Field(description="Date time to start the search from. Will default to Now - 1 Day")] = None, end_at : Annotated[Optional[datetime], Field(description="Date time to end the search at. Defaults to now.")] = None, free_text_search : Annotated[Optional[StrictStr], Field( description="Some test that must be in at least one field returned.")] = None, show_all : Annotated[Optional[StrictBool], Field(description="For users with extra permissions, they may optionally see other users' queries.")] = None,
|
|
639
|
+
def get_history_with_http_info(self, start_at : Annotated[Optional[datetime], Field(description="Date time to start the search from. Will default to Now - 1 Day")] = None, end_at : Annotated[Optional[datetime], Field(description="Date time to end the search at. Defaults to now.")] = None, free_text_search : Annotated[Optional[StrictStr], Field( description="Some test that must be in at least one field returned.")] = None, show_all : Annotated[Optional[StrictBool], Field(description="For users with extra permissions, they may optionally see other users' queries.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
642
640
|
"""GetHistory: Start a background history search # noqa: E501
|
|
643
641
|
|
|
644
642
|
Starts to load the historical query logs for a certain time range, search criteria, etc. The following error codes are to be anticipated with standard Problem Detail reports: - 401 Unauthorized - 403 Forbidden # noqa: E501
|
|
645
643
|
This method makes a synchronous HTTP request by default. To make an
|
|
646
644
|
asynchronous HTTP request, please pass async_req=True
|
|
647
645
|
|
|
648
|
-
>>> thread = api.get_history_with_http_info(start_at, end_at, free_text_search, show_all,
|
|
646
|
+
>>> thread = api.get_history_with_http_info(start_at, end_at, free_text_search, show_all, async_req=True)
|
|
649
647
|
>>> result = thread.get()
|
|
650
648
|
|
|
651
649
|
:param start_at: Date time to start the search from. Will default to Now - 1 Day
|
|
@@ -656,8 +654,6 @@ class HistoricallyExecutedQueriesApi:
|
|
|
656
654
|
:type free_text_search: str
|
|
657
655
|
:param show_all: For users with extra permissions, they may optionally see other users' queries.
|
|
658
656
|
:type show_all: bool
|
|
659
|
-
:param may_use_native_store: Should a native data store (e.g. Athena or Fabric) be used over Elastic Search if available? This is no longer supported and effectively always true.
|
|
660
|
-
:type may_use_native_store: bool
|
|
661
657
|
:param async_req: Whether to execute the request asynchronously.
|
|
662
658
|
:type async_req: bool, optional
|
|
663
659
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -688,8 +684,7 @@ class HistoricallyExecutedQueriesApi:
|
|
|
688
684
|
'start_at',
|
|
689
685
|
'end_at',
|
|
690
686
|
'free_text_search',
|
|
691
|
-
'show_all'
|
|
692
|
-
'may_use_native_store'
|
|
687
|
+
'show_all'
|
|
693
688
|
]
|
|
694
689
|
_all_params.extend(
|
|
695
690
|
[
|
|
@@ -739,9 +734,6 @@ class HistoricallyExecutedQueriesApi:
|
|
|
739
734
|
if _params.get('show_all') is not None: # noqa: E501
|
|
740
735
|
_query_params.append(('showAll', _params['show_all']))
|
|
741
736
|
|
|
742
|
-
if _params.get('may_use_native_store') is not None: # noqa: E501
|
|
743
|
-
_query_params.append(('mayUseNativeStore', _params['may_use_native_store']))
|
|
744
|
-
|
|
745
737
|
# process the header parameters
|
|
746
738
|
_header_params = dict(_params.get('_headers', {}))
|
|
747
739
|
# process the form parameters
|
|
@@ -2117,9 +2117,9 @@ class SqlBackgroundExecutionApi:
|
|
|
2117
2117
|
|
|
2118
2118
|
@validate_arguments
|
|
2119
2119
|
def get_historical_feedback(self, execution_id : Annotated[StrictStr, Field(..., description="ExecutionId returned when starting the query")], async_req: Optional[bool]=None, **kwargs) -> Union[BackgroundQueryProgressResponse, Awaitable[BackgroundQueryProgressResponse]]: # noqa: E501
|
|
2120
|
-
"""GetHistoricalFeedback: View query progress
|
|
2120
|
+
"""GetHistoricalFeedback: View historical query progress (for older queries) # noqa: E501
|
|
2121
2121
|
|
|
2122
|
-
View full progress information, including historical feedback for queries which have passed their `keepForSeconds` time, so long as they were executed in the last 31 days. Unlike most methods here this may be called by a user that did not run the original query, as this is pure telemetry information. The following error codes are to be anticipated most with standard Problem Detail reports: - 401 Unauthorized - 403 Forbidden - 404 Not Found : The requested query result doesn't exist and is not running. - 429 Too Many Requests : Please try your request again soon 1. The query has been executed successfully in the past yet the server-instance receiving this request (e.g. from a load balancer) doesn't yet have this data available. 1. By virtue of the request you have just placed this will have started to load from the persisted cache and will soon be available. 1. It is also the case that the original server-instance to process the original query is likely to already be able to service this request. # noqa: E501
|
|
2122
|
+
View full progress information, including historical feedback for queries which have passed their `keepForSeconds` time, so long as they were executed in the last 31 days. Unlike most methods here this may be called by a user that did not run the original query, if your entitlements allow this, as this is pure telemetry information. The following error codes are to be anticipated most with standard Problem Detail reports: - 401 Unauthorized - 403 Forbidden - 404 Not Found : The requested query result doesn't exist and is not running. - 429 Too Many Requests : Please try your request again soon 1. The query has been executed successfully in the past yet the server-instance receiving this request (e.g. from a load balancer) doesn't yet have this data available. 1. By virtue of the request you have just placed this will have started to load from the persisted cache and will soon be available. 1. It is also the case that the original server-instance to process the original query is likely to already be able to service this request. # noqa: E501
|
|
2123
2123
|
This method makes a synchronous HTTP request by default. To make an
|
|
2124
2124
|
asynchronous HTTP request, please pass async_req=True
|
|
2125
2125
|
|
|
@@ -2148,9 +2148,9 @@ class SqlBackgroundExecutionApi:
|
|
|
2148
2148
|
|
|
2149
2149
|
@validate_arguments
|
|
2150
2150
|
def get_historical_feedback_with_http_info(self, execution_id : Annotated[StrictStr, Field(..., description="ExecutionId returned when starting the query")], **kwargs) -> ApiResponse: # noqa: E501
|
|
2151
|
-
"""GetHistoricalFeedback: View query progress
|
|
2151
|
+
"""GetHistoricalFeedback: View historical query progress (for older queries) # noqa: E501
|
|
2152
2152
|
|
|
2153
|
-
View full progress information, including historical feedback for queries which have passed their `keepForSeconds` time, so long as they were executed in the last 31 days. Unlike most methods here this may be called by a user that did not run the original query, as this is pure telemetry information. The following error codes are to be anticipated most with standard Problem Detail reports: - 401 Unauthorized - 403 Forbidden - 404 Not Found : The requested query result doesn't exist and is not running. - 429 Too Many Requests : Please try your request again soon 1. The query has been executed successfully in the past yet the server-instance receiving this request (e.g. from a load balancer) doesn't yet have this data available. 1. By virtue of the request you have just placed this will have started to load from the persisted cache and will soon be available. 1. It is also the case that the original server-instance to process the original query is likely to already be able to service this request. # noqa: E501
|
|
2153
|
+
View full progress information, including historical feedback for queries which have passed their `keepForSeconds` time, so long as they were executed in the last 31 days. Unlike most methods here this may be called by a user that did not run the original query, if your entitlements allow this, as this is pure telemetry information. The following error codes are to be anticipated most with standard Problem Detail reports: - 401 Unauthorized - 403 Forbidden - 404 Not Found : The requested query result doesn't exist and is not running. - 429 Too Many Requests : Please try your request again soon 1. The query has been executed successfully in the past yet the server-instance receiving this request (e.g. from a load balancer) doesn't yet have this data available. 1. By virtue of the request you have just placed this will have started to load from the persisted cache and will soon be available. 1. It is also the case that the original server-instance to process the original query is likely to already be able to service this request. # noqa: E501
|
|
2154
2154
|
This method makes a synchronous HTTP request by default. To make an
|
|
2155
2155
|
asynchronous HTTP request, please pass async_req=True
|
|
2156
2156
|
|
|
@@ -2259,28 +2259,30 @@ class SqlBackgroundExecutionApi:
|
|
|
2259
2259
|
|
|
2260
2260
|
|
|
2261
2261
|
@overload
|
|
2262
|
-
async def get_progress_of(self, execution_id : Annotated[StrictStr, Field(..., description="ExecutionId returned when starting the query")], build_from_logs : Annotated[Optional[StrictBool], Field(description="Should the response state be build from query logs if missing from the shared-db-state? Deprecated. Regardless of the value here it is now the case that: False [and now even True] will mean `404 Not Found` in cases where it was a real query but has passed its `keepForSeconds` since the query completed (as well as 'this was not a query at all' of course)")] = None, **kwargs) -> BackgroundQueryProgressResponse: # noqa: E501
|
|
2262
|
+
async def get_progress_of(self, execution_id : Annotated[StrictStr, Field(..., description="ExecutionId returned when starting the query")], build_from_logs : Annotated[Optional[StrictBool], Field(description="Should the response state be build from query logs if missing from the shared-db-state? Deprecated. Regardless of the value here it is now the case that: False [and now even True] will mean `404 Not Found` in cases where it was a real query but has passed its `keepForSeconds` since the query completed (as well as 'this was not a query at all' of course)")] = None, include_all_feedback : Annotated[Optional[StrictBool], Field(description="Should all the feedback be returned? As opposed to just the new feedback.")] = None, **kwargs) -> BackgroundQueryProgressResponse: # noqa: E501
|
|
2263
2263
|
...
|
|
2264
2264
|
|
|
2265
2265
|
@overload
|
|
2266
|
-
def get_progress_of(self, execution_id : Annotated[StrictStr, Field(..., description="ExecutionId returned when starting the query")], build_from_logs : Annotated[Optional[StrictBool], Field(description="Should the response state be build from query logs if missing from the shared-db-state? Deprecated. Regardless of the value here it is now the case that: False [and now even True] will mean `404 Not Found` in cases where it was a real query but has passed its `keepForSeconds` since the query completed (as well as 'this was not a query at all' of course)")] = None, async_req: Optional[bool]=True, **kwargs) -> BackgroundQueryProgressResponse: # noqa: E501
|
|
2266
|
+
def get_progress_of(self, execution_id : Annotated[StrictStr, Field(..., description="ExecutionId returned when starting the query")], build_from_logs : Annotated[Optional[StrictBool], Field(description="Should the response state be build from query logs if missing from the shared-db-state? Deprecated. Regardless of the value here it is now the case that: False [and now even True] will mean `404 Not Found` in cases where it was a real query but has passed its `keepForSeconds` since the query completed (as well as 'this was not a query at all' of course)")] = None, include_all_feedback : Annotated[Optional[StrictBool], Field(description="Should all the feedback be returned? As opposed to just the new feedback.")] = None, async_req: Optional[bool]=True, **kwargs) -> BackgroundQueryProgressResponse: # noqa: E501
|
|
2267
2267
|
...
|
|
2268
2268
|
|
|
2269
2269
|
@validate_arguments
|
|
2270
|
-
def get_progress_of(self, execution_id : Annotated[StrictStr, Field(..., description="ExecutionId returned when starting the query")], build_from_logs : Annotated[Optional[StrictBool], Field(description="Should the response state be build from query logs if missing from the shared-db-state? Deprecated. Regardless of the value here it is now the case that: False [and now even True] will mean `404 Not Found` in cases where it was a real query but has passed its `keepForSeconds` since the query completed (as well as 'this was not a query at all' of course)")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[BackgroundQueryProgressResponse, Awaitable[BackgroundQueryProgressResponse]]: # noqa: E501
|
|
2270
|
+
def get_progress_of(self, execution_id : Annotated[StrictStr, Field(..., description="ExecutionId returned when starting the query")], build_from_logs : Annotated[Optional[StrictBool], Field(description="Should the response state be build from query logs if missing from the shared-db-state? Deprecated. Regardless of the value here it is now the case that: False [and now even True] will mean `404 Not Found` in cases where it was a real query but has passed its `keepForSeconds` since the query completed (as well as 'this was not a query at all' of course)")] = None, include_all_feedback : Annotated[Optional[StrictBool], Field(description="Should all the feedback be returned? As opposed to just the new feedback.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[BackgroundQueryProgressResponse, Awaitable[BackgroundQueryProgressResponse]]: # noqa: E501
|
|
2271
2271
|
"""GetProgressOf: View query progress up to this point. # noqa: E501
|
|
2272
2272
|
|
|
2273
2273
|
View progress information (up until this point and starting from the last point requested) The following error codes are to be anticipated most with standard Problem Detail reports: - 401 Unauthorized - 403 Forbidden - 404 Not Found : The requested query result doesn't exist and is not running or the calling user did not run the query. - 429 Too Many Requests : Please try your request again soon 1. The query has been executed successfully in the past yet the server-instance receiving this request (e.g. from a load balancer) doesn't yet have this data available. 1. By virtue of the request you have just placed this will have started to load from the persisted cache and will soon be available. 1. It is also the case that the original server-instance to process the original query is likely to already be able to service this request. # noqa: E501
|
|
2274
2274
|
This method makes a synchronous HTTP request by default. To make an
|
|
2275
2275
|
asynchronous HTTP request, please pass async_req=True
|
|
2276
2276
|
|
|
2277
|
-
>>> thread = api.get_progress_of(execution_id, build_from_logs, async_req=True)
|
|
2277
|
+
>>> thread = api.get_progress_of(execution_id, build_from_logs, include_all_feedback, async_req=True)
|
|
2278
2278
|
>>> result = thread.get()
|
|
2279
2279
|
|
|
2280
2280
|
:param execution_id: ExecutionId returned when starting the query (required)
|
|
2281
2281
|
:type execution_id: str
|
|
2282
2282
|
:param build_from_logs: Should the response state be build from query logs if missing from the shared-db-state? Deprecated. Regardless of the value here it is now the case that: False [and now even True] will mean `404 Not Found` in cases where it was a real query but has passed its `keepForSeconds` since the query completed (as well as 'this was not a query at all' of course)
|
|
2283
2283
|
:type build_from_logs: bool
|
|
2284
|
+
:param include_all_feedback: Should all the feedback be returned? As opposed to just the new feedback.
|
|
2285
|
+
:type include_all_feedback: bool
|
|
2284
2286
|
:param async_req: Whether to execute the request asynchronously.
|
|
2285
2287
|
:type async_req: bool, optional
|
|
2286
2288
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
|
@@ -2297,23 +2299,25 @@ class SqlBackgroundExecutionApi:
|
|
|
2297
2299
|
raise ValueError(message)
|
|
2298
2300
|
if async_req is not None:
|
|
2299
2301
|
kwargs['async_req'] = async_req
|
|
2300
|
-
return self.get_progress_of_with_http_info(execution_id, build_from_logs, **kwargs) # noqa: E501
|
|
2302
|
+
return self.get_progress_of_with_http_info(execution_id, build_from_logs, include_all_feedback, **kwargs) # noqa: E501
|
|
2301
2303
|
|
|
2302
2304
|
@validate_arguments
|
|
2303
|
-
def get_progress_of_with_http_info(self, execution_id : Annotated[StrictStr, Field(..., description="ExecutionId returned when starting the query")], build_from_logs : Annotated[Optional[StrictBool], Field(description="Should the response state be build from query logs if missing from the shared-db-state? Deprecated. Regardless of the value here it is now the case that: False [and now even True] will mean `404 Not Found` in cases where it was a real query but has passed its `keepForSeconds` since the query completed (as well as 'this was not a query at all' of course)")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
2305
|
+
def get_progress_of_with_http_info(self, execution_id : Annotated[StrictStr, Field(..., description="ExecutionId returned when starting the query")], build_from_logs : Annotated[Optional[StrictBool], Field(description="Should the response state be build from query logs if missing from the shared-db-state? Deprecated. Regardless of the value here it is now the case that: False [and now even True] will mean `404 Not Found` in cases where it was a real query but has passed its `keepForSeconds` since the query completed (as well as 'this was not a query at all' of course)")] = None, include_all_feedback : Annotated[Optional[StrictBool], Field(description="Should all the feedback be returned? As opposed to just the new feedback.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
|
2304
2306
|
"""GetProgressOf: View query progress up to this point. # noqa: E501
|
|
2305
2307
|
|
|
2306
2308
|
View progress information (up until this point and starting from the last point requested) The following error codes are to be anticipated most with standard Problem Detail reports: - 401 Unauthorized - 403 Forbidden - 404 Not Found : The requested query result doesn't exist and is not running or the calling user did not run the query. - 429 Too Many Requests : Please try your request again soon 1. The query has been executed successfully in the past yet the server-instance receiving this request (e.g. from a load balancer) doesn't yet have this data available. 1. By virtue of the request you have just placed this will have started to load from the persisted cache and will soon be available. 1. It is also the case that the original server-instance to process the original query is likely to already be able to service this request. # noqa: E501
|
|
2307
2309
|
This method makes a synchronous HTTP request by default. To make an
|
|
2308
2310
|
asynchronous HTTP request, please pass async_req=True
|
|
2309
2311
|
|
|
2310
|
-
>>> thread = api.get_progress_of_with_http_info(execution_id, build_from_logs, async_req=True)
|
|
2312
|
+
>>> thread = api.get_progress_of_with_http_info(execution_id, build_from_logs, include_all_feedback, async_req=True)
|
|
2311
2313
|
>>> result = thread.get()
|
|
2312
2314
|
|
|
2313
2315
|
:param execution_id: ExecutionId returned when starting the query (required)
|
|
2314
2316
|
:type execution_id: str
|
|
2315
2317
|
:param build_from_logs: Should the response state be build from query logs if missing from the shared-db-state? Deprecated. Regardless of the value here it is now the case that: False [and now even True] will mean `404 Not Found` in cases where it was a real query but has passed its `keepForSeconds` since the query completed (as well as 'this was not a query at all' of course)
|
|
2316
2318
|
:type build_from_logs: bool
|
|
2319
|
+
:param include_all_feedback: Should all the feedback be returned? As opposed to just the new feedback.
|
|
2320
|
+
:type include_all_feedback: bool
|
|
2317
2321
|
:param async_req: Whether to execute the request asynchronously.
|
|
2318
2322
|
:type async_req: bool, optional
|
|
2319
2323
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -2342,7 +2346,8 @@ class SqlBackgroundExecutionApi:
|
|
|
2342
2346
|
|
|
2343
2347
|
_all_params = [
|
|
2344
2348
|
'execution_id',
|
|
2345
|
-
'build_from_logs'
|
|
2349
|
+
'build_from_logs',
|
|
2350
|
+
'include_all_feedback'
|
|
2346
2351
|
]
|
|
2347
2352
|
_all_params.extend(
|
|
2348
2353
|
[
|
|
@@ -2380,6 +2385,9 @@ class SqlBackgroundExecutionApi:
|
|
|
2380
2385
|
if _params.get('build_from_logs') is not None: # noqa: E501
|
|
2381
2386
|
_query_params.append(('buildFromLogs', _params['build_from_logs']))
|
|
2382
2387
|
|
|
2388
|
+
if _params.get('include_all_feedback') is not None: # noqa: E501
|
|
2389
|
+
_query_params.append(('includeAllFeedback', _params['include_all_feedback']))
|
|
2390
|
+
|
|
2383
2391
|
# process the header parameters
|
|
2384
2392
|
_header_params = dict(_params.get('_headers', {}))
|
|
2385
2393
|
# 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.
|
|
448
|
+
"Version of the API: 1.19.52\n"\
|
|
449
449
|
"SDK Package Version: {package_version}".\
|
|
450
450
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
|
451
451
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: luminesce-sdk
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.12
|
|
4
4
|
Summary: FINBOURNE Luminesce Web API
|
|
5
5
|
Home-page: https://github.com/finbourne/luminesce-sdk-python
|
|
6
6
|
License: MIT
|
|
@@ -60,7 +60,7 @@ Class | Method | HTTP request | Description
|
|
|
60
60
|
*SqlBackgroundExecutionApi* | [**fetch_query_result_pipe**](docs/SqlBackgroundExecutionApi.md#fetch_query_result_pipe) | **GET** /api/SqlBackground/{executionId}/pipe | FetchQueryResultPipe: Fetch the result of a query as pipe-delimited
|
|
61
61
|
*SqlBackgroundExecutionApi* | [**fetch_query_result_sqlite**](docs/SqlBackgroundExecutionApi.md#fetch_query_result_sqlite) | **GET** /api/SqlBackground/{executionId}/sqlite | FetchQueryResultSqlite: Fetch the result of a query as SqLite
|
|
62
62
|
*SqlBackgroundExecutionApi* | [**fetch_query_result_xml**](docs/SqlBackgroundExecutionApi.md#fetch_query_result_xml) | **GET** /api/SqlBackground/{executionId}/xml | FetchQueryResultXml: Fetch the result of a query as XML
|
|
63
|
-
*SqlBackgroundExecutionApi* | [**get_historical_feedback**](docs/SqlBackgroundExecutionApi.md#get_historical_feedback) | **GET** /api/SqlBackground/{executionId}/historicalFeedback | GetHistoricalFeedback: View query progress
|
|
63
|
+
*SqlBackgroundExecutionApi* | [**get_historical_feedback**](docs/SqlBackgroundExecutionApi.md#get_historical_feedback) | **GET** /api/SqlBackground/{executionId}/historicalFeedback | GetHistoricalFeedback: View historical query progress (for older queries)
|
|
64
64
|
*SqlBackgroundExecutionApi* | [**get_progress_of**](docs/SqlBackgroundExecutionApi.md#get_progress_of) | **GET** /api/SqlBackground/{executionId} | GetProgressOf: View query progress up to this point.
|
|
65
65
|
*SqlBackgroundExecutionApi* | [**start_query**](docs/SqlBackgroundExecutionApi.md#start_query) | **PUT** /api/SqlBackground | StartQuery: Start to Execute Sql in the background
|
|
66
66
|
*SqlDesignApi* | [**get_provider_template_for_export**](docs/SqlDesignApi.md#get_provider_template_for_export) | **GET** /api/Sql/providertemplateforexport | GetProviderTemplateForExport: Makes a fields template for file importing via a writer
|
|
@@ -5,14 +5,14 @@ luminesce/api/binary_downloading_api.py,sha256=TM6op1vo0Ekp30R-tm38TTr6yFTYyypUv
|
|
|
5
5
|
luminesce/api/certificate_management_api.py,sha256=s3DyFItVmkjqAPyZfUjOtOvqMVjkWiH70F-ZA62yvsE,31137
|
|
6
6
|
luminesce/api/current_table_field_catalog_api.py,sha256=sKCv3gK3EB6biKUOGoWJaS32dtAtDPXWPmv-9DM2Ax0,25941
|
|
7
7
|
luminesce/api/health_checking_endpoint_api.py,sha256=QIou6LUfy-OaWjKCNOcJnaRmSnRl9luKcwHk2eZmsew,8630
|
|
8
|
-
luminesce/api/historically_executed_queries_api.py,sha256=
|
|
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
|
|
10
|
-
luminesce/api/sql_background_execution_api.py,sha256=
|
|
10
|
+
luminesce/api/sql_background_execution_api.py,sha256=T7M6tEQBsnykOYwUDpQI-SC9OsdnB-cv5shpjgif_nI,266351
|
|
11
11
|
luminesce/api/sql_design_api.py,sha256=z8H7KKgC37v0nTYPFuYsk6xT2HvDDMXbWnQfUp9h6is,166219
|
|
12
12
|
luminesce/api/sql_execution_api.py,sha256=CKp1U74ehfZO3nni6y9jm4CWDQ3H7FUWcZJ53lmH9lc,180945
|
|
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=lQh0e6nNiZzX8mKpy_lt4YLiZ0ZrNI24OTIpBaSYEm0,18016
|
|
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
|
|
@@ -112,6 +112,6 @@ luminesce/models/view_parameter.py,sha256=JlR1ZSbn847GT5lwHOTTnrXRgW2IbIw7buabG-
|
|
|
112
112
|
luminesce/models/writer_design.py,sha256=ZzToPDc2mke_TAQfRQXCwHFzTPHI5-5W2PDLmBknHAw,4923
|
|
113
113
|
luminesce/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
114
114
|
luminesce/rest.py,sha256=jPlPMTmdrPXCaisGiNGkjP2TJLT0dSH51tvzauPijNk,13453
|
|
115
|
-
luminesce_sdk-2.3.
|
|
116
|
-
luminesce_sdk-2.3.
|
|
117
|
-
luminesce_sdk-2.3.
|
|
115
|
+
luminesce_sdk-2.3.12.dist-info/METADATA,sha256=f0G07zhtVayHxwmXuFqPqpOUkTvHNjOU89ZsiICFCB8,18525
|
|
116
|
+
luminesce_sdk-2.3.12.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
117
|
+
luminesce_sdk-2.3.12.dist-info/RECORD,,
|
|
File without changes
|