(self)
| 204 | |
| 205 | @property |
| 206 | def body(self) -> typing.Iterable[cst.BaseStatement]: |
| 207 | if self.constructor is not None: |
| 208 | function_def_with_overloads( |
| 209 | "__init__", |
| 210 | self.constructor_overloads, |
| 211 | self.constructor, |
| 212 | "method", |
| 213 | indent=1, |
| 214 | ) |
| 215 | yield from assign_properties(self.classproperties, True) |
| 216 | |
| 217 | yield from function_defs( |
| 218 | self.classmethod_overloads, self.classmethods, "classmethod", 1 |
| 219 | ) |
| 220 | yield from assign_properties(self.properties) |
| 221 | |
| 222 | yield from function_defs(self.method_overloads, self.methods, "method", 1) |
| 223 | |
| 224 | def ior_constructor(self, other: typing.Optional[Signature]) -> None: |
| 225 | if self.constructor and other: |
nothing calls this directly
no test coverage detected