code: def inflate(cls, node):
          
          # support lazy loading
          if isinstance(node, int):
              snode = cls()
              snode.id = node
          else:
              node_properties = _get_node_properties(node)
              props = {}
              for key, prop in cls.__all_properties__:
                  # map property name from database to object property
                  db_property = prop.db_property or key
  
                  if db_property in node_properties:
                      props[key] = prop.inflate(node_properties[db_property], node)
                  elif prop.has_default:
                      props[key] = prop.default_value()
                  else:
                      props[key] = None
  
              snode = cls(**props)
              snode.id = node.id
  
          return snode
docs: Inflate a raw neo4j_driver node to a neomodel node
          :param node:
          :return: node object