def delete(self, blueprint_id, **kwargs): """ Delete blueprint by id """ with rest_utils.skip_nested_marshalling(): return super(BlueprintsId, self).delete(blueprint_id=blueprint_id, **kwargs)
def put(self, blueprint_id, **kwargs): """ Upload a blueprint (id specified) """ with rest_utils.skip_nested_marshalling(): return super(BlueprintsId, self).put(blueprint_id=blueprint_id, **kwargs)
def delete(self, blueprint_id, **kwargs): """ Delete blueprint by id """ with rest_utils.skip_nested_marshalling(): return super(BlueprintsId, self).delete( blueprint_id=blueprint_id, **kwargs)
def put(self, blueprint_id, **kwargs): """ Upload a blueprint (id specified) """ with rest_utils.skip_nested_marshalling(): return super(BlueprintsId, self).put(blueprint_id=blueprint_id, **kwargs)
def get(self, blueprint_id, _include=None, **kwargs): """ Get blueprint by id """ with rest_utils.skip_nested_marshalling(): return super(BlueprintsId, self).get(blueprint_id=blueprint_id, _include=_include, **kwargs)
def get(self, blueprint_id, _include=None, **kwargs): """ Get blueprint by id """ with rest_utils.skip_nested_marshalling(): return super(BlueprintsId, self).get(blueprint_id=blueprint_id, _include=_include, **kwargs)
def post(self, **kwargs): """ Upload a plugin """ visibility = rest_utils.get_visibility_parameter( optional=True, is_argument=True, valid_values=VisibilityState.STATES) with rest_utils.skip_nested_marshalling(): return super(Plugins, self).post(visibility=visibility)