(self, cls: type[t.Any], name: str | None)
| 4041 | return self.klass(validated) # type:ignore[misc,operator] |
| 4042 | |
| 4043 | def class_init(self, cls: type[t.Any], name: str | None) -> None: |
| 4044 | if isinstance(self._value_trait, TraitType): |
| 4045 | self._value_trait.class_init(cls, None) |
| 4046 | if isinstance(self._key_trait, TraitType): |
| 4047 | self._key_trait.class_init(cls, None) |
| 4048 | if self._per_key_traits is not None: |
| 4049 | for trait in self._per_key_traits.values(): |
| 4050 | trait.class_init(cls, None) |
| 4051 | super().class_init(cls, name) |
| 4052 | |
| 4053 | def subclass_init(self, cls: type[t.Any]) -> None: |
| 4054 | if isinstance(self._value_trait, TraitType): |
no outgoing calls
no test coverage detected