Fix entity property cache creation arguments (#107221)

This commit is contained in:
Petru Paler 2024-01-05 08:18:25 +00:00 committed by Franck Nijhof
parent 4ade5e46d9
commit c3963b26e7
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -292,7 +292,7 @@ class CachedProperties(type):
Pop cached_properties and store it in the namespace.
"""
namespace["_CachedProperties__cached_properties"] = cached_properties or set()
return super().__new__(mcs, name, bases, namespace)
return super().__new__(mcs, name, bases, namespace, **kwargs)
def __init__(
cls,