Skip to content

Commit a5840b8

Browse files
committed
fix(tasks): remove deprecation warning on CodeExecutionTask.input (#1709)
1 parent 8cd3d37 commit a5840b8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

griptape/tasks/code_execution_task.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from griptape.artifacts import BaseArtifact, TextArtifact
88
from griptape.tasks.base_task import BaseTask
9-
from griptape.utils import J2, deprecation_warn
9+
from griptape.utils import J2
1010

1111
T = TypeVar("T", bound=BaseArtifact) # Return type of task
1212

@@ -22,7 +22,6 @@ class CodeExecutionTask(BaseTask[T]):
2222

2323
@property
2424
def input(self) -> TextArtifact:
25-
deprecation_warn("CodeExecutionTask.input is deprecated and will be removed in a future release.")
2625
if isinstance(self._input, TextArtifact):
2726
return self._input
2827
elif callable(self._input):

0 commit comments

Comments
 (0)