Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,309 for files (0.2 sec)

  1. docs/ru/docs/tutorial/request-forms-and-files.md

        ```
    
    === "Python 3.6+"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/request_forms_and_files/tutorial001_an.py!}
        ```
    
    === "Python 3.6+ без Annotated"
    
        !!! tip "Подсказка"
            Предпочтительнее использовать версию с аннотацией, если это возможно.
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/request_forms_and_files/tutorial001.py!}
        ```
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/request-forms-and-files.md

    # 请求表单与文件
    
    FastAPI 支持同时使用 `File` 和 `Form` 定义文件和表单字段。
    
    !!! info "说明"
    
        接收上传文件或表单数据,要预先安装 <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>。
    
        例如,`pip install python-multipart`。
    
    ## 导入 `File` 与 `Form`
    
    ```Python hl_lines="1"
    {!../../../docs_src/request_forms_and_files/tutorial001.py!}
    ```
    
    ## 定义 `File` 与 `Form` 参数
    
    创建文件和表单参数的方式与 `Body` 和 `Query` 一样:
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  3. .cm/javadoc_on_new_files.cm

    # function as an implicit first `if` for every automation in the file.
    
    # You can define multiple automations in a .cm file, but each automation name should be unique
    # within the file.  We keep each automation (or very closely related group of automations) in
    # its own file.
    
    on:
      - pr_created
      - commit
    
    automations:
    
      javadoc_on_new_files:
        # Triggered for new Java files that lack Javadoc content.
        if:
    Plain Text
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Thu Feb 08 15:20:44 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. ci/official/code_check_changed_files.sh

    # limitations under the License.
    # ==============================================================================
    source "${BASH_SOURCE%/*}/utilities/setup.sh"
    
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 05 18:41:59 GMT 2023
    - 850 bytes
    - Viewed (0)
  5. ci/official/utilities/code_check_changed_files.bats

        fi
    }
    
    # Note: this is excluded on the full code base, since any submitted code must
    # have passed Google's internal style guidelines.
    @test "Check buildifier formatting on BUILD files" {
        echo "buildifier formatting is recommended. Here are the suggested fixes:"
        echo "============================="
        grep -e 'BUILD' $BATS_FILE_TMPDIR/changed_files \
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/request-forms-and-files.md

    ```
    
    ## Defina parâmetros de `File` e `Form`
    
    Crie parâmetros de arquivo e formulário da mesma forma que você faria para `Body` ou `Query`:
    
    ```Python hl_lines="8"
    {!../../../docs_src/request_forms_and_files/tutorial001.py!}
    ```
    
    Os arquivos e campos de formulário serão carregados como dados de formulário e você receberá os arquivos e campos de formulário.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/request-forms-and-files.md

    👆 💪 🔬 📁 &amp; 📨 🏑 🎏 🕰 ⚙️ `File` &amp; `Form`.
    
    !!! info
        📨 📂 📁 &amp; /⚖️ 📨 📊, 🥇 ❎ <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
        🤶 Ⓜ. `pip install python-multipart`.
    
    ## 🗄 `File` &amp; `Form`
    
    ```Python hl_lines="1"
    {!../../../docs_src/request_forms_and_files/tutorial001.py!}
    ```
    
    ## 🔬 `File` &amp; `Form` 🔢
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/request-forms-and-files.md

    # リクエストフォームとファイル
    
    `File`と`Form`を同時に使うことでファイルとフォームフィールドを定義することができます。
    
    !!! info "情報"
        アップロードされたファイルやフォームデータを受信するには、まず<a href="https://andrew-d.github.io/python-multipart/" class="external-link" target="_blank">`python-multipart`</a>をインストールします。
    
        例えば、`pip install python-multipart`のように。
    
    ## `File`と`Form`のインポート
    
    ```Python hl_lines="1"
    {!../../../docs_src/request_forms_and_files/tutorial001.py!}
    ```
    
    ## `File`と`Form`のパラメータの定義
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 04:31:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java

        File dir2 = newFile("dir-1/dir-2");
    
        assertThat(Files.fileTraverser().breadthFirst(rootDir))
            .containsExactly(rootDir, fileA, fileB, dir1, dir2);
      }
    
      @CanIgnoreReturnValue
      private File newDir(String name) {
        File file = new File(rootDir, name);
        file.mkdir();
        return file;
      }
    
      @CanIgnoreReturnValue
      private File newFile(String name) throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Apr 21 20:17:27 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py

                "schemas": {
                    "Body_create_file_files__post": {
                        "title": "Body_create_file_files__post",
                        "required": ["file", "fileb", "token"],
                        "type": "object",
                        "properties": {
                            "file": {"title": "File", "type": "string", "format": "binary"},
                            "fileb": {
                                "title": "Fileb",
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 9.8K bytes
    - Viewed (0)
Back to top