Merge pull request #31687 from frappe/revert-31666-add-slots

Revert "fix: add `__slots__` to NamespaceDict"
This commit is contained in:
Sagar Vora 2025-03-12 18:35:10 +05:30 committed by GitHub
commit 768202a2d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,7 +48,6 @@ SERVER_SCRIPT_FILE_PREFIX = "<serverscript>"
class NamespaceDict(frappe._dict):
"""Raise AttributeError if function not found in namespace"""
__slots__ = ()
__getattribute__ = dict.__getattribute__
def __getattr__(self, key):