rename property module
This commit is contained in:
parent
09549bf68c
commit
d2bed7c859
|
@ -2,4 +2,4 @@ from .character import *
|
|||
from .classes import *
|
||||
from .log import *
|
||||
from .modifiers import *
|
||||
from .property import *
|
||||
from .skill import *
|
||||
|
|
|
@ -5,7 +5,7 @@ from sqlalchemy.orm import Mapped, mapped_column, relationship
|
|||
from ttfrog.db.base import BaseObject, SlugMixin
|
||||
from ttfrog.db.schema.classes import CharacterClass, ClassAttribute
|
||||
from ttfrog.db.schema.modifiers import Modifier, ModifierMixin, Stat
|
||||
from ttfrog.db.schema.property import Skill
|
||||
from ttfrog.db.schema.skill import Skill
|
||||
|
||||
__all__ = [
|
||||
"Ancestry",
|
||||
|
|
|
@ -6,7 +6,7 @@ from sqlalchemy.ext.associationproxy import association_proxy
|
|||
from sqlalchemy.orm import Mapped, mapped_column, relationship
|
||||
|
||||
from ttfrog.db.base import BaseObject
|
||||
from ttfrog.db.schema.property import Skill
|
||||
from ttfrog.db.schema.skill import Skill
|
||||
|
||||
__all__ = [
|
||||
"ClassAttributeMap",
|
||||
|
|
|
@ -14,4 +14,4 @@ class Skill(BaseObject):
|
|||
name: Mapped[str] = mapped_column(String(collation="NOCASE"), nullable=False, unique=True)
|
||||
base_id: Mapped[int] = mapped_column(ForeignKey("skill.id"), nullable=True, default=None)
|
||||
|
||||
parent: Mapped["Skill"] = relationship(init=False, remote_side=id, uselist=False, lazy="immediate")
|
||||
parent: Mapped["Skill"] = relationship(init=False, remote_side=id, uselist=False)
|
Loading…
Reference in New Issue
Block a user