Skip to content

Commit

Permalink
refactor: Lint agents-api (CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
whiterabbit1983 authored and github-actions[bot] committed Dec 26, 2024
1 parent 594891a commit 4780439
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions agents-api/agents_api/routers/tasks/update_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ async def update_execution(
raise HTTPException(status_code=500, detail="Failed to stop execution")

case ResumeExecutionRequest():
token_data = await get_paused_execution_token(
execution_id=execution_id
)
token_data = await get_paused_execution_token(execution_id=execution_id)
activity_id = token_data["metadata"].get("x-activity-id", None)
run_id = token_data["metadata"].get("x-run-id", None)
workflow_id = token_data["metadata"].get("x-workflow-id", None)
Expand Down

0 comments on commit 4780439

Please sign in to comment.