2024-07-22 15:29:39 +08:00
|
|
|
from contextvars import ContextVar
|
2024-10-21 10:43:49 +08:00
|
|
|
from typing import TYPE_CHECKING
|
2024-07-22 15:29:39 +08:00
|
|
|
|
2024-10-21 10:43:49 +08:00
|
|
|
if TYPE_CHECKING:
|
|
|
|
from core.workflow.entities.variable_pool import VariablePool
|
2024-08-15 10:53:05 +08:00
|
|
|
|
2024-08-15 12:54:05 +08:00
|
|
|
tenant_id: ContextVar[str] = ContextVar("tenant_id")
|
2024-08-15 10:53:05 +08:00
|
|
|
|
2024-10-21 10:43:49 +08:00
|
|
|
workflow_variable_pool: ContextVar["VariablePool"] = ContextVar("workflow_variable_pool")
|