def __init__(self, type=None, hashes=None):
        """
        Create an instance.

        Args:
            type (neo.Network.InventoryType):
            hashes (list): of bytearray items.
        """
        self.Type = type
        self.Hashes = hashes if hashes else []
def __init__ ( self , type = None , hashes = None ) : self . Type = type self . Hashes = hashes if hashes else [ ]
Create an instance.

        Args:
            type (neo.Network.InventoryType):
            hashes (list): of bytearray items.