Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 9,894 for file (0.32 sec)

  1. docs/en/docs/tutorial/request-files.md

    # Request Files
    
    You can define files to be uploaded by the client using `File`.
    
    !!! info
        To receive uploaded files, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
        E.g. `pip install python-multipart`.
    
        This is because uploaded files are sent as "form data".
    
    ## Import `File`
    
    Import `File` and `UploadFile` from `fastapi`:
    
    === "Python 3.9+"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/request-files.md

    Mit `File` können sie vom Client hochzuladende Dateien definieren.
    
    !!! info
        Um hochgeladene Dateien zu empfangen, installieren Sie zuerst <a href="https://andrew-d.github.io/python-multipart/" class="external-link" target="_blank">`python-multipart`</a>.
    
        Z. B. `pip install python-multipart`.
    
        Das, weil hochgeladene Dateien als „Formulardaten“ gesendet werden.
    
    ## `File` importieren
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 17:58:08 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats

        grep -e "\.py$" $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true
        if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi
        xargs -a $BATS_TEST_TMPDIR/files -n1 -P $(nproc --all) \
            python -m pylint --rcfile=tensorflow/tools/ci_build/pylintrc --score false \
            | grep -v "**** Module" \
            | tee $BATS_TEST_TMPDIR/needs_help.txt
        [[ ! -s $BATS_TEST_TMPDIR/needs_help.txt ]]
    }
    
    teardown_file() {
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/request-forms-and-files.md

    # Request Forms and Files
    
    You can define files and form fields at the same time using `File` and `Form`.
    
    !!! info
        To receive uploaded files and/or form data, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
        E.g. `pip install python-multipart`.
    
    ## Import `File` and `Form`
    
    === "Python 3.9+"
    
        ```Python hl_lines="3"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/request-forms-and-files.md

    ## Определите параметры `File` и `Form`
    
    Создайте параметры файла и формы таким же образом, как для `Body` или `Query`:
    
    === "Python 3.9+"
    
        ```Python hl_lines="10-12"
        {!> ../../../docs_src/request_forms_and_files/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.6+"
    
        ```Python hl_lines="9-11"
        {!> ../../../docs_src/request_forms_and_files/tutorial001_an.py!}
        ```
    
    === "Python 3.6+ без Annotated"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. 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 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  7. 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 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. .cm/javadoc_on_new_files.cm

    # 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
      - comment_added
    
    automations:
    
      javadoc_on_new_files:
        # Triggered for new Java files that lack Javadoc content.
        if:
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/request-forms-and-files.md

    Você pode definir arquivos e campos de formulário ao mesmo tempo usando `File` e `Form`.
    
    !!! info "Informação"
        Para receber arquivos carregados e/ou dados de formulário, primeiro instale <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
        Por exemplo: `pip install python-multipart`.
    
    
    ## Importe `File` e `Form`
    
    ```Python hl_lines="1"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/request-forms-and-files.md

    # 폼 및 파일 요청
    
    `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` 매개변수 정의
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top