MakeReadonly
Overview
Metaclass that hides create and update on any serializer class it is applied to. Used internally by VuedaReadonlySerializer and VuedaReadonlyListSerializer.
new {#new}
Create and return a new object. See help(type) for accurate signature.
Signature {#new-signature}
__new__(cls, cls_name, cls_bases, cls_dict)
Parameters {#new-parameters}
| Name | Type | Required | Description |
|---|---|---|---|
| cls | yes | ||
| cls_name | yes | ||
| cls_bases | yes | ||
| cls_dict | yes |
Source {#new-source}
server/vueda/core/serializers/__init__.py:743
Source
server/vueda/core/serializers/__init__.py:735