Skip to content

Commit

Permalink
docs: remove invalid docsting note about auto-assigned bom-ref valu…
Browse files Browse the repository at this point in the history
…es (#733)
  • Loading branch information
jkowalleck authored Oct 29, 2024
1 parent 543768e commit 5aa5787
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 9 deletions.
2 changes: 0 additions & 2 deletions cyclonedx/model/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -1185,8 +1185,6 @@ def bom_ref(self) -> BomRef:
An optional identifier which can be used to reference the component elsewhere in the BOM. Every bom-ref MUST be
unique within the BOM.
If a value was not provided in the constructor, a UUIDv4 will have been assigned.
Returns:
`BomRef`
"""
Expand Down
2 changes: 0 additions & 2 deletions cyclonedx/model/contact.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ def bom_ref(self) -> Optional[BomRef]:
An optional identifier which can be used to reference the component elsewhere in the BOM. Every bom-ref MUST be
unique within the BOM.
If a value was not provided in the constructor, a UUIDv4 will have been assigned.
Returns:
`BomRef`
"""
Expand Down
3 changes: 2 additions & 1 deletion cyclonedx/model/definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ def __repr__(self) -> str:
def bom_ref(self) -> BomRef:
"""
An optional identifier which can be used to reference the standard elsewhere in the BOM. Every bom-ref MUST be
unique within the BOM. If a value was not provided in the constructor, a UUIDv4 will have been assigned.
unique within the BOM.
Returns:
`BomRef`
"""
Expand Down
2 changes: 0 additions & 2 deletions cyclonedx/model/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ def bom_ref(self) -> BomRef:
An optional identifier which can be used to reference the service elsewhere in the BOM. Uniqueness is enforced
within all elements and children of the root-level bom element.
If a value was not provided in the constructor, a UUIDv4 will have been assigned.
Returns:
`BomRef` unique identifier for this Service
"""
Expand Down
2 changes: 0 additions & 2 deletions cyclonedx/model/vulnerability.py
Original file line number Diff line number Diff line change
Expand Up @@ -989,8 +989,6 @@ def bom_ref(self) -> BomRef:
"""
Get the unique reference for this Vulnerability in this BOM.
If a value was not provided in the constructor, a UUIDv4 will have been assigned.
Returns:
`BomRef`
"""
Expand Down

0 comments on commit 5aa5787

Please sign in to comment.