def METHOD_NAME(overrides: str) -> Dict[str, Sampler]:
    """
    Given a string in the format of:
     module.name.something=sampler,other.module=other-sampler-with-param@0.5
    this function will parse the string a return a dictionary keyed by the module name
    with values containing setup OTEL Samplers configured according to the string.
    The supported sampler strings are:
        * "always_on"
        * "always_off"
        * "parentbased_always_on"
        * "parentbased_always_off"
        * "traceidratio@{float}"
        * "parentbased_traceidratio@{float}"
    And correspond to the OTEL samplers with the same names, see
    https://opentelemetry-python.readthedocs.io/en/latest/sdk/trace.sampling.html for
    more details.
    """
    overrides = overrides.strip().lower().split(",")
    per_module_sampler_overrides = {}
    for override in overrides:
        module_and_sampler = _try_get_sampler_and_module_from_str(override)
        if module_and_sampler is not None:
            per_module_sampler_overrides[
                module_and_sampler.module
            ] = module_and_sampler.sampler
    return per_module_sampler_overrides