def import_object(import_str, *args, **kwargs):
 return import_class(import_str)(*args, **kwargs)

def import_object ( import_str , * args , ** kwargs ) : return import_class ( import_str ) ( * args , ** kwargs )
import a class and return an instance of it .