Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 8,941 for Rand (0.02 seconds)

  1. docs/es/docs/how-to/custom-request-and-route.md

    # Clase personalizada de Request y APIRoute { #custom-request-and-apiroute-class }
    
    En algunos casos, puede que quieras sobrescribir la lógica utilizada por las clases `Request` y `APIRoute`.
    
    En particular, esta puede ser una buena alternativa a la lógica en un middleware.
    
    Por ejemplo, si quieres leer o manipular el request body antes de que sea procesado por tu aplicación.
    
    /// danger | Advertencia
    
    Esta es una funcionalidad "avanzada".
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/how-to/custom-request-and-route.md

    # 自訂 Request 與 APIRoute 類別 { #custom-request-and-apiroute-class }
    
    在某些情況下,你可能想要覆寫 `Request` 與 `APIRoute` 類別所使用的邏輯。
    
    特別是,這可能是替代中介軟體(middleware)中實作邏輯的一個好方法。
    
    例如,如果你想在應用程式處理之前讀取或操作請求本文(request body)。
    
    /// danger
    
    這是進階功能。
    
    如果你剛開始使用 **FastAPI**,可以先跳過本節。
    
    ///
    
    ## 使用情境 { #use-cases }
    
    可能的使用情境包括:
    
    * 將非 JSON 的請求本文轉換為 JSON(例如 [`msgpack`](https://msgpack.org/index.html))。
    * 解壓縮以 gzip 壓縮的請求本文。
    * 自動記錄所有請求本文。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  3. docs/ja/docs/how-to/custom-request-and-route.md

    # カスタム Request と APIRoute クラス { #custom-request-and-apiroute-class }
    
    場合によっては、`Request` や `APIRoute` クラスで使われるロジックを上書きしたいことがあります。
    
    特に、ミドルウェアでのロジックの代替として有効な場合があります。
    
    たとえば、アプリケーションで処理される前にリクエストボディを読み取ったり操作したりしたい場合です。
    
    /// danger | 警告
    
    これは「上級」機能です。
    
    FastAPI を始めたばかりの場合は、このセクションは読み飛ばしてもよいでしょう。
    
    ///
    
    ## ユースケース { #use-cases }
    
    ユースケースの例:
    
    * JSON ではないリクエストボディを JSON に変換する(例: [`msgpack`](https://msgpack.org/index.html))。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/request-forms-and-files.md

    ## Import `File` and `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}
    
    ## Define `File` and `Form` parameters { #define-file-and-form-parameters }
    
    Create file and form parameters the same way you would for `Body` or `Query`:
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[10:12] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/request-forms-and-files.md

    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## `File` und `Form` importieren { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}
    
    ## `File` und `Form`-Parameter definieren { #define-file-and-form-parameters }
    
    Erstellen Sie Datei- und Formularparameter, so wie Sie es auch mit `Body` oder `Query` machen würden:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  6. docs/zh/docs/tutorial/request-forms-and-files.md

    # 请求表单与文件 { #request-forms-and-files }
    
    FastAPI 支持同时使用 `File` 和 `Form` 定义文件和表单字段。
    
    /// info | 信息
    
    接收上传的文件和/或表单数据,首先安装 [`python-multipart`](https://github.com/Kludex/python-multipart)。
    
    请先创建并激活一个[虚拟环境](../virtual-environments.md),然后再安装,例如:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## 导入 `File` 与 `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/tutorial/request-forms-and-files.md

    # 請求中的表單與檔案 { #request-forms-and-files }
    
    你可以使用 `File` 與 `Form` 同時定義檔案與表單欄位。
    
    /// info
    
    要接收上傳的檔案與/或表單資料,請先安裝 [`python-multipart`](https://github.com/Kludex/python-multipart)。
    
    請先建立並啟用一個 [虛擬環境](../virtual-environments.md),然後再安裝,例如:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## 匯入 `File` 與 `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/request-forms-and-files.md

    # リクエストフォームとファイル { #request-forms-and-files }
    
    `File`と`Form`を同時に使うことでファイルとフォームフィールドを定義することができます。
    
    /// info | 情報
    
    アップロードされたファイルやフォームデータを受信するには、まず[`python-multipart`](https://github.com/Kludex/python-multipart)をインストールします。
    
    [仮想環境](../virtual-environments.md)を作成し、それを有効化してから、例えば次のようにインストールしてください:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## `File`と`Form`のインポート { #import-file-and-form }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  9. lib/fips140/Makefile

    # Rules for building and testing new FIPS snapshots.
    # For example:
    #
    #	make v1.2.3.zip
    #	make v1.2.3.test
    #
    # and then if changes are needed, check them into master
    # and run 'make v1.2.3.rm' and repeat.
    #
    # Note that once published a snapshot zip file should never
    # be modified. We record the sha256 hashes of the zip files
    # in fips140.sum, and the cmd/go/internal/fips140 test checks
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Sep 16 00:31:59 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  10. internal/disk/fdatasync_linux.go

    // to  be  correctly  handled.   For example, changes to st_atime or st_mtime
    // (respectively, time of last access and time of last modification; see inode(7))
    // do not require flushing because they are not necessary for a subsequent data
    // read to be handled correctly. On the other hand, a change to the file size
    // (st_size, as made by say ftruncate(2)), would require a metadata flush.
    //
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 29 23:40:28 GMT 2021
    - 1.8K bytes
    - Click Count (0)
Back to Top