tabulate need a header for the table. I am sure there will be sqlalchemy
built-in mechanism to get all the name of the fields.
But as for now. I just used this.


On Wed, May 14, 2014 at 5:43 PM, Ian Denhardt <notifications@github.com>wrote:

> In haas/model.py:
>
> >  class Node(Base):
> >      __tablename__='nodes'
> >
> > -    meta       = ["Node id","Available","Group"]
> > -    node_id    = Column(Integer,primary_key=True)
> > -    available  = Column(Boolean)
> > -    group_name = Column(String,ForeignKey('groups.group_name'))
> > -    #Many to one mapping to group
> > -    group      = relationship("Group",backref=backref('nodes',order_by=node_id))
> > -
> > -
> > +    meta          = ["id","label","available","project"]
>
> @LinZhaoliang <https://github.com/LinZhaoliang>, can you explain to me
> why this meta attribute is required (if indeed it is - I'm skeptical of
> this)?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/CCI-MOC/haas/pull/35/files#r12663426>
> .
>



-- 
Zhaoliang Liu
Northeastern University, Boston, MA