failed NO_PATCH NO_PATCH UNSUBMITTED empty_patch(None) · None tool calls · 0 s · fastapi/fastapi
(not found in data/tasks.jsonl)
| # | Tool | Arguments | Result |
|---|---|---|---|
| No trace captured. | |||
==================================== ERRORS ====================================
___________________ ERROR collecting tests/test_annotated.py ___________________
tests/test_annotated.py:11: in <module>
@app.get("/default")
^^^^^^^^^^^^^^^^^^^
fastapi/routing.py:921: in decorator
self.add_api_route(
fastapi/routing.py:860: in add_api_route
route = route_class(
fastapi/routing.py:490: in __init__
self.dependant = get_dependant(path=self.path_format, call=self.endpoint)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
fastapi/dependencies/utils.py:290: in get_dependant
add_param_to_fields(field=param_field, dependant=dependant)
fastapi/dependencies/utils.py:470: in add_param_to_fields
if field_info.in_ == params.ParamTypes.path:
^^^^^^^^^^^^^^
E AttributeError: 'FieldInfo' object has no attribute 'in_'
=============================== warnings summary ===============================
../../../../../../Users/jp/repos/kaggle-gemini-coding-agent-post-training/.envs/overlays/starlette-0.27.0-py3-none-any/starlette/formparsers.py:10
/Users/jp/repos/kaggle-gemini-coding-agent-post-training/.envs/overlays/starlette-0.27.0-py3-none-any/starlette/formparsers.py:10: PendingDeprecationWarning: Please use `import python_multipart` instead.
import multipart
../../../../../../Users/jp/repos/kaggle-gemini-coding-agent-post-training/.envs/overlays/starlette-0.27.0-py3-none-any/starlette/testclient.py:29
/Users/jp/repos/kaggle-gemini-coding-agent-post-training/.envs/overlays/starlette-0.27.0-py3-none-any/starlette/testclient.py:29: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
[], typing.ContextManager[anyio.abc.BlockingPortal]
../../../../../../Users/jp/repos/kaggle-gemini-coding-agent-post-training/.envs/fastapi/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py:2274
/Users/jp/repos/kaggle-gemini-coding-agent-post-training/.envs/fastapi/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py:2274: UnsupportedFieldAttributeWarning: The 'alias' attribute with value 'foo' was provided to the `Field()` function, which has no effect in the context it was used. 'alias' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type.
warnings.warn(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
3 warnings, 1 error in 0.64s