(self, url, base_headers=None, timeout=None, urlopen=None,
                 method='POST')
: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 urlopen: function that implements the same interface as
          :func:`urllib.request.urlopen`, which is used by default.
: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, urlopen=None,
                 method='POST'):
        '''
        :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 urlopen: function that implements the same interface as
          :func:`urllib.request.urlopen`, which is used by default.
        '''
        self.url = url
        self.base_headers = base_headers or {}
        self.timeout = timeout
        self.urlopen = urlopen or urllib.request.urlopen
        self.method = method
def __init__ ( self , url , base_headers = None , timeout = None , urlopen = None , method = 'POST' ) : self . url = url self . base_headers = base_headers or { } self . timeout = timeout self . urlopen = urlopen or urllib . request . urlopen self . method = method