mirror of
https://github.com/azaion/detections.git
synced 2026-04-22 22:26:33 +00:00
fix some cython code
This commit is contained in:
@@ -8,9 +8,9 @@ cdef enum AIAvailabilityEnum:
|
||||
ERROR = 500
|
||||
|
||||
cdef class AIAvailabilityStatus:
|
||||
cdef AIAvailabilityEnum status
|
||||
cdef int status
|
||||
cdef str error_message
|
||||
cdef object _lock
|
||||
|
||||
cdef bytes serialize(self)
|
||||
cdef set_status(self, AIAvailabilityEnum status, str error_message=*)
|
||||
cdef set_status(self, int status, str error_message=*)
|
||||
Reference in New Issue
Block a user