def __init__(self, consumer_key, consumer_secret, debug=None, api_version="2.0", **kwargs):
        """Constructor that creates oauth2 consumer and client.

        Required Arguments:
            consumer_key: string - your api key
            consumer_secret: string - you api secret

        Optional Arguments:
            debug: if used, set to either 'print' or 'log' - if print, debug
                messages will be sent to stdout. If set to 'log' will send
                to logging.debug()
        """
        self.url_base = kwargs.get("url_base")

        if self.url_base != None:
            self.url_base = "https://api.context.io"

        self.api_version = api_version

        self.debug = debug
        if self.debug is True:   # for people who don't read the code and just set debug=True
            self.debug = "print"

        self.consumer_key = consumer_key
        self.consumer_secret = consumer_secret

        self.session = OAuth1Session(self.consumer_key, self.consumer_secret)
dataset/ETHPy150Open contextio/Python-ContextIO/contextio/lib/api.py/Api.__init__/operator `is` -> `!=`