def get_version():
    version = {}
    with open("bqueryd/version.py") as fp:
        exec (fp.read(), version)
    return version
def unlock(self, key):
    if self._tokens[key] > 0:
      self._tokens[key] -= 1