feat: pydantic descriptors
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
from typing import Dict, Any
|
||||
from core import VorkNode
|
||||
from core.form_descriptors import get_form_descriptor
|
||||
from model_nodes.node_wait_models import (
|
||||
WaitNodeData,
|
||||
WaitNodeLinks,
|
||||
WaitNodeCoreSchema,
|
||||
WaitNodeCoreSchemaData
|
||||
WaitNodeCoreSchemaData,
|
||||
WAIT_FORM_DESCRIPTOR,
|
||||
)
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ class VorkNodeWait(VorkNode):
|
||||
"""
|
||||
Возвращает статический дескриптор формы для узла Wait
|
||||
"""
|
||||
return get_form_descriptor("WAIT")
|
||||
return WAIT_FORM_DESCRIPTOR
|
||||
|
||||
def validate(self) -> WaitNodeCoreSchema:
|
||||
"""
|
||||
|
Reference in New Issue
Block a user