From f67d42b8584a41e42bb07383f9205e980a6e8ff2 Mon Sep 17 00:00:00 2001 From: Salomon Popp Date: Tue, 31 Oct 2023 12:37:28 +0100 Subject: [PATCH] Fix type --- kpops/components/base_components/models/resource.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kpops/components/base_components/models/resource.py b/kpops/components/base_components/models/resource.py index a154ad0f6..08c01f344 100644 --- a/kpops/components/base_components/models/resource.py +++ b/kpops/components/base_components/models/resource.py @@ -1,5 +1,5 @@ -from collections.abc import Iterable, Mapping +from collections.abc import Mapping, Sequence from typing import Any, TypeAlias # representation of final resource for component, e.g. a list of Kubernetes manifests -Resource: TypeAlias = Iterable[Mapping[str, Any]] +Resource: TypeAlias = Sequence[Mapping[str, Any]]