def get_version():
    version = {}
    with open("bqueryd/version.py") as fp:
        exec (fp.read(), version)
    return version
def __getitem__(self, key):
        return self._states[key or DEFAULT_DB_ALIAS]