in src/databao_context_engine/plugins/databases/snowflake_introspector.py [0:0]
def _get_catalogs(self, connection, file_config: SnowflakeConfigFile) -> list[str]:
database = file_config.connection.get("database")
if database:
return [database]
rows = self._fetchall_dicts(connection, "SHOW DATABASES", None)
return [r["name"] for r in rows if r["name"] and r["name"].upper() not in self._IGNORED_CATALOGS]