Drf-serializer-dumps

Latest version: v1.0.5

Safety actively analyzes 682334 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.5

Example:
`

class StagesSerializer(serializers.Serializer):
pass

class SomeSerializer(serializers.Serializer):
stages = serializers.SerializerMethodField()

def get_stages(self, obj) -> list[StagesSerializer]:
return StagesSerializer(obj.stages.all(), many=True).data

`

1.0.4

1.0.3

1.0.2

1.0.1

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.