Skip to content

Commit

Permalink
Merge pull request #5305 from voxel51/bugfix/dataset-first
Browse files Browse the repository at this point in the history
Bump to ETA v0.13.1
  • Loading branch information
brimoor authored Dec 20, 2024
2 parents 45a8a28 + 4953b31 commit 50970e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
13 changes: 0 additions & 13 deletions fiftyone/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -973,19 +973,6 @@ def __init__(self, total=None, progress=None, quiet=None, **kwargs):
self._progress = progress
self._callback = callback

def __call__(self, iterable):
# Ensure that `len(iterable)` is not computed unnecessarily
no_len = self._quiet and self._total is None
if no_len:
self._total = -1

super().__call__(iterable)

if no_len:
self._total = None

return self

def set_iteration(self, *args, **kwargs):
super().set_iteration(*args, **kwargs)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def get_version():
# internal packages
"fiftyone-brain>=0.18.2,<0.19",
"fiftyone-db>=0.4,<2.0",
"voxel51-eta>=0.13.0,<0.14",
"voxel51-eta>=0.13.1,<0.14",
]


Expand Down

0 comments on commit 50970e9

Please sign in to comment.