Download api/contexts/__init__.py from Underground-Digital/Workflow-Engine: direct link, hf CLI and curl.
- Browser
- Download file 298 Bytes
-
https://huggingface.co/spaces/Underground-Digital/Workflow-Engine/resolve/main/api/contexts/__init__.py
- Command line
-
hf download hf://spaces/Underground-Digital/Workflow-Engine/api/contexts/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Underground-Digital/Workflow-Engine/resolve/main/api/contexts/__init__.py
298 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") | |