Skip to content

Commit 5edfd45

Browse files
ahmedmuhsinCopilot
andauthored
remove redundant import json
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7f89e4f commit 5edfd45

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • python/packages/azurefunctions/agent_framework_azurefunctions

python/packages/azurefunctions/agent_framework_azurefunctions/_workflow.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -719,8 +719,6 @@ def run_workflow_orchestrator(
719719
# Durable Functions may return a JSON string; parse it if so
720720
if isinstance(raw_response, str):
721721
try:
722-
import json
723-
724722
raw_response = json.loads(raw_response)
725723
logger.debug("Parsed JSON string response to: %s", type(raw_response).__name__)
726724
except (json.JSONDecodeError, TypeError):

0 commit comments

Comments
 (0)