mirror of
https://github.com/microsoft/autogen.git
synced 2025-09-21 14:13:58 +00:00
Fix AttributeError: readonly attribute for Python 3.10.4
This commit is contained in:
parent
cfed657812
commit
46f80dfa16
@ -39,8 +39,8 @@ def flamlize_estimator(super_class, name: str, task: str, alternatives=None):
|
|||||||
self._params = params
|
self._params = params
|
||||||
super().__init__(**params)
|
super().__init__(**params)
|
||||||
|
|
||||||
@wraps(super_class._get_param_names)
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@wraps(super_class._get_param_names)
|
||||||
def _get_param_names(cls):
|
def _get_param_names(cls):
|
||||||
return super_class._get_param_names()
|
return super_class._get_param_names()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user