More syntactic sugar for typing.

This commit is contained in:
Conrad Nelson 2025-09-03 11:03:43 -05:00
parent bcaff6e4df
commit 009e54d568
5 changed files with 10 additions and 10 deletions

View file

@ -1,6 +1,6 @@
from muck.models.dbref import Dbref
from muck.models.dbref import Dbref, ObjectType
class Player(Dbref):
__mapper_args__ = {
"polymorphic_identity": "player"
"polymorphic_identity": ObjectType.PLAYER
}