|CorePropertiesPart| object related to this package. Creates a default core properties part if one is not present (not common).
(self)
| 167 | |
| 168 | @property |
| 169 | def _core_properties_part(self) -> CorePropertiesPart: |
| 170 | """|CorePropertiesPart| object related to this package. |
| 171 | |
| 172 | Creates a default core properties part if one is not present (not common). |
| 173 | """ |
| 174 | try: |
| 175 | return cast(CorePropertiesPart, self.part_related_by(RT.CORE_PROPERTIES)) |
| 176 | except KeyError: |
| 177 | core_properties_part = CorePropertiesPart.default(self) |
| 178 | self.relate_to(core_properties_part, RT.CORE_PROPERTIES) |
| 179 | return core_properties_part |
| 180 | |
| 181 | |
| 182 | class Unmarshaller: |
nothing calls this directly
no test coverage detected