Skip to content

Commit 9d4f631

Browse files
committed
wip
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 5212cad commit 9d4f631

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cyclonedx/serialization/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
from ..exception.serialization import CycloneDxDeserializationException, SerializationOfUnexpectedValueException
3232
from ..model.bom_ref import BomRef
33-
from ..model.license import LicenseRepository
33+
from ..model.license import LicenseRepository, _LicenseRepositorySerializationHelper
3434

3535
if TYPE_CHECKING: # pragma: no cover
3636
from serializable import ViewType
@@ -93,23 +93,23 @@ class LicenseRepositoryHelper(BaseHelper):
9393
def json_normalize(cls, o: LicenseRepository, *,
9494
view: Optional[Type['ViewType']],
9595
**__: Any) -> Any:
96-
return LicenseRepository.json_normalize(o, view=view)
96+
return _LicenseRepositorySerializationHelper.json_normalize(o, view=view)
9797

9898
@classmethod
9999
def json_denormalize(cls, o: List[Dict[str, Any]],
100100
**__: Any) -> LicenseRepository:
101-
return LicenseRepository.json_denormalize(o)
101+
return _LicenseRepositorySerializationHelper.json_denormalize(o)
102102

103103
@classmethod
104104
def xml_normalize(cls, o: LicenseRepository, *,
105105
element_name: str,
106106
view: Optional[Type['ViewType']],
107107
xmlns: Optional[str],
108108
**__: 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)
110110

111111
@classmethod
112112
def xml_denormalize(cls, o: Element,
113113
default_ns: Optional[str],
114114
**__: Any) -> LicenseRepository:
115-
return LicenseRepository.xml_denormalize(o, default_ns)
115+
return _LicenseRepositorySerializationHelper.xml_denormalize(o, default_ns)

0 commit comments

Comments
 (0)