cyclonedx.model.dependency
==========================

.. py:module:: cyclonedx.model.dependency


Classes
-------

.. autoapisummary::

   cyclonedx.model.dependency.Dependency
   cyclonedx.model.dependency.Dependable


Module Contents
---------------

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

   Models a Dependency within a BOM.

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


   .. py:property:: ref
      :type: cyclonedx.model.bom_ref.BomRef



   .. py:property:: dependencies
      :type: SortedSet[Dependency]



   .. py:method:: dependencies_as_bom_refs() -> set[cyclonedx.model.bom_ref.BomRef]


.. py:class:: Dependable

   Bases: :py:obj:`abc.ABC`


   Dependable objects can be part of the Dependency Graph


   .. py:property:: bom_ref
      :type: cyclonedx.model.bom_ref.BomRef

      :abstractmethod:



