@staticmethod
    def auto(params):

        def subclasses(cls):
            return cls.__subclasses__() + [g for s in cls.__subclasses__() for g in subclasses(s)]

        for cls in subclasses(FormElement):
            if cls.recognizes(params):
                return cls(params)
        raise ValueError("Unrecognzied UI Component: %s" % (params,))
Returns node settings authorized by a given user settings object
dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py/FormElement.auto--crossover with--dataset/ETHPy150Open CenterForOpenScience/osf.io/scripts/dataverse/migrate_to_external_account.py/get_authorized_node_settings