From 5be83f7df82477459923fb8d7f6e6fa1706fc79e Mon Sep 17 00:00:00 2001 From: Sagar Vora Date: Wed, 12 Mar 2025 18:34:17 +0530 Subject: [PATCH] Revert "fix: add `__slots__` to NamespaceDict" --- frappe/utils/safe_exec.py | 1 - 1 file changed, 1 deletion(-) diff --git a/frappe/utils/safe_exec.py b/frappe/utils/safe_exec.py index a99899546a..4a77b46299 100644 --- a/frappe/utils/safe_exec.py +++ b/frappe/utils/safe_exec.py @@ -48,7 +48,6 @@ SERVER_SCRIPT_FILE_PREFIX = "" class NamespaceDict(frappe._dict): """Raise AttributeError if function not found in namespace""" - __slots__ = () __getattribute__ = dict.__getattribute__ def __getattr__(self, key):