Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for _tool_ (0.03 sec)

  1. pyproject.toml

    [tool.mypy]
    plugins = ["pydantic.mypy"]
    strict = true
    
    [[tool.mypy.overrides]]
    module = "fastapi.concurrency"
    warn_unused_ignores = false
    ignore_missing_imports = true
    
    [[tool.mypy.overrides]]
    module = "fastapi.tests.*"
    ignore_missing_imports = true
    check_untyped_defs = true
    
    [[tool.mypy.overrides]]
    module = "docs_src.*"
    disallow_incomplete_defs = false
    disallow_untyped_defs = false
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_query_param_models/test_tutorial002.py

                "order_by": "updated_at",
                "tags": ["tag1", "tag2"],
                "tool": "plumbus",
            },
        )
        assert response.status_code == 422
        assert response.json() == snapshot(
            {
                "detail": [
                    {
                        "type": "extra_forbidden",
                        "loc": ["query", "tool"],
                        "msg": "Extra inputs are not permitted",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_header_param_models/test_tutorial002.py

        response = client.get(
            "/items/", headers=[("save-data", "true"), ("tool", "plumbus")]
        )
        assert response.status_code == 422, response.text
        assert response.json() == snapshot(
            {
                "detail": [
                    {
                        "type": "extra_forbidden",
                        "loc": ["header", "tool"],
                        "msg": "Extra inputs are not permitted",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_header_param_models/test_tutorial001.py

                        },
                    }
                ]
            }
        )
    
    
    def test_header_param_model_extra(client: TestClient):
        response = client.get(
            "/items/", headers=[("save-data", "true"), ("tool", "plumbus")]
        )
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "host": "testserver",
                "save_data": True,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_query_param_models/test_tutorial001.py

        response = client.get(
            "/items/",
            params={
                "limit": 10,
                "offset": 5,
                "order_by": "updated_at",
                "tags": ["tag1", "tag2"],
                "tool": "plumbus",
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "limit": 10,
            "offset": 5,
            "order_by": "updated_at",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_header_param_models/test_tutorial003.py

                    }
                ]
            }
        )
    
    
    def test_header_param_model_extra(client: TestClient):
        response = client.get(
            "/items/", headers=[("save_data", "true"), ("tool", "plumbus")]
        )
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "host": "testserver",
                "save_data": True,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

    One of the **biggest benefits** is that now you can create `Annotated` dependencies that are then shared by multiple *path operation functions*, this will allow you to **reduce** a lot of **code duplication** in your codebase, while keeping all the support from editors and tools.
    
    For example, you could have code like this:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top