File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ class DataClassification:
7373 """
7474 This is our internal representation of the `dataClassificationType` complex type within the CycloneDX standard.
7575
76+ DataClassification might be deprecated since CycloneDX 1.5, but it is not deprecated in this library.
77+ In fact, this library will try to provide a compatibility layer if needed.
78+
7679 .. note::
7780 See the CycloneDX Schema for dataClassificationType:
7881 https://cyclonedx.org/docs/1.6/xml/#type_dataClassificationType
Original file line number Diff line number Diff line change @@ -261,10 +261,6 @@ def data(self) -> 'SortedSet[DataClassification]':
261261
262262 @data .setter
263263 def data (self , data : Iterable [DataClassification ]) -> None :
264- if data :
265- warn ('`@.data` is deprecated from CycloneDX v1.5 onwards. '
266- 'Alternative implementation is planned for future versions.' ,
267- DeprecationWarning )
268264 self ._data = SortedSet (data )
269265
270266 @property
You can’t perform that action at this time.
0 commit comments