Skip to content

Commit

Permalink
define __slots__
Browse files Browse the repository at this point in the history
  • Loading branch information
brimoor committed Oct 7, 2024
1 parent b7eaacf commit 75431ed
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions fiftyone/core/materialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@ class MaterializedView(fov.DatasetView):
serves the samples in this view
"""

__slots__ = (
"_source_collection",
"_materialize_stage",
"_materialized_dataset",
"__stages",
"__media_type",
"__name",
)

def __init__(
self,
source_collection,
Expand Down

0 comments on commit 75431ed

Please sign in to comment.