o
    1_WcÛ  ã                   @   sJ   d dl Z d dlmZmZ e jrddlmZ ddlmZ G dd„ de	ƒZ
dS )é    N)ÚABCMetaÚabstractmethodé   )ÚApiClientRequest)ÚApiClientResponsec                   @   s    e Zd ZdZeZedd„ ƒZdS )Ú	ApiClientz7Represents a basic contract for API request invocation.c                 C   s   dS )aÕ  Dispatches a request to an API endpoint described in the request.

        The ApiClient is expected to resolve in the case an API returns
        a non-200 HTTP status code. The responsibility of translating a
        particular response code to an error lies with the caller.

        :param request: Request to dispatch to the ApiClient
        :type request: ApiClientRequest
        :return: Response from the client call
        :rtype: ApiClientResponse
        N© )ÚselfÚrequestr   r   úCD:\Flask\env\Lib\site-packages\ask_sdk_model/services/api_client.pyÚinvoke   s   zApiClient.invokeN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__metaclass__r   r   r   r   r   r   r      s
    r   )ÚtypingÚabcr   r   ÚTYPE_CHECKINGZapi_client_requestr   Zapi_client_responser   Úobjectr   r   r   r   r   Ú<module>   s   