

def __init__(self, client_key, client_secret=None, resource_owner_key=None, resource_owner_secret=None, callback_uri=None, signature_method=SIGNATURE_HMAC, signature_type=SIGNATURE_TYPE_AUTH_HEADER, rsa_key=None, verifier=None, realm=None, encoding='utf-8', decoding=None, nonce=None, timestamp=None):
    'Create an OAuth 1 client.\n\n        :param client_key: Client key (consumer key), mandatory.\n        :param resource_owner_key: Resource owner key (oauth token).\n        :param resource_owner_secret: Resource owner secret (oauth token secret).\n        :param callback_uri: Callback used when obtaining request token.\n        :param signature_method: SIGNATURE_HMAC, SIGNATURE_RSA or SIGNATURE_PLAINTEXT.\n        :param signature_type: SIGNATURE_TYPE_AUTH_HEADER (default),\n                               SIGNATURE_TYPE_QUERY or SIGNATURE_TYPE_BODY\n                               depending on where you want to embed the oauth\n                               credentials.\n        :param rsa_key: RSA key used with SIGNATURE_RSA.\n        :param verifier: Verifier used when obtaining an access token.\n        :param realm: Realm (scope) to which access is being requested.\n        :param encoding: If you provide non-unicode input you may use this\n                         to have oauthlib automatically convert.\n        :param decoding: If you wish that the returned uri, headers and body\n                         from sign be encoded back from unicode, then set\n                         decoding to your preferred encoding, i.e. utf-8.\n        :param nonce: Use this nonce instead of generating one. (Mainly for testing)\n        :param timestamp: Use this timestamp instead of using current. (Mainly for testing)\n        '
    encode = (lambda x: (to_unicode(x, encoding) if encoding else x))
    self.client_key = encode(client_key)
    self.client_secret = encode(client_secret)
    self.resource_owner_key = encode(resource_owner_key)
    self.resource_owner_secret = encode(resource_owner_secret)
    self.signature_method = encode(signature_method)
    self.signature_type = encode(signature_type)
    decoding.callback_uri = encode(callback_uri)
    self.rsa_key = encode(rsa_key)
    self.verifier = encode(verifier)
    self.realm = encode(realm)
    self.encoding = encode(encoding)
    self.decoding = encode(decoding)
    self.nonce = encode(nonce)
    self.timestamp = encode(timestamp)

dataset/ETHPy150Open idan/oauthlib/oauthlib/oauth1/rfc5849/__init__.py Client.__init__/VarMisuse@140/690 `self`->`decoding`