Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

chore: Remove dead code

Clémence Lesnéd0ec6678a814
diff --git a/app/main.py b/app/main.py
index abcb8f9..696f783 100644
--- a/app/main.py
+++ b/app/main.py
@@ -536,9 +536,6 @@ async def communicationservices_event_post(
]
)
- # Return default response
- return
-
# TODO: Refacto, too long (and remove PLR0912/PLR0915 ignore)
async def _communicationservices_event_worker( # noqa: PLR0912, PLR0915
diff --git a/app/models/claim.py b/app/models/claim.py
index d22ed15..e0b0eea 100644
--- a/app/models/claim.py
+++ b/app/models/claim.py
@@ -1,5 +1,4 @@
from enum import Enum
-from typing import Optional
from pydantic import BaseModel