Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 170 for IN (0.03 seconds)

  1. tests/test_dependency_overrides.py

        return {"in": "main-depends", "params": commons}
    
    
    @app.get("/decorator-depends/", dependencies=[Depends(common_parameters)])
    async def decorator_depends():
        return {"in": "decorator-depends"}
    
    
    @router.get("/router-depends/")
    async def router_depends(commons: dict = Depends(common_parameters)):
        return {"in": "router-depends", "params": commons}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  2. fastapi/_compat/v2.py

        dict[str, Any],
    ]:
        old_name_to_new_name_map = {}
        for field_key, schema in field_mapping.items():
            model = field_key[0].type_
            if model not in model_name_map or "$ref" not in schema:
                continue
            new_name = model_name_map[model]
            old_name = schema["$ref"].split("/")[-1]
            if old_name in {f"{new_name}-Input", f"{new_name}-Output"}:
                continue
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  3. tests/test_application.py

        assert response.status_code == 200, response.text
        assert response.headers["content-type"] == "text/html; charset=utf-8"
        assert "swagger-ui-dist" in response.text
        assert (
            "oauth2RedirectUrl: window.location.origin + '/docs/oauth2-redirect'"
            in response.text
        )
    
    
    def test_swagger_ui_oauth2_redirect():
        response = client.get("/docs/oauth2-redirect")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 51.9K bytes
    - Click Count (0)
  4. fastapi/datastructures.py

            To be awaitable, compatible with async, this is run in threadpool.
            """
            return await super().read(size)
    
        async def seek(
            self,
            offset: Annotated[
                int,
                Doc(
                    """
                    The position in bytes to seek to in the file.
                    """
                ),
            ],
        ) -> None:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_bigger_applications/test_main.py

                                "name": "username",
                                "in": "path",
                            },
                            {
                                "required": True,
                                "schema": {"title": "Token", "type": "string"},
                                "name": "token",
                                "in": "query",
                            },
                        ],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  6. fastapi/routing.py

    
    class APIRouter(routing.Router):
        """
        `APIRouter` class, used to group *path operations*, for example to structure
        an app in multiple files. It would then be included in the `FastAPI` app, or
        in another `APIRouter` (ultimately included in the app).
    
        Read more about it in the
        [FastAPI docs for Bigger Applications - Multiple Files](https://fastapi.tiangolo.com/tutorial/bigger-applications/).
    
        ## Example
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  7. docs/en/docs/release-notes.md

    And with this, support for **Pydantic v1 is now deprecated** and will be **removed** from FastAPI in a future version soon.
    
    **Note**: have in mind that the Pydantic team already stopped supporting Pydantic v1 for recent versions of Python, starting with Python 3.14.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:06:15 GMT 2025
    - 586.7K bytes
    - Click Count (0)
  8. scripts/translate.py

    The original content is written in Markdown, write the translation in Markdown as well.
    
    The original content will be surrounded by triple percentage signs («%%%»). Do not include the triple percentage signs in the translation.
    
    
    ### Technical terms in English
    
    For technical terms in English that don't have a common translation term, use the original term in English.
    
    
    ### Content of code snippets
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  9. docs/de/llm-prompt.md

    Example:
    
        Source (English):
    
            «««
            # FastAPI in Containers - Docker { #fastapi-in-containers-docker }
            »»»
    
        Translate with (German) – notice the dash:
    
            «««
            # FastAPI in Containern – Docker { #fastapi-in-containers-docker }
            »»»
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 09:39:53 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  10. docs/zh-hant/llm-prompt.md

    1) Keep the admonition keyword in English (do not translate `note`, `tip`, etc.).
    2) Many Traditional Chinese docs currently omit titles in `///` blocks; that is OK.
    3) If a generic title is present, prefer these canonical titles:
    
    - `/// note | 注意`
    
    Notes:
    
    - `details` blocks exist; keep `/// details` as-is and translate only the title after `|`.
    - Example canonical titles used in existing docs:
      - `/// details | 上述指令的含義`
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:49:46 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top