# cyclonedx.model.dependency

## Classes

`Dependency` | Models a Dependency within a BOM.
`Dependable` | Dependable objects can be part of the Dependency Graph

## Module Contents

class cyclonedx.model.dependency.Dependency(ref: cyclonedx.model.bom_ref.BomRef, dependencies: collections.abc.Iterable[Dependency] | None = None)

  Models a Dependency within a BOM.

  Note

  See https://cyclonedx.org/docs/1.7/xml/#type_dependencyType

  property ref: cyclonedx.model.bom_ref.BomRef
  property dependencies: SortedSet[Dependency]
  dependencies_as_bom_refs() → set[cyclonedx.model.bom_ref.BomRef]

class cyclonedx.model.dependency.Dependable

  Bases: `abc.ABC`

  Dependable objects can be part of the Dependency Graph

  property bom_ref: cyclonedx.model.bom_ref.BomRef
    Abstractmethod: