improve-schema
Some checks failed
deploy / deploy (push) Failing after 1m13s

This commit is contained in:
2023-11-26 14:21:32 +03:00
parent 57e4f9764b
commit 6e6de3818b
2 changed files with 13 additions and 6 deletions

View File

@@ -1,12 +1,11 @@
import json
from typing import List, Dict
from orm.notification import Notification
from services.db import local_session
from services.rediscache import redis
def handle_reaction(notification: Dict[str, str | int | List[int]]):
def handle_reaction(notification: dict[str, str | int]):
"""создаеёт новое хранимое уведомление"""
try:
with local_session() as session: