Unverified Commit 69038ce0 authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Whilelist Transformers private method in DummyObject (#20681)

parent 9cc65f87
......@@ -1013,7 +1013,7 @@ class DummyObject(type):
"""
def __getattribute__(cls, key):
if key.startswith("_"):
if key.startswith("_") and key != "_from_config":
return super().__getattribute__(key)
requires_backends(cls, cls._backends)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment