← mined_baseline

fastapi_14874

failed NO_PATCH NO_PATCH UNSUBMITTED empty_patch(None) · None tool calls · 0 s · fastapi/fastapi

Task input

(not found in data/tasks.jsonl)

Tool calls (0)

#ToolArgumentsResult
No trace captured.

Test output

show
==================================== ERRORS ====================================
_________ ERROR collecting tests/test_nested_annotated_in_sequence.py __________
tests/test_nested_annotated_in_sequence.py:14: in <module>
    @app.get("/")
     ^^^^^^^^^^^^
fastapi/routing.py:2961: in decorator
    self.add_api_route(
fastapi/routing.py:2896: in add_api_route
    route = route_class(
fastapi/routing.py:1185: in __init__
    _populate_api_route_state(
fastapi/routing.py:1096: in _populate_api_route_state
    ) = _build_dependant_with_parameterless_dependencies(
fastapi/routing.py:853: in _build_dependant_with_parameterless_dependencies
    dependant = get_dependant(path=path, call=call, scope="function")
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
fastapi/dependencies/utils.py:296: in get_dependant
    param_details = analyze_param(
fastapi/dependencies/utils.py:542: in analyze_param
    is_scalar_field(field)
E   AssertionError: Query parameter 'foo' must be one of the supported types
=============================== warnings summary ===============================
../../../../../../Users/jp/repos/kaggle-gemini-coding-agent-post-training/.envs/overlays/starlette-1.6.0-py3-none-any/starlette/testclient.py:53
  /Users/jp/repos/kaggle-gemini-coding-agent-post-training/.envs/overlays/starlette-1.6.0-py3-none-any/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
    _PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
1 warning, 1 error in 0.63s