These classes import from a variety of file types across multiple modules as directed by a factory function as well as a deprecated .from_file() method. The result of these import functions is a dictionary and this dictionary is passed through an initialization decorator to maintain backward compatibility for deprecated initializations.
These import functions should actually return a typed dict (or at least something better than a dict[str, Any]) but it's not really reasonable to do this until we can remove the backward compatibility wrappers around deprecated initialization.
These classes import from a variety of file types across multiple modules as directed by a factory function as well as a deprecated
.from_file()
method. The result of these import functions is a dictionary and this dictionary is passed through an initialization decorator to maintain backward compatibility for deprecated initializations.These import functions should actually return a typed dict (or at least something better than a
dict[str, Any]
) but it's not really reasonable to do this until we can remove the backward compatibility wrappers around deprecated initialization.