Add a delete mandate request to tree
482973
public function addDeleteMandateRequest(string $payerNr): void
    {
        $this->mandates[] = new Record(
            'DeleteMandateRequest',
            $this->payeeBgNode,
            new Number(0, $payerNr, 'PayerNumber'),
            new Text(0, str_pad('', 52))
        );
    }
218459
def c_delete(api, args, verbose=False):
    
    obj = api.get_object(args['<URL>'].split('/')[-1])
    obj.delete()
    if verbose:
        return ['deleted object at', api.url(obj)]
1308455
def delete(self, endpoint: str, **kwargs) -> dict:
        """"""

        return self._request('DELETE', endpoint, **kwargs)
279588
public function postDeleteMessageAction(ServerRequestInterface $request, Tree $tree): ResponseInterface
    {
        $message_ids = (array) $request->get('message_id', []);

        DB::table('message')
            ->where('user_id', '=', Auth::id())
            ->whereIn('message_id', $message_ids)
            ->delete();

        if ($request->get('ctype') === 'user') {
            $url = route('user-page', ['ged' => $tree->name()]);
        } else {
            $url = route('tree-page', ['ged' => $tree->name()]);
        }

        return redirect($url);
    }
382657
def trigger_delete_by_id(self, id, **kwargs):
        ""
        api_path = "/api/v2/triggers/{id}.json"
        api_path = api_path.format(id=id)
        return self.call(api_path, method="DELETE", **kwargs)
946900
def add_add_del_on_list(key, to_add, to_remove)
      if (@is_commit)
        raise RuntimeError.new('No further request supported after a commit!')
      end
      @requests << {'add_del_on_list' => {'key' => key, 'add' => to_add, 'del'=> to_remove}}
      self
    end
1231955
def delete(self, uri, query=None, **kwargs):
        """"""
        return self.fetch('delete', uri, query, **kwargs)
470333
function CommandDispatcher (tree, definition, commandBumper) {
  if (!tree || !_.isObject(tree) || !_.isFunction(tree.getCommandHandler)) {
    var err = new Error('Please pass a valid tree!');
    debug(err);
    throw err;
  }

  if (!definition || !_.isObject(definition)) {
    var err = new Error('Please pass a valid command definition!');
    debug(err);
    throw err;
  }

  this.tree = tree;
  this.definition = definition;

  this.commandBumper = commandBumper;
}
324947
def delete(self, request, bot_id, id, format=None):
        
        return super(StateDetail, self).delete(request, bot_id, id, format)
1157903
def delete(path, options={}, format=format)
      respond request(:delete, path, options, format)
    end
766014
public function postAdminDeleteAction(ServerRequestInterface $request, Tree $tree): ResponseInterface
    {
        $block_id = (int) $request->get('block_id');

        DB::table('block_setting')->where('block_id', '=', $block_id)->delete();

        DB::table('block')->where('block_id', '=', $block_id)->delete();

        $url = route('module', [
            'module' => $this->name(),
            'action' => 'Admin',
            'ged'    => $tree->name(),
        ]);

        return redirect($url);
    }
637466
function __delPath(jsonSchema, path) {
  var jss = findPath(jsonSchema, path);
  delete jss.baseCont[jss.prop];
  if (jss.parent.required && jss.parent.required.length) {
    jss.parent.required = jss.parent.required.filter(f => f != jss.prop)
  }
  if (Object.keys(jss.baseCont).length === 0) {
    __delPath(jsonSchema, path.split('.').slice(0, -1).join('.'));
  }
}
426093
def delete(self, service, path, **kwargs):
        
        return self.make_request(Methods.DELETE, service, path, **kwargs)
226469
function detree(items, children, parent_id) {

		var item,
		    i;

		for (i = 0; i < children.length; i++) {

			item = children[i];

			if (parent_id) {
				item.parent = parent_id;
			}

			items.push(item);

			if (item.children) {
				detree(items, item.children, item.id);
			}

			delete item.children;
		}
	}
432848
def _DeleteClientActionRequest(self, to_delete, cursor=None):
    """"""
    query = "DELETE FROM client_action_requests WHERE "
    conditions = []
    args = []

    for client_id, flow_id, request_id in to_delete:
      conditions.append("(client_id=%s AND flow_id=%s AND request_id=%s)")
      args.append(db_utils.ClientIDToInt(client_id))
      args.append(db_utils.FlowIDToInt(flow_id))
      args.append(request_id)

    query += " OR ".join(conditions)
    cursor.execute(query, args)
1261796
function(requesters, parent) {
			if (this.satisfied()) { return null; }
			requesters = requesters || {};
			var id = this.id;
			if (requesters[id] && !parent.allowed[id]) {
				return [parent, this];
			}

			requesters[id] = this;

			var depends = this.depends;
			for(var name in depends) {
				if (!depends.hasOwnProperty(name)) { continue; }
				var depend = depends[name],
					result = depend.cycle(requesters, this);
				if (result) { return result; }
			}

			delete requesters[id];
			return null;
		}
961772
def force_delete(func, path, exc_info):
    
    os.chmod(path, stat.S_IWRITE)
    func(path)