3434
3535
3636class SchemaDeprecationWarning (DeprecationWarning , ABC ):
37+ """Base class for warnings about deprecated schema features."""
3738 SCHEMA_VERSION : ClassVar [SchemaVersion ]
3839
3940 @classmethod
@@ -47,28 +48,35 @@ def _warn(cls, deprecated: str, instead: Optional[str] = None,
4748
4849
4950class DeprecationWarning1Dot7 (SchemaDeprecationWarning ):
51+ """Class for warnings about deprecated schema features in CycloneDX 1.7"""
5052 SCHEMA_VERSION = SchemaVersion .V1_7
5153
5254
5355class DeprecationWarning1Dot6 (SchemaDeprecationWarning ):
56+ """Class for warnings about deprecated schema features in CycloneDX 1.6"""
5457 SCHEMA_VERSION = SchemaVersion .V1_6
5558
5659
5760class DeprecationWarning1Dot5 (SchemaDeprecationWarning ):
61+ """Class for warnings about deprecated schema features in CycloneDX 1.5"""
5862 SCHEMA_VERSION = SchemaVersion .V1_5
5963
6064
6165class DeprecationWarning1Dot4 (SchemaDeprecationWarning ):
66+ """Class for warnings about deprecated schema features in CycloneDX 1.4"""
6267 SCHEMA_VERSION = SchemaVersion .V1_4
6368
6469
6570class DeprecationWarning1Dot3 (SchemaDeprecationWarning ):
71+ """Class for warnings about deprecated schema features in CycloneDX 1.3"""
6672 SCHEMA_VERSION = SchemaVersion .V1_3
6773
6874
6975class DeprecationWarning1Dot2 (SchemaDeprecationWarning ):
76+ """Class for warnings about deprecated schema features in CycloneDX 1.2"""
7077 _schema_version_enum = SchemaVersion .V1_2
7178
7279
7380class DeprecationWarning1Dot1 (SchemaDeprecationWarning ):
81+ """Class for warnings about deprecated schema features in CycloneDX 1.1"""
7482 _schema_version_enum = SchemaVersion .V1_1
0 commit comments