MCPcopy Create free account
hub / github.com/dbunt1tled/python-fast-api / can_handle

Method can_handle

src/cmd/worker/email/send_email.py:10–11  ·  view source on GitHub ↗
(self, action: str)

Source from the content-addressed store, hash-verified

8
9class SendEmailHandler(MessageHandler):
10 def can_handle(self, action: str) -> bool:
11 return action in [EmailAction.send_email.value]
12
13 async def handle(self, context: MessageContext) -> ProcessingResult:
14 try:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected