mirror of
https://github.com/azaion/ai-training.git
synced 2026-04-22 11:06:35 +00:00
read from queue
This commit is contained in:
@@ -19,7 +19,7 @@ class Detection:
|
||||
|
||||
class AnnotationCreatedMessage:
|
||||
def __init__(self, msgpack_bytes):
|
||||
unpacked_data = msgpack.unpackb(msgpack_bytes, raw=False)
|
||||
unpacked_data = msgpack.unpackb(msgpack_bytes)
|
||||
self.createdDate = unpacked_data.get(0)
|
||||
self.name = unpacked_data.get(1)
|
||||
self.originalMediaName = unpacked_data.get(2)
|
||||
|
||||
Reference in New Issue
Block a user