refactored
Some checks failed
Deploy on push / deploy (push) Failing after 6s

This commit is contained in:
2025-08-17 17:56:31 +03:00
parent e78e12eeee
commit 9a2b792f08
98 changed files with 702 additions and 904 deletions

7
cache/precache.py vendored
View File

@@ -3,14 +3,15 @@ import traceback
from sqlalchemy import and_, join, select
from auth.orm import Author, AuthorFollower
# Импорт Author, AuthorFollower отложен для избежания циклических импортов
from cache.cache import cache_author, cache_topic
from orm.shout import Shout, ShoutAuthor, ShoutReactionsFollower, ShoutTopic
from orm.topic import Topic, TopicFollower
from resolvers.stat import get_with_stat
from auth.orm import Author, AuthorFollower
from services.db import local_session
from services.redis import redis
from storage.db import local_session
from storage.redis import redis
from utils.encoders import fast_json_dumps
from utils.logger import root_logger as logger