aito.client.requests.job_api_request.GetJobStatusRequest
- class aito.client.requests.job_api_request.GetJobStatusRequest(job_id: str)
Bases:
_GetRequest,_PatternEndpoint,_JobAPIRequestRequest to create a job for an Aito API endpoint
- Parameters:
job_id (str) – the id of the job session
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
Attributes
endpoint_prefixmethod- classmethod make_request(method: str, endpoint: str, query: Dict | List | None) 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
alias of
GetJobStatusResponse