def METHOD_NAME(resources=None):
    """
    Call either with a list of resources or a resource string.
    If ``None`` is given, get the resource string from the environment.
    """
    if isinstance(resources, str) or resources is None:
        resources = parse_resources(resources)
    from . import support
    support.use_resources = list(resources)
    support.gevent_has_setup_resources = True
    return resources