Skip to content
3 changes: 3 additions & 0 deletions cyclonedx/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ class DataClassification:
DataClassification might be deprecated since CycloneDX 1.5, but it is not deprecated in this library.
In fact, this library will try to provide a compatibility layer if needed.

.. deprecated:: next

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

class is NOT deprecated - see 2 lines above

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The deprecation note was added while addressing earlier backwards-compatibility feedback.

Deprecated since CycloneDX 1.5. Use :class:`cyclonedx.model.service.Data` instead.

.. note::
See the CycloneDX Schema for dataClassificationType:
https://cyclonedx.org/docs/1.7/xml/#type_dataClassificationType
Expand Down
Loading