getInstanceOf¶
- lsst.daf.butler.core.utils.getInstanceOf(typeOrName: Union[Type, str], *args: Any, **kwargs: Any) Any¶
 Given the type name or a type, instantiate an object of that type.
If a type name is given, an attempt will be made to import the type.
- Parameters:
 - Returns:
 - instance
object Instance of the requested type, instantiated with the provided parameters.
- instance