User
User(id, created_at, updated_at, name, *, _orm_check=False)
Bases: ConstructableFromORM
Represents a user in the system.
Attributes:
Name | Type | Description |
---|---|---|
id |
int
|
The unique identifier for the user. |
created_at |
datetime
|
The timestamp when the user was created. |
updated_at |
datetime
|
The timestamp when the user was last updated. |
name |
str
|
The name of the user. |
Source code in svs_core/users/user.py
21 22 23 24 25 26 27 28 29 30 31 |
|
delete_self()
Deletes the user
Source code in svs_core/users/user.py
46 47 48 49 50 51 52 |
|