From e30840a09460dae689d0670a0e15e6ff81f9fdf0 Mon Sep 17 00:00:00 2001 From: JamieDeMaria Date: Fri, 8 Dec 2023 12:17:57 -0500 Subject: [PATCH] add is_bound --- .../dagster/dagster/_core/execution/context/invocation.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python_modules/dagster/dagster/_core/execution/context/invocation.py b/python_modules/dagster/dagster/_core/execution/context/invocation.py index 798b996f179bc..4ce9843eacdc5 100644 --- a/python_modules/dagster/dagster/_core/execution/context/invocation.py +++ b/python_modules/dagster/dagster/_core/execution/context/invocation.py @@ -813,6 +813,10 @@ def unbind(self): def bound_properties(self) -> BoundProperties: return self.op_execution_context.bound_properties + @property + def is_bound(self) -> bool: + return self.op_execution_context.is_bound + @property def execution_properties(self) -> RunlessExecutionProperties: return self.op_execution_context.execution_properties