diff --git a/pkgs/clan-cli/tests/test_db_api.py b/pkgs/clan-cli/tests/test_db_api.py index eb1f574..8e4612e 100644 --- a/pkgs/clan-cli/tests/test_db_api.py +++ b/pkgs/clan-cli/tests/test_db_api.py @@ -1,5 +1,5 @@ import json -from typing import Collection, Iterable, Mapping, Union +from typing import Any from api import TestClient @@ -9,11 +9,7 @@ default_entity_did = "did:sov:test:1234" def assert_extra_info( infos: list[str], - request_body: Union[ - dict[str, object], - dict[str, Collection[str]], - Mapping[str, Union[str, Iterable[str]]], - ], + request_body: dict[str, Any], response: dict[str, str], ) -> None: # print(type()) @@ -26,11 +22,7 @@ def assert_extra_info( def make_test_post_and_get( api: TestClient, - request_body: Union[ - dict[str, object], - dict[str, Collection[str]], - Mapping[str, Union[str, Iterable[str]]], - ], + request_body: dict[str, Any], paramter: str, get_request: str = default_entity_did_url, apiversion: str = "v1",