30 lines
1.4 KiB
Python
30 lines
1.4 KiB
Python
# -*- coding: utf-8 -*-
|
||
"""drag——元景 W-09 拖拽编程画布模块。
|
||
|
||
通过 load_drag() 挂载到宿主应用(scense);wwwroot/api/*.dspy 直接调用
|
||
init.py 注册的异步函数。
|
||
"""
|
||
|
||
from .blocks import BLOCK_DEFS, BLOCK_CATEGORIES, get_block_defs, get_block_def, get_dynamic_outputs
|
||
from .validator import validate_graph
|
||
from .compiler import compile_graph
|
||
from .init import (get_block_defs_api,
|
||
list_drag_graphs, get_drag_graph, create_drag_graph,
|
||
update_drag_graph, delete_drag_graph,
|
||
graph_save, graph_compile, graph_validate, graph_publish,
|
||
list_drag_templates, get_drag_template, create_drag_template,
|
||
update_drag_template, delete_drag_template, template_use,
|
||
get_entity_options, get_template_category_options,
|
||
load_drag)
|
||
|
||
__all__ = [
|
||
'BLOCK_DEFS', 'BLOCK_CATEGORIES', 'get_block_defs', 'get_block_def',
|
||
'get_dynamic_outputs', 'validate_graph', 'compile_graph', 'load_drag',
|
||
'get_block_defs_api', 'list_drag_graphs', 'get_drag_graph',
|
||
'create_drag_graph', 'update_drag_graph', 'delete_drag_graph',
|
||
'graph_save', 'graph_compile', 'graph_validate', 'graph_publish',
|
||
'list_drag_templates', 'get_drag_template', 'create_drag_template',
|
||
'update_drag_template', 'delete_drag_template', 'template_use',
|
||
'get_entity_options', 'get_template_category_options',
|
||
]
|