def well(self, idx) -> Well:
        """Deprecated---use result of `wells` or `wells_by_index`"""
        if isinstance(idx, int):
            res = self._wells[idx]
        elif isinstance(idx, str):
            res = self.wells_by_index()[idx]
        else:
            res = NotImplemented
        return res
Deprecated---use result of `wells` or `wells_by_index`