aito.client.requests.data_api_request.TriggerFileProcessingRequest¶
-
class
aito.client.requests.data_api_request.
TriggerFileProcessingRequest
(table_name: str, session_id: str)¶ Bases:
aito.client.requests.aito_request._PostRequest
,aito.client.requests.aito_request._PatternEndpoint
,aito.client.requests.data_api_request.DataAPIRequest
Request to Initiate File Upload
- Parameters
table_name (str) – the name of the table to be uploaded
session_id (str) – The uuid of the file upload session from initiating file upload
Methods
make_request
(method, endpoint, query)factory method to return the appropriate request class instance after checking the input endpoint and method :param method: the method of the request :type method: str :param endpoint: the endpoint of the request :type endpoint: str :param query: an Aito query if applicable, optional :type query: Optional[Union[Dict, List]] :return: the appropriate request class intsnace :rtype: AitoRequest
path_matches
(path_to_match)Attributes
endpoint_prefix
method
-
classmethod
make_request
(method: str, endpoint: str, query: Optional[Union[Dict, List]]) → aito.client.requests.aito_request.AitoRequest¶ factory method to return the appropriate request class instance after checking the input endpoint and method :param method: the method of the request :type method: str :param endpoint: the endpoint of the request :type endpoint: str :param query: an Aito query if applicable, optional :type query: Optional[Union[Dict, List]] :return: the appropriate request class intsnace :rtype: AitoRequest
-
response_cls
¶