From ad489d1484a50fc9e96966880915a059439ca5c8 Mon Sep 17 00:00:00 2001 From: Gerald Walter Irsiegler Date: Wed, 6 Mar 2024 10:19:43 +0100 Subject: [PATCH] fix type hint for load payloads function --- src/openeo_test_suite/lib/compliance_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openeo_test_suite/lib/compliance_util.py b/src/openeo_test_suite/lib/compliance_util.py index a699d58..f0b21e1 100644 --- a/src/openeo_test_suite/lib/compliance_util.py +++ b/src/openeo_test_suite/lib/compliance_util.py @@ -287,7 +287,7 @@ def get_spec_path(): return _guess_root() / "openapi.yaml" -def load_payloads_from_directory(directory_path: str) -> Iterator[str]: +def load_payloads_from_directory(directory_path: str) -> Iterator[dict]: for filename in pathlib.Path(directory_path).glob("*.json"): file_path = os.path.join(directory_path, filename) with open(file_path, "r") as file: