fix: descriptor (listen, set, if, )deprecated typings
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import Dict, Any
|
||||
from typing import Any
|
||||
from core import VorkNode
|
||||
from model_nodes.node_while_models import (
|
||||
WhileNodeData,
|
||||
@@ -11,7 +11,7 @@ from model_nodes.node_while_models import (
|
||||
|
||||
class VorkNodeWhile(VorkNode):
|
||||
|
||||
def __init__(self, data: Dict[str, Any], links: Dict[str, Any] = None):
|
||||
def __init__(self, data: dict[str, Any], links: dict[str, Any] = None):
|
||||
"""
|
||||
Инициализация узла while
|
||||
"""
|
||||
@@ -22,7 +22,7 @@ class VorkNodeWhile(VorkNode):
|
||||
return "WHILE"
|
||||
|
||||
@classmethod
|
||||
def form(cls) -> Dict[str, Any]:
|
||||
def form(cls) -> dict[str, Any]:
|
||||
"""
|
||||
Возвращает статический дескриптор формы для узла While
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user