mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
365 B
15 lines
365 B
# -*- coding: utf-8 -*-
|
|
#
|
|
|
|
from rest_framework_bulk.serializers import BulkListSerializer
|
|
from rest_framework import serializers
|
|
from .mixins import BulkListSerializerMixin
|
|
|
|
|
|
class AdaptedBulkListSerializer(BulkListSerializerMixin, BulkListSerializer):
|
|
pass
|
|
|
|
|
|
class CeleryTaskSerializer(serializers.Serializer):
|
|
task = serializers.CharField(read_only=True)
|