|
30 | 30 |
|
31 | 31 | from ..exception.serialization import CycloneDxDeserializationException, SerializationOfUnexpectedValueException |
32 | 32 | from ..model.bom_ref import BomRef |
33 | | -from ..model.license import LicenseRepository |
| 33 | +from ..model.license import LicenseRepository, _LicenseRepositorySerializationHelper |
34 | 34 |
|
35 | 35 | if TYPE_CHECKING: # pragma: no cover |
36 | 36 | from serializable import ViewType |
@@ -93,23 +93,23 @@ class LicenseRepositoryHelper(BaseHelper): |
93 | 93 | def json_normalize(cls, o: LicenseRepository, *, |
94 | 94 | view: Optional[Type['ViewType']], |
95 | 95 | **__: Any) -> Any: |
96 | | - return LicenseRepository.json_normalize(o, view=view) |
| 96 | + return _LicenseRepositorySerializationHelper.json_normalize(o, view=view) |
97 | 97 |
|
98 | 98 | @classmethod |
99 | 99 | def json_denormalize(cls, o: List[Dict[str, Any]], |
100 | 100 | **__: Any) -> LicenseRepository: |
101 | | - return LicenseRepository.json_denormalize(o) |
| 101 | + return _LicenseRepositorySerializationHelper.json_denormalize(o) |
102 | 102 |
|
103 | 103 | @classmethod |
104 | 104 | def xml_normalize(cls, o: LicenseRepository, *, |
105 | 105 | element_name: str, |
106 | 106 | view: Optional[Type['ViewType']], |
107 | 107 | xmlns: Optional[str], |
108 | 108 | **__: Any) -> Optional[Element]: |
109 | | - return LicenseRepository.xml_normalize(o, element_name=element_name, view=view, xmlns=xmlns) |
| 109 | + return _LicenseRepositorySerializationHelper.xml_normalize(o, element_name=element_name, view=view, xmlns=xmlns) |
110 | 110 |
|
111 | 111 | @classmethod |
112 | 112 | def xml_denormalize(cls, o: Element, |
113 | 113 | default_ns: Optional[str], |
114 | 114 | **__: Any) -> LicenseRepository: |
115 | | - return LicenseRepository.xml_denormalize(o, default_ns) |
| 115 | + return _LicenseRepositorySerializationHelper.xml_denormalize(o, default_ns) |
0 commit comments