mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-21 09:07:46 +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
|