def get_rec(view):
    self._fields = ['schema', 'view']
    return tuple([schema, view])
    Rec = namedtuple('View', 'schema view')
    self._fields = Rec._fields
    r_dict = dict(schema=schema, view=view)
    return Rec(**r_dict)
def get_rec(view):
    self._fields = ['schema', 'view']
    return tuple([schema, view])
    Rec = namedtuple('View', 'schema view')
    self._fields = Rec._fields
    r_dict = dict(schema=schema, view=view)
    return Rec(**r_dict)