def compiled_model(self):
        """Returns compile ORM class for the user supplied model"""
        return ALCHEMY_TEMPLATES.model.safe_substitute(class_name=self.class_name,
                                                       table_name=self.table_name,
                                                       column_definitions=self.compiled_columns,
                                                       init_function=self.compiled_init_func,
                                                       update_function=self.compiled_update_func,
                                                       hash_function=self.compiled_hash_func,
                                                       eq_function=self.compiled_eq_func,
                                                       neq_function=self.compiled_neq_func,
                                                       str_function=self.compiled_str_func,
                                                       unicode_function=self.compiled_unicode_func,
                                                       repr_function=self.compiled_repr_func,
                                                       types=", ".join(self.basic_types),
                                                       username=self.username,
                                                       foreign_keys=self.compiled_foreign_keys,
                                                       relationships=self.compiled_relationships,
                                                       named_imports=self.compiled_named_imports,
                                                       orm_imports=self.compiled_orm_imports,
                                                       get_proxy_cls_function=self.compiled_proxy_cls_func,
                                                       add_function=ALCHEMY_TEMPLATES.add_function.template,
                                                       delete_function=ALCHEMY_TEMPLATES.delete_function.template,
                                                       to_dict_function=ALCHEMY_TEMPLATES.to_dict_function.template,
                                                       to_proxy_function=ALCHEMY_TEMPLATES.to_proxy_function.template,
                                                       from_proxy_function=ALCHEMY_TEMPLATES.from_proxy_function.template)
def compiled_model ( self ) : return ALCHEMY_TEMPLATES . model . safe_substitute ( class_name = self . class_name , table_name = self . table_name , column_definitions = self . compiled_columns , init_function = self . compiled_init_func , update_function = self . compiled_update_func , hash_function = self . compiled_hash_func , eq_function = self . compiled_eq_func , neq_function = self . compiled_neq_func , str_function = self . compiled_str_func , unicode_function = self . compiled_unicode_func , repr_function = self . compiled_repr_func , types = ", " . join ( self . basic_types ) , username = self . username , foreign_keys = self . compiled_foreign_keys , relationships = self . compiled_relationships , named_imports = self . compiled_named_imports , orm_imports = self . compiled_orm_imports , get_proxy_cls_function = self . compiled_proxy_cls_func , add_function = ALCHEMY_TEMPLATES . add_function . template , delete_function = ALCHEMY_TEMPLATES . delete_function . template , to_dict_function = ALCHEMY_TEMPLATES . to_dict_function . template , to_proxy_function = ALCHEMY_TEMPLATES . to_proxy_function . template , from_proxy_function = ALCHEMY_TEMPLATES . from_proxy_function . template )
Returns compile ORM class for the user supplied model