mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-21 00:57:45 +01:00
8472f27ec5
GitOrigin-RevId: ddf02e70d2827c048db49b687ebbcdcc67807ca6
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
|