Skip to content

1.0.1

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 28 Feb 20:42
0998b72
[Bug] Infinite loop when listing the contents of an empty catalog (#49)

## Problem

When trying to call `Catalog.list_datasets` on an empty catalog, you go
into an infinite loop.

```python
from pinecone_datasets import Catalog

catalog = Catalog(base_path='/path/to/empty/dir')
catalog.list_datasets() # infinite loop
```

## Solution

Add test and remove the offending log line attempting to call
list_datasets as they are being loaded in.

## Type of Change

- [x] Bug fix (non-breaking change which fixes an issue)