(self, key: str, value: Any)
| 32 | self.y = y |
| 33 | |
| 34 | def __setattr__(self, key: str, value: Any) -> None: |
| 35 | if key in self.__annotations__ and key not in dir(self): |
| 36 | # Allow the very first assignment to happen |
| 37 | super().__setattr__(key, value) |
| 38 | else: |
| 39 | raise AttributeError("Immutable object") |
| 40 | |
| 41 | def __delattr__(self, key: str) -> Never: |
| 42 | raise AttributeError("Immutable object") |
nothing calls this directly
no outgoing calls
no test coverage detected