Skip to content

Commit 71eeb4a

Browse files
Fix SortedSet type hints for python < 3.8
Signed-off-by: Rodney Richardson <[email protected]>
1 parent e9ee712 commit 71eeb4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cyclonedx/model/component.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,8 +762,8 @@ def __init__(self, *, name: str, component_type: ComponentType = ComponentType.L
762762
if not licenses:
763763
self.licenses = SortedSet([LicenseChoice(license_expression=license_str)])
764764

765-
self.__dependencies: SortedSet[BomRef] = SortedSet()
766-
self.__vulnerabilites: SortedSet[Vulnerability] = SortedSet()
765+
self.__dependencies: "SortedSet[BomRef]" = SortedSet()
766+
self.__vulnerabilites: "SortedSet[Vulnerability]" = SortedSet()
767767

768768
@property
769769
def type(self) -> ComponentType:

0 commit comments

Comments
 (0)