Skip to content

Commit 73019e4

Browse files
committed
feat: add bom.definitions
for CycloneDX#697 Signed-off-by: Hakan Dilek <[email protected]>
1 parent e18d377 commit 73019e4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cyclonedx/model/bom.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -561,9 +561,8 @@ def vulnerabilities(self, vulnerabilities: Iterable[Vulnerability]) -> None:
561561
def definitions(self) -> Optional[Definitions]:
562562
"""
563563
The repository for definitions
564-
565564
Returns:
566-
`DefinitionRepository`
565+
`Definitions`
567566
"""
568567
return self._definitions if len(self._definitions.standards) > 0 else None
569568

0 commit comments

Comments
 (0)