def _get_request_config(request, _app_release_list, _app_release) -> Tuple[(Type[AsyncUnitApp], dict, Optional[Callable], list)]:
    opts = getattr(request, 'param', {})
    cls = opts.get('cls', AsyncUnitApp)
    kwargs = opts.get('kwargs', {})
    app_cls = opts.get('app_cls', None)
    app_list = None
    if request.config.getoption('kivy_app_release'):
        app_list = _app_release
    elif request.config.getoption('kivy_app_release_end'):
        app_list = _app_release_list
    return (cls, kwargs, app_cls, app_list)
def _get_request_config(request, _app_release_list, _app_release) -> Tuple[(Type[AsyncUnitApp], dict, Optional[Callable], list)]:
    opts = getattr(request, 'param', {})
    cls = opts.get('cls', AsyncUnitApp)
    kwargs = opts.get('kwargs', {})
    app_cls = opts.get('app_cls', None)
    app_list = None
    if request.config.getoption('kivy_app_release'):
        app_list = _app_release
    elif request.config.getoption('kivy_app_release_end'):
        app_list = _app_release_list
    return (cls, kwargs, app_cls, app_list)