Morget-01 / api /contexts /__init__.py
MGFeng's picture
Upload 3173 files
f961d6f verified
Raw
History Blame Contribute Delete
307 Bytes
from contextvars import ContextVar
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from core.workflow.entities.variable_pool import VariablePool
tenant_id: ContextVar[str] = ContextVar("tenant_id")
workflow_variable_pool: ContextVar["VariablePool"] = ContextVar("workflow_variable_pool")