File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change 2626from py_serializable .helpers import BaseHelper
2727from sortedcontainers import SortedSet
2828
29- try :
30- from warnings import deprecated
31- except ImportError :
32- from typing_extensions import deprecated
33-
3429from .._internal .compare import ComparableTuple as _ComparableTuple
3530from ..schema import SchemaVersion
3631from ..schema .schema import SchemaVersion1Dot4 , SchemaVersion1Dot5 , SchemaVersion1Dot6
4237 from py_serializable import ObjectMetadataLibrary , ViewType
4338
4439
45- @deprecated (
46- '`Tool` is deprecated from CycloneDX v1.5 onwards. '
47- 'This class provides a compatibility layer for backward compatibility '
48- 'Use `Component` or `Service` instead, and store data under '
49- '`tools.components` or `tools.services`.'
50- )
5140@serializable .serializable_class
5241class Tool :
5342 """
You can’t perform that action at this time.
0 commit comments