diff --git a/frappe/utils/data.py b/frappe/utils/data.py index 5fa31b8498..8b56f9509e 100644 --- a/frappe/utils/data.py +++ b/frappe/utils/data.py @@ -2223,6 +2223,10 @@ def is_subset(list_a: list, list_b: list) -> bool: def generate_hash(*args, **kwargs) -> str: + """Generates a random hash using best available randomness source and returns it. + + You can optionally provide the `length` of the hash to be generated. Default is 56. + """ return frappe.generate_hash(*args, **kwargs)