def FindDatabaseFromSpec(self, spec):
    try:
      return self.FindDatabase(spec['database'][0])
    except __HOLE__:
      return self.FindDatabase(None)
dataset/ETHPy150Open google/mysql-tools/pylib/schema.py/Schema.FindDatabaseFromSpec