Skip to content

Commit 43ef908

Browse files
Fix type hint on ComparableTuple
Signed-off-by: Rodney Richardson <[email protected]>
1 parent 8f86c12 commit 43ef908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cyclonedx/model/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def sha1sum(filename: str) -> str:
6262
_T = TypeVar('_T')
6363

6464

65-
class ComparableTuple(Tuple[_T, ...]):
65+
class ComparableTuple(Tuple[Optional[_T], ...]):
6666
"""
6767
Allows comparison of tuples, allowing for None values.
6868
"""

0 commit comments

Comments
 (0)