mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-21 17:17:47 +01:00
21 lines
454 B
Python
21 lines
454 B
Python
|
from nexus.models.proto.operation_pb2 import \
|
||
|
DocumentOperation as DocumentOperationPb
|
||
|
|
||
|
from .base import (
|
||
|
BaseBulkConsumer,
|
||
|
BaseJsonConsumer,
|
||
|
BasePbConsumer,
|
||
|
)
|
||
|
|
||
|
|
||
|
class DocumentOperationsConsumer(BasePbConsumer):
|
||
|
pb_class = DocumentOperationPb
|
||
|
|
||
|
|
||
|
class DocumentOperationsJsonConsumer(BaseJsonConsumer):
|
||
|
pb_class = DocumentOperationPb
|
||
|
|
||
|
|
||
|
class DocumentOperationsBulkConsumer(BaseBulkConsumer, DocumentOperationsConsumer):
|
||
|
pass
|