(self)
| 929 | raise ValueError("encoding must be castable to a dictionary") from err |
| 930 | |
| 931 | def reset_encoding(self) -> Self: |
| 932 | warnings.warn( |
| 933 | "reset_encoding is deprecated since 2023.11, use `drop_encoding` instead", |
| 934 | stacklevel=2, |
| 935 | ) |
| 936 | return self.drop_encoding() |
| 937 | |
| 938 | def drop_encoding(self) -> Self: |
| 939 | """Return a new Variable without encoding.""" |
nothing calls this directly
no test coverage detected