def METHOD_NAME():
    request_params = dict(
        viewer_key="simcore/services/dynamic/fooo",
        viewer_version="1.0.0",
    )
    file_params = parse_obj_or_none(FileParams, request_params)
    assert not file_params
    service_params = parse_obj_or_none(ServiceParams, request_params)
    assert service_params
    file_and_service_params = parse_obj_or_none(
        ServiceAndFileParams | FileParams | ServiceParams, request_params
    )
    assert isinstance(file_and_service_params, ServiceParams)