def get_schemas(self, echo=True):
    'Get list of schemas.'
    Rec = namedtuple('Schemas', 'schema')
    self._fields = Rec._fields
    sql_tmpl = self._template('metadata.schemas')
    if sql_tmpl:
        schemas = [r[0] for r in self.query(sql_tmpl)]
    else:
        self.get_engine(echo=echo)
        schemas = self.engine_inspect.get_schema_names()
    rows = [Rec(s) for s in schemas]
    return rows
Get list of schemas.
def get_schemas(self, echo=True):
    
    Rec = namedtuple('Schemas', 'schema')
    self._fields = Rec._fields
    sql_tmpl = self._template('metadata.schemas')
    if sql_tmpl:
        schemas = [r[0] for r in self.query(sql_tmpl)]
    else:
        self.get_engine(echo=echo)
        schemas = self.engine_inspect.get_schema_names()
    rows = [Rec(s) for s in schemas]
    return rows