Passing lambda function from inside document object would keep reference to document alive. This means increasing memeory usage in bulk processing. Refer https://github.com/frappe/frappe/pull/17061 for example This also extends it to db.set_value |
||
|---|---|---|
| .. | ||
| utils | ||
| __init__.py | ||
| base_document.py | ||
| create_new.py | ||
| db_query.py | ||
| delete_doc.py | ||
| docfield.py | ||
| docstatus.py | ||
| document.py | ||
| dynamic_links.py | ||
| mapper.py | ||
| meta.py | ||
| naming.py | ||
| rename_doc.py | ||
| sync.py | ||
| virtual_doctype.py | ||
| workflow.py | ||