(self, url, base_headers=None, timeout=None, method='POST',
                 auth=None, session=None)
:param url: the default GraphQL endpoint url.
        :type url: str

        :param base_headers: the base HTTP headers to include in every request.
        :type base_headers: dict

        :param timeout: timeout in seconds to use with
          :func:`urllib.request.urlopen`. Optional (``None`` uses
          default timeout).
        :type timeout: float

        :param method: HTTP Method to use for the request,
                       `POST` is used by default

        :param auth: ``requests.auth`` compatible authentication option.
          Auth tuple or callable to enable Basic/Digest/Custom HTTP Auth.
          Optional.

        :param session: :class:`requests.Session` object. Optional.
:param url: the default GraphQL endpoint url.
        :type url: str
: param url : the default GraphQL endpoint url . : type url : str
def __init__(self, url, base_headers=None, timeout=None, method='POST',
                 auth=None, session=None):
        '''
        :param url: the default GraphQL endpoint url.
        :type url: str

        :param base_headers: the base HTTP headers to include in every request.
        :type base_headers: dict

        :param timeout: timeout in seconds to use with
          :func:`urllib.request.urlopen`. Optional (``None`` uses
          default timeout).
        :type timeout: float

        :param method: HTTP Method to use for the request,
                       `POST` is used by default

        :param auth: ``requests.auth`` compatible authentication option.
          Auth tuple or callable to enable Basic/Digest/Custom HTTP Auth.
          Optional.

        :param session: :class:`requests.Session` object. Optional.
        '''
        self.url = url
        self.base_headers = base_headers or {}
        self.timeout = timeout
        self.method = method
        self.auth = auth
        self.session = session
def __init__ ( self , url , base_headers = None , timeout = None , method = 'POST' , auth = None , session = None ) : self . url = url self . base_headers = base_headers or { } self . timeout = timeout self . method = method self . auth = auth self . session = session