From d88f18bca2e64938b08b95f08805c7c6a41b1cdd Mon Sep 17 00:00:00 2001 From: z3z1ma Date: Thu, 6 Jun 2024 20:34:31 -0700 Subject: [PATCH] chore: add values iter --- src/cdf/core/project.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cdf/core/project.py b/src/cdf/core/project.py index 4170814..e56db49 100644 --- a/src/cdf/core/project.py +++ b/src/cdf/core/project.py @@ -376,6 +376,7 @@ def get_component_names(self) -> t.List[str]: ) keys = get_component_names + values = __iter__ def items(self) -> t.Iterator[t.Tuple[str, spec.CoreSpecification]]: """Iterate over the components""" @@ -661,6 +662,7 @@ def get_workspace_names(self) -> t.List[str]: return [workspace.name for workspace in self.workspaces] keys = get_workspace_names + values = __iter__ def items(self) -> t.Iterator[t.Tuple[str, Workspace]]: """Iterate over the workspaces"""