harp_apps.storage.models.flags

Inheritance diagram of harp_apps.storage.models.flags

class FlagsRepository[source]

Bases: Repository

Type

alias of UserFlag

class UserFlag[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.

id
transaction: Mapped[Transaction]
transaction_id
type
user: Mapped[User]
user_id