mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04:00
Fix AttributeError: readonly attribute for Python 3.10.4
This commit is contained in:
@@ -39,8 +39,8 @@ def flamlize_estimator(super_class, name: str, task: str, alternatives=None):
|
||||
self._params = params
|
||||
super().__init__(**params)
|
||||
|
||||
@wraps(super_class._get_param_names)
|
||||
@classmethod
|
||||
@wraps(super_class._get_param_names)
|
||||
def _get_param_names(cls):
|
||||
return super_class._get_param_names()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user