Create a new Entry object.
        
        The group which should hold the entry is needed.

        image must be an unsigned int >0, group a Group.
        
        :param group: The associated group.
        :keyword title: 
        :keyword icon:
        :keyword url:
        :keyword username:
        :keyword password:
        :keyword notes:
        :keyword expires: Expiration date (if None, entry will never expire). 
        :type expires: datetime
         
        :return: The new entry.
        :rtype: :class:`keepassdb.model.Entry`

def create_entry(self, group, **kwargs):
        """
        Create a new Entry object.
        
        The group which should hold the entry is needed.

        image must be an unsigned int >0, group a Group.
        
        :param group: The associated group.
        :keyword title: 
        :keyword icon:
        :keyword url:
        :keyword username:
        :keyword password:
        :keyword notes:
        :keyword expires: Expiration date (if None, entry will never expire). 
        :type expires: datetime
         
        :return: The new entry.
        :rtype: :class:`keepassdb.model.Entry`
        """
        if group not in self.groups:
            raise ValueError("Group doesn't exist / is not bound to this database.")
                 
        uuid = binascii.hexlify(get_random_bytes(16))
        
        entry = Entry(uuid=uuid,
                      group_id=group.id,
                      created=util.now(),
                      modified=util.now(),
                      accessed=util.now(),
                      **kwargs)
        
        self.entries.append(entry)
        group.entries.append(entry)
        
        return entry