Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 618 for in (2.16 sec)

  1. tests/test_param_include_in_schema.py

    ):
        return {"hidden_cookie": hidden_cookie}
    
    
    @app.get("/hidden_header")
    async def hidden_header(
        hidden_header: Optional[str] = Header(default=None, include_in_schema=False),
    ):
        return {"hidden_header": hidden_header}
    
    
    @app.get("/hidden_path/{hidden_path}")
    async def hidden_path(hidden_path: str = Path(include_in_schema=False)):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    김명기 <******@****.***> 1707659385 +0900
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:49:45 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

        Using these `dependencies` in the *path operation decorator* you can make sure they are executed while avoiding editor/tooling errors.
    
        It might also help avoid confusion for new developers that see an unused parameter in your code and could think it's unnecessary.
    
    !!! info
        In this example we use invented custom headers `X-Key` and `X-Token`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

        Damit wird auch vermieden, neue Entwickler möglicherweise zu verwirren, die einen nicht verwendeten Parameter in Ihrem Code sehen und ihn für unnötig halten könnten.
    
    !!! info
        In diesem Beispiel verwenden wir zwei erfundene benutzerdefinierte Header `X-Key` und `X-Token`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:09:16 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    SwftAlpc <******@****.***> 1705337068 +0900
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 16:44:28 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Anton Yakovlev <******@****.***> 1712418235 +0300
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 06 15:43:55 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. tests/test_additional_responses_custom_model_in_callback.py

                                        "format": "uri",
                                    }
                                ),
                                "name": "callback_url",
                                "in": "query",
                            }
                        ],
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  8. tests/test_param_in_path_and_dependency.py

                            {
                                "required": True,
                                "schema": {"title": "User Id", "type": "integer"},
                                "name": "user_id",
                                "in": "path",
                            },
                        ],
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/dataclasses.md

    8. Notice that this *path operation function* uses regular `def` instead of `async def`.
    
        As always, in FastAPI you can combine `def` and `async def` as needed.
    
        If you need a refresher about when to use which, check out the section _"In a hurry?"_ in the docs about [`async` and `await`](../async.md#in-a-hurry){.internal-link target=_blank}.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. fastapi/security/http.py

    
    class HTTPAuthorizationCredentials(BaseModel):
        """
        The HTTP authorization credentials in the result of using `HTTPBearer` or
        `HTTPDigest` in a dependency.
    
        The HTTP authorization header value is split by the first space.
    
        The first part is the `scheme`, the second part is the `credentials`.
    
        For example, in an HTTP Bearer token scheme, the client will send a header
        like:
    
        ```
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 15:29:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
Back to top