def ancestry(self):
if not self.inherits():<EOL><INDENT>return []<EOL><DEDENT>schema = orb.system.schema(self.inherits())<EOL>if not schema:<EOL><INDENT>return []<EOL><DEDENT>return schema.ancestry() + [schema]<EOL>
Returns the different inherited schemas for this instance.

:return     [<TableSchema>, ..]