(self)
| 2440 | |
| 2441 | @property |
| 2442 | def document_type(self): |
| 2443 | if isinstance(self.document_type_obj, str): |
| 2444 | if self.document_type_obj == RECURSIVE_REFERENCE_CONSTANT: |
| 2445 | self.document_type_obj = self.owner_document |
| 2446 | else: |
| 2447 | self.document_type_obj = get_document(self.document_type_obj) |
| 2448 | return self.document_type_obj |
| 2449 | |
| 2450 | def build_lazyref(self, value): |
| 2451 | if isinstance(value, LazyReference): |
nothing calls this directly
no test coverage detected