U
    hy                     @   s(   d Z ddlZdZG dd dejdZdS )z$Transport adapter for Base Requests.    Nx   c                   @   s>   e Zd ZdZdd ZejdddefddZejdd Z	dS )	_BaseAuthorizedSessiona\  Base class for a Request Session with credentials. This class is intended to capture
    the common logic between synchronous and asynchronous request sessions and is not intended to
    be instantiated directly.

    Args:
        credentials (google.auth._credentials_base.BaseCredentials): The credentials to
            add to the request.
    c                 C   s
   || _ d S )N)credentials)selfr    r   H/tmp/pip-unpacked-wheel-p8k_kup9/google/auth/transport/_requests_base.py__init__#   s    z_BaseAuthorizedSession.__init__Nc                 K   s   t dd S )NzRequest must be implementedNotImplementedError)r   methodurldataheadersZmax_allowed_timetimeoutkwargsr   r   r   request&   s    z_BaseAuthorizedSession.requestc                 C   s   t dd S )NzClose must be implementedr	   )r   r   r   r   close3   s    z_BaseAuthorizedSession.close)
__name__
__module____qualname____doc__r   abcabstractmethod_DEFAULT_TIMEOUTr   r   r   r   r   r   r      s   	r   )	metaclass)r   r   r   ABCMetar   r   r   r   r   <module>   s   