parameters: (self)
return_statement: return self.wells_by_name()
docstring: .. deprecated:: 2.0
              Use :py:meth:`wells_by_name` or dict access instead.
docstring_summary: .. deprecated:: 2.0
              Use :py:meth:`wells_by_name` or dict access instead.
docstring_tokens: .. deprecated :: 2 . 0 Use : py : meth : wells_by_name or dict access instead .
function: def wells_by_index(self) -> Dict[str, Well]:
          """
          .. deprecated:: 2.0
              Use :py:meth:`wells_by_name` or dict access instead.
          """
          MODULE_LOG.warning(
              "wells_by_index is deprecated. Use wells_by_name or dict access instead."
          )
          return self.wells_by_name()
function_tokens: def wells_by_index ( self ) -> Dict [ str , Well ] : MODULE_LOG . warning ( "wells_by_index is deprecated. Use wells_by_name or dict access instead." ) return self . wells_by_name ( )