quantlib.util.object_registry.ObjectRegistry.from_name

ObjectRegistry.from_name(name)

Returns an instance for the given code.