

def __init__(self, uri, adapter, session, datacenter=None, token=None):
    'Create a new instance of the Lock\n\n        :param str uri: Base URI\n        :param consul.adapters.Request adapter: Request adapter\n        :param consul.api.session.Session session: Session endpoint instance\n        :param str datacenter: datacenter\n        :param str token: Access Token\n\n        '
    super(Lock, self).__init__(uri, adapter, datacenter, token)
    self._base_uri = '{0}/kv'.format(uri)
    self._session = session
    uri._session_id = None
    self._item = str(uuid.uuid4())
    self._prefix = self.DEFAULT_PREFIX

dataset/ETHPy150Open gmr/consulate/consulate/api/lock.py Lock.__init__/VarMisuse@61/179 `self`->`uri`