graphit/graph_io/io_pydata_format.py
def serialize(self, **kwargs):
        """
        Serialize a node as Python list
        
        # TODO: Serialization of children when switching to 'return_nids = True'
        # Refactor ORM to properly deal with the inherit = False option and make
        # that an option you can set for every registered node/edge.
        
        :param allow_none:  serialize None values
        :type allow_none:   :py:bool
        
        :return:            list name (node key) and list
        """

        new = []
        for cid in self.children(return_nids=True):
            child_node = self.origin.getnodes(cid)
            
            key, value = child_node.serialize(**kwargs)
            if not kwargs.get('allow_none') and value is None:
                continue
            
            new.append(value)
        
        return self.get(self.key_tag), new

        Serialize a node as Python list
        
        # TODO: Serialization of children when switching to 'return_nids = True'
        # Refactor ORM to properly deal with the inherit = False option and make
        # that an option you can set for every registered node/edge.
        
        :param allow_none:  serialize None values
        :type allow_none:   :py:bool
        
        :return:            list name (node key) and list
        
Serialize a node as Python list
TODO: Serialization of children when switching to 'return_nids = True'
Refactor ORM to properly deal with the inherit = False option and make
that an option you can set for every registered node/edge.
Serialize a node as Python list TODO : Serialization of children when switching to ' return_nids = True ' Refactor ORM to properly deal with the inherit = False option and make that an option you can set for every registered node / edge .
def serialize(self, **kwargs):
        new = []
        for cid in self.children(return_nids=True):
            child_node = self.origin.getnodes(cid)
            key, value = child_node.serialize(**kwargs)
            if not kwargs.get('allow_none') and value is None:
                continue
            new.append(value)
        return self.get(self.key_tag), new
def serialize ( self , ** kwargs ) : new = [ ] for cid in self . children ( return_nids = True ) : child_node = self . origin . getnodes ( cid ) key , value = child_node . serialize ( ** kwargs ) if not kwargs . get ( 'allow_none' ) and value is None : continue new . append ( value ) return self . get ( self . key_tag ) , new
Serialize a node as Python list
 TODO: Serialization of children when switching to 'return_nids = True'
 Refactor ORM to properly deal with the inherit = False option and make
 that an option you can set for every registered node/edge.
Serialize a node as Python list TODO : Serialization of children when switching to ' return_nids = True ' Refactor ORM to properly deal with the inherit = False option and make that an option you can set for every registered node / edge .
"""
        Serialize a node as Python list
        
        # TODO: Serialization of children when switching to 'return_nids = True'
        # Refactor ORM to properly deal with the inherit = False option and make
        # that an option you can set for every registered node/edge.
        
        :param allow_none:  serialize None values
        :type allow_none:   :py:bool
        
        :return:            list name (node key) and list
        """
list name (node key) and list
list name ( node key ) and list
self
allow_none
serialize None values
serialize None values