From 8f5be05daca6dd134a3a71ba278ce8c194ef5317 Mon Sep 17 00:00:00 2001 From: Jacob Snarr Date: Wed, 11 Dec 2024 13:38:16 -0500 Subject: [PATCH] Add missing "declare_str" method to WorkflowThread (#1189) --- sdk-python/littlehorse/workflow.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdk-python/littlehorse/workflow.py b/sdk-python/littlehorse/workflow.py index 9e9e4a92b..496552769 100644 --- a/sdk-python/littlehorse/workflow.py +++ b/sdk-python/littlehorse/workflow.py @@ -1307,6 +1307,9 @@ def declare_bool(self, name: str) -> WfRunVariable: def declare_int(self, name: str) -> WfRunVariable: return self.add_variable(name, VariableType.INT) + def declare_str(self, name: str) -> WfRunVariable: + return self.add_variable(name, VariableType.STR) + def declare_double(self, name: str) -> WfRunVariable: return self.add_variable(name, VariableType.DOUBLE)