Skip to content

Commit

Permalink
Fix type hint on ComparableTuple
Browse files Browse the repository at this point in the history
Signed-off-by: Rodney Richardson <rodney.richardson@cambridgeconsultants.com>
  • Loading branch information
RodneyRichardson committed May 30, 2022
1 parent 8f86c12 commit 43ef908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cyclonedx/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def sha1sum(filename: str) -> str:
_T = TypeVar('_T')


class ComparableTuple(Tuple[_T, ...]):
class ComparableTuple(Tuple[Optional[_T], ...]):
"""
Allows comparison of tuples, allowing for None values.
"""
Expand Down

0 comments on commit 43ef908

Please sign in to comment.