mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-11-30 13:20:40 +03:00
format
This commit is contained in:
@@ -12,8 +12,6 @@ logger = get_logger()
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
|
||||
|
||||
@router.get("/redis", status_code=status.HTTP_200_OK)
|
||||
async def redis_check(request: Request):
|
||||
"""
|
||||
|
||||
@@ -259,9 +259,7 @@ class Paragraph(Base):
|
||||
char_count: Mapped[int] = mapped_column(Integer)
|
||||
word_count: Mapped[int] = mapped_column(Integer)
|
||||
|
||||
character: Mapped[Character] = relationship(
|
||||
"Character", back_populates="paragraph"
|
||||
)
|
||||
character: Mapped[Character] = relationship("Character", back_populates="paragraph")
|
||||
chapter: Mapped[Chapter] = relationship("Chapter", back_populates="paragraph")
|
||||
work: Mapped[Work] = relationship("Work", back_populates="paragraph")
|
||||
|
||||
|
||||
@@ -34,8 +34,8 @@ dependencies = [
|
||||
|
||||
[tool.uv]
|
||||
dev-dependencies = [
|
||||
"ruff>=0.14.5",
|
||||
"devtools[pygments]>=0.12.2",
|
||||
"ruff==0.14.5",
|
||||
"devtools[pygments]==0.12.2",
|
||||
"pyupgrade==3.21.1",
|
||||
"ipython==9.7.0",
|
||||
"tryceratops==2.4.1",
|
||||
|
||||
4
uv.lock
generated
4
uv.lock
generated
@@ -429,10 +429,10 @@ requires-dist = [
|
||||
|
||||
[package.metadata.requires-dev]
|
||||
dev = [
|
||||
{ name = "devtools", extras = ["pygments"], specifier = ">=0.12.2" },
|
||||
{ name = "devtools", extras = ["pygments"], specifier = "==0.12.2" },
|
||||
{ name = "ipython", specifier = "==9.7.0" },
|
||||
{ name = "pyupgrade", specifier = "==3.21.1" },
|
||||
{ name = "ruff", specifier = ">=0.14.5" },
|
||||
{ name = "ruff", specifier = "==0.14.5" },
|
||||
{ name = "tryceratops", specifier = "==2.4.1" },
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user