@property<EOL><INDENT>def schema(self):<DEDENT>
if not hasattr(self, "<STR_LIT>"):<EOL><INDENT>ret = None<EOL>o = self._type<EOL>if isinstance(o, type):<EOL><INDENT>ret = getattr(o, "<STR_LIT>", None)<EOL><DEDENT>elif isinstance(o, Schema):<EOL><INDENT>ret = o<EOL><DEDENT>else:<EOL><INDENT>module, klass = utils.get_objects(o)<EOL>ret = klass.schema<EOL><DEDENT>self._schema = ret<EOL><DEDENT>return self._schema<EOL>
return the schema instance if this is reference to another table