Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1021 - 1030 of 1,080 for Str (0.06 sec)

  1. docs/pt/docs/tutorial/first-steps.md

    ///
    
    ### Passo 5: retorne o conteúdo
    
    ```Python hl_lines="8"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Você pode retornar um `dict`, `list` e valores singulares como `str`, `int`, etc.
    
    Você também pode devolver modelos Pydantic (você verá mais sobre isso mais tarde).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/handling-errors.md

    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | "Dica"
    
    Quando você lançar um `HTTPException`, você pode passar qualquer valor convertível em JSON como parâmetro de `detail`, e não apenas `str`.
    
    Você pode passar um `dict` ou um `list`, etc.
    Esses tipos de dados são manipulados automaticamente pelo **FastAPI** e convertidos em JSON.
    
    ///
    
    ## Adicione headers customizados
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/body-multiple-params.md

        },
        "importance": 5
    }
    ```
    
    同样的,它将转换数据类型,校验,生成文档等。
    
    ## 多个请求体参数和查询参数
    
    当然,除了请求体参数外,你还可以在任何需要的时候声明额外的查询参数。
    
    由于默认情况下单一值被解释为查询参数,因此你不必显式地添加 `Query`,你可以仅执行以下操作:
    
    ```Python
    q: str = None
    ```
    
    比如:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="27"
    {!> ../../docs_src/body_multiple_params/tutorial004_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/body-multiple-params.md

    }
    ```
    
    繰り返しになりますが、データ型の変換、検証、文書化などを行います。
    
    ## 複数のボディパラメータとクエリ
    
    もちろん、ボディパラメータに加えて、必要に応じて追加のクエリパラメータを宣言することもできます。
    
    デフォルトでは、単数値はクエリパラメータとして解釈されるので、明示的に `Query` を追加する必要はありません。
    
    ```Python
    q: str = None
    ```
    
    以下において:
    
    ```Python hl_lines="27"
    {!../../docs_src/body_multiple_params/tutorial004.py!}
    ```
    
    /// info | "情報"
    
    `Body`もまた、後述する `Query` や `Path` などと同様に、すべての検証パラメータとメタデータパラメータを持っています。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/popper.min.js.map

    {modifiers~offset}\n * @private\n * @argument {String} str - Value + unit string\n * @argument {String} measurement - `height` or `width`\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @returns {Number|String}\n * Value in pixels, or original string if no values were extracted\n */\nexport function toValue(str, measurement, popperOffsets, referenceOffsets) {\n  // separate value from unit\n  const split = str.match(/((?:\\-|\\+)?\\d*\\.?\\d*)(.*)/);\n  const value...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 120.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            querySet.add("on");
            document.put("title", "on 111 strong on aaaa");
            assertEquals("<strong>on</strong> 111 str<strong>on</strong>g <strong>on</strong> <strong>aaa</strong>a",
                    viewHelper.getContentTitle(document));
    
            querySet.add("$");
            document.put("title", "$test");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/openapi-callbacks.md

    In this case, it's the `str`:
    
    ```Python
    "{$callback_url}/invoices/{$request.body.id}"
    ```
    
    So, if your API user (the external developer) sends a request to *your API* to:
    
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. docs/tr/docs/tutorial/first-steps.md

    ///
    
    ### Adım 5: İçeriği Geri Döndürün
    
    ```Python hl_lines="8"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Bir `dict`, `list` veya `str`, `int` gibi tekil değerler döndürebilirsiniz.
    
    Ayrıca, Pydantic modelleri de döndürebilirsiniz (bu konu ileriki aşamalarda irdelenecektir).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/openapi-callbacks.md

    Nesse caso, é a `str`:
    
    ```Python
    "{$callback_url}/invoices/{$request.body.id}"
    ```
    
    Então, se o usuário da sua API (o desenvolvedor externo) enviar uma solicitação para *sua API* para:
    
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 19:53:03 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. src/archive/tar/reader_test.go

    		case makeReg:
    			r := testNonEmptyReader{strings.NewReader(maker.str)}
    			fr = &regFileReader{r, maker.size}
    		case makeSparse:
    			if !validateSparseEntries(maker.spd, maker.size) {
    				t.Fatalf("invalid sparse map: %v", maker.spd)
    			}
    			sph := invertSparseEntries(maker.spd, maker.size)
    			r := testNonEmptyReader{strings.NewReader(maker.makeReg.str)}
    			fr = &regFileReader{r, maker.makeReg.size}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
Back to top