HasFieldsLikeInit

HasFieldsLikeInit#

class penzai.treescope.handlers.hardcoded_structure_handlers.HasFieldsLikeInit[source]#

Bases: object

Marks a type as having fields based on the signature of __init__.

We assume that every argument to __init__ is also an attribute.

Variables:

render_subclasses (bool) – Whether to also render subclasses of the class.

Methods

__init__([render_subclasses])

Attributes

render_subclasses