Method
__init__
(
self,
/,
*args: Any,
**kwargs: Any,
)
Source from the content-addressed store, hash-verified
| 844 | __slots__ = tuple(__annotations__) |
| 845 | |
| 846 | def __init__( |
| 847 | self, |
| 848 | /, |
| 849 | *args: Any, |
| 850 | **kwargs: Any, |
| 851 | ): |
| 852 | if len(args) == 1 and isinstance(args[0], self.klass): |
| 853 | args = args[0] # type: ignore[assignment] |
| 854 | super().__init__( |
| 855 | None, |
| 856 | self.to_container, |
| 857 | *args, |
| 858 | constructor=self.constructor, |
| 859 | **kwargs, |
| 860 | ) |
| 861 | |
| 862 | def __getstate__(self): |
| 863 | state = super().__getstate__() |
Callers
nothing calls this directly
Tested by
no test coverage detected