hyperboria/nexus/pipe/consumers/document_operations_consumer.py
the-superpirate 7c1bb06b1b - [nexus] Development
GitOrigin-RevId: ccfd55db266862ed70f1299aaf62500765b03cc4
2022-09-06 19:35:58 +03:00

16 lines
337 B
Python

from nexus.models.proto.operation_pb2 import \
DocumentOperation as DocumentOperationPb
from .base import (
BaseJsonConsumer,
BasePbConsumer,
)
class DocumentOperationsConsumer(BasePbConsumer):
pb_class = DocumentOperationPb
class DocumentOperationsJsonConsumer(BaseJsonConsumer):
pb_class = DocumentOperationPb