File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ def __init__(
108108 def system_landscape_views (self ) -> Iterable [SystemLandscapeView ]:
109109 """Return the SystemLandscapeViews in this ViewSet."""
110110 return self ._get_typed_views (SystemLandscapeView )
111-
111+
112112 @property
113113 def system_context_views (self ) -> Iterable [SystemContextView ]:
114114 """Return the SystemContextViews in this ViewSet."""
@@ -380,8 +380,4 @@ def _ensure_key_is_specific_and_unique(self, key: str) -> None:
380380 raise ValueError (f"View already exists in workspace with key '{ key } '." )
381381
382382 def _get_typed_views (self , klass : "T" ) -> Iterable ["T" ]:
383- return (
384- view
385- for view in self ._views .values ()
386- if isinstance (view , klass )
387- )
383+ return (view for view in self ._views .values () if isinstance (view , klass ))
You can’t perform that action at this time.
0 commit comments