<div dir="ltr"><div>Ok, been trying to figure this out. Maybe someone could help.</div><div><br></div><div>Where in flask_sqlalcehmy on can do the following to get a predefined table schema returned:</div><div><br></div><div>class comp_table(pgdb.Model):<br>    __table__ = pgdb.Model.metadata.tables['company']</div><div><br></div><div>I'm trying to the same WITHOUT having to do a class along the lines of:</div><div><br></div><div>comp_table = 
pgdb.Model.metadata.tables['company']<br></div><div>but it is not working. Is this possible and and if so, how do you code it?</div><div><br></div><div>Thanks ..</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><b>Ben Duncan</b></div><div>DBA / Chief Software Architect <br></div><div>Mississippi State Supreme Court</div><div>Electronic Filing Division<br></div></div></div></div></div></div>