diff --git a/cyclonedx/contrib/bom/utils.py b/cyclonedx/contrib/bom/utils.py index d03c608f..41ca91c5 100644 --- a/cyclonedx/contrib/bom/utils.py +++ b/cyclonedx/contrib/bom/utils.py @@ -151,7 +151,7 @@ def reset(self) -> None: @staticmethod def _flatten_merge(deps: Iterable[Dependency]) -> Iterable[Dependency]: - flat: dict[BomRef, list[BomRef]] = {} + flat: dict['BomRef', list['BomRef']] = {} todos = list(deps) seen: list[int] = [] while todos: