We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31c41ed commit 0a4b2d6Copy full SHA for 0a4b2d6
src/aleph/vm/orchestrator/custom_logs.py
@@ -3,9 +3,10 @@
3
from contextvars import ContextVar
4
5
from aleph.vm.models import VmExecution
6
+from aleph_message.models import ItemHash
7
-ctx_current_execution = ContextVar("current_execution")
8
-ctx_current_execution_hash = ContextVar("current_execution_hash")
+ctx_current_execution: ContextVar[VmExecution | None] = ContextVar("current_execution")
9
+ctx_current_execution_hash: ContextVar[ItemHash | None] = ContextVar("current_execution_hash")
10
11
12
@contextlib.contextmanager
0 commit comments