mirror of
https://github.com/langgenius/dify.git
synced 2026-03-04 15:26:21 +08:00
35 lines
836 B
Python
35 lines
836 B
Python
"""
|
|
Execution Context - Context management for workflow execution.
|
|
|
|
This package provides Flask-independent context management for workflow
|
|
execution in multi-threaded environments.
|
|
"""
|
|
|
|
from dify_graph.context.execution_context import (
|
|
AppContext,
|
|
ContextProviderNotFoundError,
|
|
ExecutionContext,
|
|
IExecutionContext,
|
|
NullAppContext,
|
|
capture_current_context,
|
|
read_context,
|
|
register_context,
|
|
register_context_capturer,
|
|
reset_context_provider,
|
|
)
|
|
from dify_graph.context.models import SandboxContext
|
|
|
|
__all__ = [
|
|
"AppContext",
|
|
"ContextProviderNotFoundError",
|
|
"ExecutionContext",
|
|
"IExecutionContext",
|
|
"NullAppContext",
|
|
"SandboxContext",
|
|
"capture_current_context",
|
|
"read_context",
|
|
"register_context",
|
|
"register_context_capturer",
|
|
"reset_context_provider",
|
|
]
|