22 lines
357 B
Python
22 lines
357 B
Python
from typing import Dict, Any
|
|
from core import VorkNode
|
|
|
|
|
|
class VorkNodeIf(VorkNode):
|
|
|
|
@property
|
|
def id(self) -> str:
|
|
return "vork_node_if"
|
|
|
|
@classmethod
|
|
def form(cls) -> Dict[str, Any]:
|
|
return {
|
|
|
|
}
|
|
|
|
def validate(self) -> bool:
|
|
return True
|
|
|
|
def process(self, context: Any) -> bool:
|
|
return True
|