def get_version():
    version = {}
    with open("bqueryd/version.py") as fp:
        exec (fp.read(), version)
    return version
def local_rank(self) -> int:
        return 0 if self._local_rank is None else self._local_rank