user
User ORM Model
Defines the User
class, which represents metadata for users within the Eleanor
framework.
Classes
User
Bases: Participant
Human user metadata
Attributes
create_ts
class-attribute
instance-attribute
create_ts: Mapped[datetime] = mapped_column(
server_default=now(), comment="Record create timestamp"
)
pkid
class-attribute
instance-attribute
pkid: Mapped[str] = mapped_column(
ForeignKey("participant.pkid"),
primary_key=True,
comment="Human user identifier",
)
settings
class-attribute
instance-attribute
settings: Mapped[UserResourceSettings] = mapped_column(
PydanticType(UserResourceSettings),
default={},
nullable=False,
comment="JSON-encoded resource settings",
)