Skip to content
This repository was archived by the owner on Jan 21, 2023. It is now read-only.

Commit ecb3246

Browse files
committed
refactor: PR feedback
1 parent 78217ca commit ecb3246

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/structurizr/view/view_set.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)