Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1451 - 1460 of 2,275 for inf1 (0.02 seconds)

  1. docs/es/docs/tutorial/path-operation-configuration.md

    Puedes especificar la descripción del response con el parámetro `response_description`:
    
    {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[18] *}
    
    /// info | Información
    
    Ten en cuenta que `response_description` se refiere específicamente al response, mientras que `description` se refiere a la *path operation* en general.
    
    ///
    
    /// check | Revisa
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/path-operation-configuration.md

    ## Descrição da resposta { #response-description }
    
    Você pode especificar a descrição da resposta com o parâmetro `response_description`:
    
    {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[18] *}
    
    /// info | Informação
    
    Note que `response_description` se refere especificamente à resposta, a `description` se refere à *operação de rota* em geral.
    
    ///
    
    /// check | Verifique
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  3. docs/tr/docs/advanced/response-directly.md

    ///
    
    ## Bir `Response` Döndürme { #return-a-response }
    
    Aslında herhangi bir `Response` veya onun herhangi bir alt sınıfını döndürebilirsiniz.
    
    /// info | Bilgi
    
    `JSONResponse` zaten `Response`'un bir alt sınıfıdır.
    
    ///
    
    Bir `Response` döndürdüğünüzde, **FastAPI** bunu olduğu gibi doğrudan iletir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_body_multiple_params/test_tutorial002.py

    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "info": {
                    "title": "FastAPI",
                    "version": "0.1.0",
                },
                "openapi": "3.1.0",
                "paths": {
                    "/items/{item_id}": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_body_nested_models/test_tutorial005.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/items/{item_id}": {
                        "put": {
                            "parameters": [
                                {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  6. cmd/bucket-quota.go

    			}
    			ctx, done := context.WithTimeout(ctx, 2*time.Second)
    			defer done()
    
    			return loadDataUsageFromBackend(ctx, objAPI)
    		},
    	)
    }
    
    // GetBucketUsageInfo return bucket usage info for a given bucket
    func (sys *BucketQuotaSys) GetBucketUsageInfo(ctx context.Context, bucket string) BucketUsageInfo {
    	sys.Init(newObjectLayerFn())
    
    	dui, err := bucketStorageCache.GetWithCtx(ctx)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/custom-response.md

    * Import `HTMLResponse`.
    * Pass `HTMLResponse` as the parameter `response_class` of your *path operation decorator*.
    
    {* ../../docs_src/custom_response/tutorial002_py310.py hl[2,7] *}
    
    /// info
    
    The parameter `response_class` will also be used to define the "media type" of the response.
    
    In this case, the HTTP header `Content-Type` will be set to `text/html`.
    
    And it will be documented as such in OpenAPI.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  8. docs/ja/docs/advanced/additional-responses.md

    例えば、ステータスコード `404` と Pydantic モデル `Message` を持つ別のレスポンスを宣言するには、次のように書けます:
    
    {* ../../docs_src/additional_responses/tutorial001_py310.py hl[18,22] *}
    
    /// note | 備考
    
    `JSONResponse` を直接返す必要がある点に注意してください。
    
    ///
    
    /// info | 情報
    
    `model` キーは OpenAPI の一部ではありません。
    
    FastAPI はそこから Pydantic モデルを取得して JSON Schema を生成し、適切な場所に配置します。
    
    適切な場所は次のとおりです:
    
    - `content` キーの中。これは値として別の JSON オブジェクト(`dict`)を持ち、その中に次が含まれます:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10K bytes
    - Click Count (0)
  9. docs/ja/docs/advanced/behind-a-proxy.md

    ```console
    $ ./traefik --configFile=traefik.toml
    
    INFO[0000] Configuration loaded from file: /home/user/awesomeapi/traefik.toml
    ```
    
    </div>
    
    次に、`--root-path` オプションを指定してアプリを起動します:
    
    <div class="termy">
    
    ```console
    $ fastapi run main.py --forwarded-allow-ips="*" --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  10. docs/fr/docs/alternatives.md

    Il utilise Marshmallow pour effectuer la validation des données. Et il a été créé par les mêmes développeurs.
    
    C'est un outil formidable et je l'ai beaucoup utilisé aussi, avant d'avoir **FastAPI**.
    
    /// info
    
    Webargs a été créé par les développeurs de Marshmallow.
    
    ///
    
    /// check | A inspiré **FastAPI** à
    
    Disposer d'une validation automatique des données des requêtes entrantes.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 26.6K bytes
    - Click Count (0)
Back to Top