from zope.interface import implements
from interfaces import IEntity

class SparcEntity(object):
    """A basic Sparc entity"""
    implements(IEntity)
    
    def __init__(self, **kwargs):
        self._id = kwargs['id']
        self.name = kwargs['name']
        self.description = kwargs['description']
    
    def getId(self):
        return self._id
    
@@ -215,16 +215,27 @@
 gs%5B'id'%5D
+ # required
 %0A       
@@ -261,16 +261,46 @@
 %5B'name'%5D
+ if 'name' in kwargs else None
 %0A       
@@ -340,16 +340,83 @@
 iption'%5D
+ %5C%0A                            if 'description' in kwargs else None
 %0A    %0A  

make some kwargs optional...make sure not to blow up if they are not present