chore!: remove unused APIs from frappe.client (#17446)
chore: remove unused APIs from `frappe.client`
This commit is contained in:
parent
658f5b6aa7
commit
6597dedaed
1 changed files with 0 additions and 16 deletions
|
|
@ -281,17 +281,6 @@ def set_default(key, value, parent=None):
|
|||
frappe.clear_cache(user=frappe.session.user)
|
||||
|
||||
|
||||
@frappe.whitelist(methods=["POST", "PUT"])
|
||||
def make_width_property_setter(doc):
|
||||
"""Set width Property Setter
|
||||
|
||||
:param doc: Property Setter document with `width` property"""
|
||||
if isinstance(doc, str):
|
||||
doc = json.loads(doc)
|
||||
if doc["doctype"] == "Property Setter" and doc["property"] == "width":
|
||||
frappe.get_doc(doc).insert(ignore_permissions=True)
|
||||
|
||||
|
||||
@frappe.whitelist(methods=["POST", "PUT"])
|
||||
def bulk_update(docs):
|
||||
"""Bulk update documents
|
||||
|
|
@ -414,11 +403,6 @@ def attach_file(
|
|||
return file
|
||||
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_hooks(hook, app_name=None):
|
||||
return frappe.get_hooks(hook, app_name)
|
||||
|
||||
|
||||
@frappe.whitelist()
|
||||
def is_document_amended(doctype, docname):
|
||||
if frappe.permissions.has_permission(doctype):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue