
__version__ = "0.9.9.2.dev0"

# cfgrib core API depends on the ECMWF ecCodes C-library only
from .cfmessage import CfMessage
from .dataset import (
    Dataset,
    DatasetBuildError,
    open_container,
    open_file,
    open_fileindex,
    open_from_index,
)
from .messages import FileStream, Message

# NOTE: xarray is not a hard dependency, but let's provide helpers if it is available.
try:
    from .xarray_store import open_dataset, open_datasets
except ImportError:
    pass


__version__ = "0.9.9.2.dev0"

# cfgrib core API depends on the ECMWF ecCodes C-library only
from .cfmessage import CfMessage
from .dataset import Dataset, DatasetBuildError, open_container, open_file, open_from_index
from .messages import FileStream, Message

# NOTE: xarray is not a hard dependency, but let's provide helpers if it is available.
try:
    from .xarray_store import open_dataset, open_datasets
except ImportError:
    pass

Drop unused and dangerous entrypoint `open_fileindex`
Drop unused and dangerous entrypoint `open_fileindex`

  
  __version__ = "0.9.9.2.dev0"
  
  # cfgrib core API depends on the ECMWF ecCodes C-library only
  from .cfmessage import CfMessage
+ from .dataset import Dataset, DatasetBuildError, open_container, open_file, open_from_index
- from .dataset import (
-     Dataset,
-     DatasetBuildError,
-     open_container,
-     open_file,
-     open_fileindex,
-     open_from_index,
- )
  from .messages import FileStream, Message
  
  # NOTE: xarray is not a hard dependency, but let's provide helpers if it is available.
  try:
      from .xarray_store import open_dataset, open_datasets
  except ImportError:
      pass
  
Drop unused and dangerous entrypoint `open_fileindex`
## Code Before:

__version__ = "0.9.9.2.dev0"

# cfgrib core API depends on the ECMWF ecCodes C-library only
from .cfmessage import CfMessage
from .dataset import (
    Dataset,
    DatasetBuildError,
    open_container,
    open_file,
    open_fileindex,
    open_from_index,
)
from .messages import FileStream, Message

# NOTE: xarray is not a hard dependency, but let's provide helpers if it is available.
try:
    from .xarray_store import open_dataset, open_datasets
except ImportError:
    pass

## Instruction:
Drop unused and dangerous entrypoint `open_fileindex`
## Code After:

__version__ = "0.9.9.2.dev0"

# cfgrib core API depends on the ECMWF ecCodes C-library only
from .cfmessage import CfMessage
from .dataset import Dataset, DatasetBuildError, open_container, open_file, open_from_index
from .messages import FileStream, Message

# NOTE: xarray is not a hard dependency, but let's provide helpers if it is available.
try:
    from .xarray_store import open_dataset, open_datasets
except ImportError:
    pass
