mirror of
https://github.com/283375/arcaea-offline.git
synced 2025-07-01 12:16:26 +00:00
impr: add ReprHelper
for models
This commit is contained in:
@ -3,6 +3,8 @@ from typing import Optional
|
||||
from sqlalchemy import TEXT, ForeignKey
|
||||
from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column
|
||||
|
||||
from .common import ReprHelper
|
||||
|
||||
__all__ = [
|
||||
"SongsBase",
|
||||
"Pack",
|
||||
@ -15,7 +17,7 @@ __all__ = [
|
||||
]
|
||||
|
||||
|
||||
class SongsBase(DeclarativeBase):
|
||||
class SongsBase(DeclarativeBase, ReprHelper):
|
||||
pass
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user