Files
detections/ai_availability_status.pxd
T
Oleksandr Bezdieniezhnykh 6269a7485c fix some cython code
2026-03-29 21:18:18 +03:00

16 lines
348 B
Cython

cdef enum AIAvailabilityEnum:
NONE = 0
DOWNLOADING = 10
CONVERTING = 20
UPLOADING = 30
ENABLED = 200
WARNING = 300
ERROR = 500
cdef class AIAvailabilityStatus:
cdef int status
cdef str error_message
cdef object _lock
cdef bytes serialize(self)
cdef set_status(self, int status, str error_message=*)