utils
Links
Bases: enum.Enum
Enum to define the links.
Source code in src/project/database/utils.py
36 37 38 39 40 41 42 43 44 |
|
States
Bases: enum.Enum
Enum to define the state keys for the session state.
Source code in src/project/database/utils.py
27 28 29 30 31 32 33 |
|
current_milli_time()
Get the current time in milliseconds.
Returns:
-
int
(int
) –Current time in milliseconds
Source code in src/project/database/utils.py
6 7 8 9 10 11 12 |
|
formate_time(time_stamp)
Format the given time stamp to the given format.
Parameters:
-
time_stamp
(int
) –Time stamp to format
Returns:
-
str
(str
) –Formatted time
Source code in src/project/database/utils.py
15 16 17 18 19 20 21 22 23 24 |
|