Skip to content

Commit

Permalink
Removes forgotten print
Browse files Browse the repository at this point in the history
  • Loading branch information
hugobessa committed Jan 4, 2025
1 parent b8ef3a9 commit 58bd2cf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
B = TypeVar("B", bound=BaseNotificationBackend)
T = TypeVar("T", bound=BaseNotificationTemplateRenderer)


class CeleryNotificationAdapter(Generic[B, T], AsyncBaseNotificationAdapter[B, T]):
send_notification_task: Task

def delayed_send(self, notification_dict: NotificationDict, context_dict: dict) -> None:
print("ENTROU AQUI!!!!!!!!!!!!!!!")
notification = self.notification_from_dict(notification_dict)
context = NotificationContextDict(**context_dict)
super().send(notification, context) # type: ignore
Expand All @@ -37,7 +37,7 @@ def notification_to_dict(self, notification: "Notification") -> NotificationDict
)

return cast(NotificationDict, serialized_notification)

def _convert_to_uuid(self, value: str) -> uuid.UUID | str:
try:
return uuid.UUID(value)
Expand Down

0 comments on commit 58bd2cf

Please sign in to comment.