This commit is contained in:
grillazz
2025-11-16 15:28:51 +01:00
parent b10665c64e
commit 49b85128ce
4 changed files with 5 additions and 9 deletions

View File

@@ -12,8 +12,6 @@ logger = get_logger()
router = APIRouter()
@router.get("/redis", status_code=status.HTTP_200_OK)
async def redis_check(request: Request):
"""

View File

@@ -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")

View File

@@ -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
View File

@@ -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" },
]