diff --git a/capycli/bom/findsources.py b/capycli/bom/findsources.py index 920a760..10ec65c 100644 --- a/capycli/bom/findsources.py +++ b/capycli/bom/findsources.py @@ -289,7 +289,7 @@ def get_github_source_url(self, github_url: str, version: str) -> str: tag_info_checked = self.check_for_github_error(tag_info) return self.get_matching_tag(tag_info_checked, version, github_url) - def check_for_github_error(self, tag_info: List[Dict[str, Any]] | Dict[str, Any]) -> List[Dict[str, Any]]: + def check_for_github_error(self, tag_info: get_github_info_type) -> List[Dict[str, Any]]: if isinstance(tag_info, list): # assume valid answer return tag_info