MCPcopy Create free account
hub / github.com/data-apis/python-record-api / body

Method body

record_api/apis.py:206–222  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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:

Callers

nothing calls this directly

Calls 3

assign_propertiesFunction · 0.85
function_defsFunction · 0.85

Tested by

no test coverage detected