def create(self, **kwargs):
    new = {}
    for (key, value) in kwargs.items():
        if (key in CREATION_ATTRIBUTES):
            new[key] = value
        else:
            raise exc.InvalidAttribute()
    return self._create(self._path(), new)
def create(self, **kwargs):
    new = {}
    for (key, value) in kwargs.items():
        if (key in CREATION_ATTRIBUTES):
            new[key] = value
        else:
            raise exc.InvalidAttribute()
    return self._create(self._path(), new)