(self, p_object)
| 119 | return False |
| 120 | |
| 121 | def _convert(self, p_object): |
| 122 | if isinstance(p_object, dict) and not self._is_intact_type(p_object): |
| 123 | p_object = self.box_options["box_class"](p_object, **self.box_options) |
| 124 | elif isinstance(p_object, box.Box): |
| 125 | p_object._box_config.update(self.box_options) |
| 126 | if isinstance(p_object, list) and not self._is_intact_type(p_object): |
| 127 | p_object = ( |
| 128 | self |
| 129 | if p_object is self or p_object is self.box_org_ref |
| 130 | else self.__class__(p_object, **self.box_options) |
| 131 | ) |
| 132 | elif isinstance(p_object, BoxList): |
| 133 | p_object.box_options.update(self.box_options) |
| 134 | return p_object |
| 135 | |
| 136 | def append(self, p_object): |
| 137 | super().append(self._convert(p_object)) |
no test coverage detected