mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Start TEngine3.0
Start TEngine3.0
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{{
|
||||
name = x.name
|
||||
namespace = x.namespace
|
||||
tables = x.tables
|
||||
}}
|
||||
|
||||
class {{name}}:
|
||||
{{~ for table in tables ~}}
|
||||
#def {{table.name}} : return self._{{table.name}}
|
||||
{{~end~}}
|
||||
|
||||
def __init__(self, loader):
|
||||
{{~for table in tables ~}}
|
||||
self.{{table.name}} = {{table.py_full_name}}(loader('{{table.output_data_file}}'));
|
||||
{{~end~}}
|
Reference in New Issue
Block a user