harp_apps.storage.models.users

Inheritance diagram of harp_apps.storage.models.users

class User[source]

Bases: Base

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

flags: Mapped[List[UserFlag]]
id
username
class UsersRepository[source]

Bases: Repository

Type

alias of User

async find_one_by_username(username)[source]
Parameters:

username (str)

Return type:

User