(self, value)
| 883 | return value |
| 884 | |
| 885 | def to_python(self, value): |
| 886 | if isinstance(value, dict) and "_cls" in value: |
| 887 | doc_cls = get_document(value["_cls"]) |
| 888 | if "_ref" in value: |
| 889 | value = doc_cls._get_db().dereference(value["_ref"]) |
| 890 | return doc_cls._from_son(value) |
| 891 | |
| 892 | return super().to_python(value) |
| 893 | |
| 894 | def lookup_member(self, member_name): |
| 895 | return member_name |
nothing calls this directly
no test coverage detected