text string | label_name string | labels int64 |
|---|---|---|
import frappe
def execute():
frappe.reload_doc("core", "doctype", "scheduled_job_type")
if frappe.db.exists("Scheduled Job Type", "repost_item_valuation.repost_entries"):
frappe.db.set_value("Scheduled Job Type", "repost_item_valuation.repost_entries", "stopped", 0)
| Python | 1 |
ection('bugs').document(bug_id).set(bug_data)
return jsonify({"message": "Bug updated successfully"}), 200
@app.route('/deletebug', methods=['DELETE'])
def delete_bug():
api_key = request.args.get('api_key')
if not api_key:
return jsonify({"error": "API key is required"}), 400
# Ver... | Python | 1 |
import ctypes
from rotypes import GUID, REFGUID, HRESULT
import json
from rotypes.inspectable import CoTaskMemFree
HCN_NETWORK = ctypes.c_void_p
HCN_ENDPOINT = ctypes.c_void_p
computenetwork = ctypes.windll.computenetwork
HcnEnumerateNetworks = computenetwork.HcnEnumerateNetworks
HcnEnumerateNetworks.argtypes = (cty... | Python | 1 |
},
..
} => {
println!("Setting cursor to \"{:?}\"", CURSORS[cursor_idx]);
window.set_cursor_icon(CURSORS[cursor_idx]);
if cursor_idx < CURSORS.len() - 1 {
cursor_idx += 1;
} else {
... | Rust | 0 |
= [
(Let, "let"),
(Ident, "five"),
(Assign, "="),
(Int, "5"),
(Semicolon, ";"),
(Let, "let"),
(Ident, "ten"),
(Assign, "="),
(Int, "10"),
(Semicolon, ";"),
(Let, "let"),
(Ident, "add"),
(Assign, "="),
(Funct... | Rust | 0 |
from ai_infra.graph.models import Edge, ConditionalEdge
from ai_infra.graph.core import CoreGraph
__all__ = [
"CoreGraph",
"Edge",
"ConditionalEdge",
] | Python | 1 |
nt": string, - id of credential in the wallet
/// "attrs": {"key1":"raw_value1", "key2":"raw_value2"}, - credential attributes
/// "schema_id": string, - identifier of schema
/// "cred_def_id": string, - identifier of credential definition
/// "rev_reg_id": Optional<string>, - identifier... | Rust | 0 |