Example #1
0
    def create(self, **data):
        name = data.get('__name__')
        if not name:
            name = self.chooseName(**data)

        return wrap(self.container).create(
            self.tinfo.__uri__, name, **data)
Example #2
0
 def apply_changes(self, **data):
     wrap(self.context).update(**data)