User
Table of Contents
Section titled “Table of Contents”syncopate.models.user
Section titled “syncopate.models.user”User model.
User Objects
Section titled “User Objects”@dataclass(frozen=True, slots=True)class User()A Syncopate user (human or bot).
is_bot
Section titled “is_bot”@propertydef is_bot() -> boolWhether this is a bot user.
from_data
Section titled “from_data”@classmethoddef from_data(cls, data: dict[str, object]) -> UserConstruct from an API response payload.