Skip to content

Commit

Permalink
fix type hint for load payloads function
Browse files Browse the repository at this point in the history
  • Loading branch information
GeraldIr committed Mar 6, 2024
1 parent bafa973 commit ad489d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openeo_test_suite/lib/compliance_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ad489d1

Please sign in to comment.