diff --git a/frappe/app.py b/frappe/app.py index 1cbdca1361..ee4ba7d170 100644 --- a/frappe/app.py +++ b/frappe/app.py @@ -33,6 +33,8 @@ _sites_path = os.environ.get("SITES_PATH", ".") # If gc.freeze is done then importing modules before forking allows us to share the memory if frappe._tune_gc: + import pydantic + import frappe.boot import frappe.client import frappe.core.doctype.user.user