mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-06-13 08:30:11 +02:00
16 lines
337 B
Python
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
|