isort
All checks were successful
Deploy on push / deploy (push) Successful in 26s

This commit is contained in:
Untone 2024-05-20 16:46:05 +03:00
parent e0b3562e80
commit 232892d397
4 changed files with 7 additions and 28 deletions

View File

@ -11,12 +11,7 @@ from resolvers.author import ( # search_authors,
)
from resolvers.community import get_communities_all, get_community
from resolvers.editor import create_shout, delete_shout, update_shout
from resolvers.follower import (
follow,
get_shout_followers,
get_topic_followers,
unfollow,
)
from resolvers.follower import follow, get_shout_followers, get_topic_followers, unfollow
from resolvers.notifier import (
load_notifications,
notification_mark_seen,
@ -40,12 +35,7 @@ from resolvers.reader import (
load_shouts_search,
load_shouts_unrated,
)
from resolvers.topic import (
get_topic,
get_topics_all,
get_topics_by_author,
get_topics_by_community,
)
from resolvers.topic import get_topic, get_topics_all, get_topics_by_author, get_topics_by_community
from services.triggers import events_register
events_register()

View File

@ -8,12 +8,7 @@ from sqlalchemy.orm import aliased
from sqlalchemy.sql import not_
from orm.author import Author
from orm.notification import (
Notification,
NotificationAction,
NotificationEntity,
NotificationSeen,
)
from orm.notification import Notification, NotificationAction, NotificationEntity, NotificationSeen
from orm.shout import Shout
from services.auth import login_required
from services.db import local_session

View File

@ -7,12 +7,7 @@ from typing import Dict
# ga
from google.analytics.data_v1beta import BetaAnalyticsDataClient
from google.analytics.data_v1beta.types import (
DateRange,
Dimension,
Metric,
RunReportRequest,
)
from google.analytics.data_v1beta.types import DateRange, Dimension, Metric, RunReportRequest
from orm.author import Author
from orm.shout import Shout, ShoutAuthor, ShoutTopic

View File

@ -1,17 +1,16 @@
import os
import re
from sqlalchemy import select
from starlette.endpoints import HTTPEndpoint
from starlette.exceptions import HTTPException
from starlette.requests import Request
from starlette.responses import JSONResponse
from sqlalchemy import select
from orm.author import Author
from services.db import local_session
from services.cache import cache_author
from resolvers.stat import get_with_stat
from services.cache import cache_author
from services.db import local_session
class WebhookEndpoint(HTTPEndpoint):