docs: generate_hash
This commit is contained in:
parent
db10004fe0
commit
837b6ff995
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue