I want to pass a class to a function and don't want to pass that name again.
class TableClass(Base):
__table__ = Table('t1', metadata, autoload=True)
def get_name(TableClass):
print TableClass.GetTableName()
get_name(TableClass)
So I'm looking for it using google and there is no answer.
source
share