Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
brimoor committed Apr 9, 2023
1 parent 0764c54 commit 80785a4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions fiftyone/core/clips.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,9 @@ def reload(self):
_view = self._clips_stage.load_view(self._source_collection)
self._clips_dataset = _view._clips_dataset

view = self._base_view
_view = self._base_view
for stage in self._stages:
view = view.add_stage(stage)
_view = _view.add_stage(stage)

def _sync_source_sample(self, sample):
if not self._classification_field:
Expand Down
4 changes: 2 additions & 2 deletions fiftyone/core/patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,9 @@ def reload(self):
_view = self._patches_stage.load_view(self._source_collection)
self._patches_dataset = _view._patches_dataset

view = self._base_view
_view = self._base_view
for stage in self._stages:
view = view.add_stage(stage)
_view = _view.add_stage(stage)

def _sync_source_sample(self, sample):
for field in self._label_fields:
Expand Down
4 changes: 2 additions & 2 deletions fiftyone/core/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,9 @@ def reload(self):
_view = self._frames_stage.load_view(self._source_collection)
self._frames_dataset = _view._frames_dataset

view = self._base_view
_view = self._base_view
for stage in self._stages:
view = view.add_stage(stage)
_view = _view.add_stage(stage)

def _set_labels(self, field_name, sample_ids, label_docs):
super()._set_labels(field_name, sample_ids, label_docs)
Expand Down
4 changes: 2 additions & 2 deletions fiftyone/core/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -1108,9 +1108,9 @@ def reload(self):
"""
self._dataset.reload()

view = self._base_view
_view = self._base_view
for stage in self._stages:
view = view.add_stage(stage)
_view = _view.add_stage(stage)

def to_dict(
self,
Expand Down

0 comments on commit 80785a4

Please sign in to comment.