(format_name)
return getattr(m, elements[-1])
File format class from qualified name.
File format class from qualified name.
File format class from qualified name .
def class_from_qualified_name(format_name):
    """ File format class from qualified name. """
    elements = format_name.split(".")
    m = import_module(".".join(elements[:-1]))
    return getattr(m, elements[-1])
def class_from_qualified_name ( format_name ) : elements = format_name . split ( "." ) m = import_module ( "." . join ( elements [ : - 1 ] ) ) return getattr ( m , elements [ - 1 ] )