From 7162f224dc1580f58b264da850af8de2b8c38c0c Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Thu, 11 Jun 2026 12:03:19 +0200 Subject: [PATCH] fix: typing in `contrib.bom.utils.BomDependencyGraphFlatMerger` Signed-off-by: Jan Kowalleck --- cyclonedx/contrib/bom/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: