File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ def filtered_views(self) -> Iterable[FilteredView]:
152152 return (view for view in self ._views .values () if isinstance (view , FilteredView ))
153153
154154 @property
155- def all_views (self ) -> Iterable [AbstractView ]:
155+ def views (self ) -> Iterable [AbstractView ]:
156156 """Return all the views in this ViewSet."""
157157 return self ._views .values ()
158158
@@ -379,7 +379,7 @@ def __getitem__(self, key: str) -> AbstractView:
379379 def copy_layout_information_from (self , source : "ViewSet" ) -> None :
380380 """Copy all the layout information from a source ViewSet."""
381381
382- for source_view in source .all_views :
382+ for source_view in source .views :
383383 destination_view = self .get_view (source_view .key )
384384 if (
385385 destination_view
You can’t perform that action at this time.
0 commit comments