ivandasch commented on a change in pull request #6:
URL: 
https://github.com/apache/ignite-python-thin-client/pull/6#discussion_r564434413



##########
File path: pyignite/datatypes/complex.py
##########
@@ -420,12 +454,18 @@ def build_header(cls):
 
     @classmethod
     def to_python(cls, ctype_object, *args, **kwargs):
+        type = getattr(ctype_object, "type", None)

Review comment:
       just
   ```
   if hasattr(ctype_object, "type"):
       return None
   .....
   ```
   Or reuse type below




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to