This is an automated email from the ASF dual-hosted git repository. isapego pushed a commit to branch ignite-13863 in repository https://gitbox.apache.org/repos/asf/ignite-python-thin-client.git
commit bf76b27d30c13b6e286c6f38e84973bddb6807b1 Author: Igor Sapego <igors...@gmail.com> AuthorDate: Thu Jan 28 01:19:27 2021 +0300 IGNITE-13863: Minor fix --- pyignite/datatypes/complex.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyignite/datatypes/complex.py b/pyignite/datatypes/complex.py index 2d4de53..7fa6bc2 100644 --- a/pyignite/datatypes/complex.py +++ b/pyignite/datatypes/complex.py @@ -454,10 +454,10 @@ class MapObject(Map): @classmethod def to_python(cls, ctype_object, *args, **kwargs): - type = getattr(ctype_object, "type", None) - if type is None: + typ = getattr(ctype_object, "type", None) + if typ is None: return None - return ctype_object.type, super().to_python( + return typ, super().to_python( ctype_object, *args, **kwargs )