mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 21:10:38 +03:00
11 lines
380 B
Python
11 lines
380 B
Python
''' Utility serializers for REST API schema - SHOULD NOT BE ACCESSED DIRECTLY. '''
|
|
from rest_framework import serializers
|
|
|
|
from .data_access import OperationSchemaSerializer, OperationSerializer
|
|
|
|
|
|
class NewOperationResponse(serializers.Serializer):
|
|
''' Serializer: Create operation response. '''
|
|
new_operation = OperationSerializer()
|
|
oss = OperationSchemaSerializer()
|