plus-fix
Some checks are pending
deploy / deploy (push) Waiting to run

This commit is contained in:
Untone 2023-11-29 23:22:47 +03:00
parent 26682632bc
commit 851ab77f7b
3 changed files with 1 additions and 5 deletions

View File

@ -13,7 +13,7 @@ class AuthorRating(Base):
id = None # type: ignore id = None # type: ignore
rater = Column(ForeignKey("author.id"), primary_key=True, index=True) rater = Column(ForeignKey("author.id"), primary_key=True, index=True)
author = Column(ForeignKey("author.id"), primary_key=True, index=True) author = Column(ForeignKey("author.id"), primary_key=True, index=True)
value = Column(Integer) plus = Column(Boolean)
class AuthorFollower(Base): class AuthorFollower(Base):

View File

@ -25,9 +25,6 @@ black = { version = "^23.9.1", python = ">=3.12" }
mypy = { version = "^1.7", python = ">=3.12" } mypy = { version = "^1.7", python = ">=3.12" }
setuptools = "^69.0.2" setuptools = "^69.0.2"
[tool.poetry.group.dev.dependencies]
setuptools = "^69.0.2"
[tool.black] [tool.black]
line-length = 120 line-length = 120
target-version = ['py312'] target-version = ['py312']

View File

@ -2,7 +2,6 @@ from typing import List
from sqlalchemy import and_, select from sqlalchemy import and_, select
from sqlalchemy.orm import aliased from sqlalchemy.orm import aliased
from sqlalchemy.exc import SQLAlchemyError from sqlalchemy.exc import SQLAlchemyError
from orm.author import Author
from orm.notification import Notification as NotificationMessage, NotificationSeen from orm.notification import Notification as NotificationMessage, NotificationSeen
from services.auth import login_required from services.auth import login_required
from services.db import local_session from services.db import local_session