def __init__(self, stage_serializers=None, deploy_serializers=None):
        self._stage_serializers_map = {}
        self._deploy_serializers_map = {}

        if stage_serializers is None:
            stage_serializers = self.stage_serializers
        for serializer in stage_serializers:
            self.add_stage_serializer(serializer)

        if deploy_serializers is None:
            deploy_serializers = self.deploy_serializers
        for serializer in deploy_serializers:
            self.add_deploy_serializer(serializer)
TaskSerializers initializer
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/orchestrator/tasks_serializer.py/TaskSerializers.__init__