Skip to content

Commit

Permalink
refactor: _as_xml()'s klass_qualified_name module string from class, …
Browse files Browse the repository at this point in the history
…not instalce`

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck committed Oct 2, 2023
1 parent 11b5896 commit 0499b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serializable/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def _as_xml(self: _T, view_: Optional[Type[_T]] = None, as_string: bool = True,
logging.debug(f'Dumping {self} to XML with view {view_}...')

this_e_attributes = {}
klass_qualified_name = f'{self.__module__}.{self.__class__.__qualname__}'
klass_qualified_name = f'{self.__class__.__module__}.{self.__class__.__qualname__}'
serializable_property_info = {k: v for k, v in sorted(
ObjectMetadataLibrary.klass_property_mappings.get(klass_qualified_name, {}).items(),
key=lambda i: i[1].xml_sequence)}
Expand Down

0 comments on commit 0499b59

Please sign in to comment.