def get_version():
    version = {}
    with open("bqueryd/version.py") as fp:
        exec (fp.read(), version)
    return version
def is_dirty(self, dbs):
        return any(self[db].is_dirty() for db in dbs)