mirror of https://github.com/jumpserver/jumpserver
21 lines
583 B
Python
21 lines
583 B
Python
# -*- coding: utf-8 -*-
|
|
#
|
|
from assets.models import GatherAccountsAutomation
|
|
from common.utils import get_logger
|
|
|
|
from .base import BaseAutomationSerializer
|
|
|
|
logger = get_logger(__file__)
|
|
|
|
__all__ = [
|
|
'GatherAccountAutomationSerializer',
|
|
]
|
|
|
|
|
|
class GatherAccountAutomationSerializer(BaseAutomationSerializer):
|
|
class Meta:
|
|
model = GatherAccountsAutomation
|
|
read_only_fields = BaseAutomationSerializer.Meta.read_only_fields
|
|
fields = BaseAutomationSerializer.Meta.fields + read_only_fields
|
|
extra_kwargs = BaseAutomationSerializer.Meta.extra_kwargs
|