app.serializers.document.DocumentAttachmentSerializer.get_attribute
- DocumentAttachmentSerializer.get_attribute(obj: Any, attr: str, default: Any)
Defines how to pull values from an object to serialize.
New in version 2.0.0.
Changed in version 3.0.0a1: Changed position of
obj
andattr
.