Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 895 for python (0.06 sec)

  1. .github/workflows/arm-ci-extended.yml

          - name: Checkout repository
            if: ${{ github.event_name == 'push' }}
            uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
          - name: Build binary and run python tests on nightly for all python versions
            shell: bash
            run: |
              is_nightly=0 && tf_project_name='tf_ci_ext' && ${{ github.event_name == 'schedule' }} && is_nightly=1 && tf_project_name='tf_nightly_ci_ext'
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc

    # the CACHEBUSTER to the PR number.
    build --action_env=CACHEBUSTER=20220325
    
    # Use Python 3.X as installed in container image
    build --action_env PYTHON_BIN_PATH="/usr/local/bin/python3"
    build --python_path="/usr/local/bin/python3"
    
    # Build TensorFlow v2
    build --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
    
    # Use lld as the linker
    build --linkopt="-fuse-ld=lld"
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Jul 12 20:16:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. fastapi/datastructures.py

        attribute to access the raw standard Python file (blocking, not async), useful and
        needed for non-async code.
    
        Read more about it in the
        [FastAPI docs for Request Files](https://fastapi.tiangolo.com/tutorial/request-files/).
    
        ## Example
    
        ```python
        from typing import Annotated
    
        from fastapi import FastAPI, File, UploadFile
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. docs/en/docs/reference/exceptions.md

    When you raise an exception, as would happen with normal Python, the rest of the execution is aborted. This way you can raise these exceptions from anywhere in the code to abort a request and show the error to the client.
    
    You can use:
    
    * `HTTPException`
    * `WebSocketException`
    
    These exceptions can be imported directly from `fastapi`:
    
    ```python
    from fastapi import HTTPException, WebSocketException
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 597 bytes
    - Viewed (0)
  5. docs/en/docs/deployment/manually.md

    ```
    
    </div>
    
    /// note
    
    The command `uvicorn main:app` refers to:
    
    * `main`: the file `main.py` (the Python "module").
    * `app`: the object created inside of `main.py` with the line `app = FastAPI()`.
    
    It is equivalent to:
    
    ```Python
    from main import app
    ```
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 25 02:44:06 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/sub-applications.md

    ```Python hl_lines="3  6-8"
    {!../../docs_src/sub_applications/tutorial001.py!}
    ```
    
    ### Sub-aplicação
    
    Em seguida, crie sua sub-aplicação e suas *operações de rota*.
    
    Essa sub-aplicação é apenas outra aplicação FastAPI padrão, mas esta é a que será "montada":
    
    ```Python hl_lines="11  14-16"
    {!../../docs_src/sub_applications/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/middleware.md

        * Dann gibt es die von der entsprechenden *Pfadoperation* generierte `response` zurück.
    * Sie können die `response` dann weiter modifizieren, bevor Sie sie zurückgeben.
    
    ```Python hl_lines="8-9  11  14"
    {!../../docs_src/middleware/tutorial001.py!}
    ```
    
    /// tip | "Tipp"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/response-cookies.md

    # Cookies de Resposta
    
    ## Usando um parâmetro `Response`
    
    Você pode declarar um parâmetro do tipo `Response` na sua *função de operação de rota*.
    
    E então você pode definir cookies nesse objeto de resposta *temporário*.
    
    ```Python hl_lines="1  8-9"
    {!../../docs_src/response_cookies/tutorial002.py!}
    ```
    
    Em seguida, você pode retornar qualquer objeto que precise, como normalmente faria (um `dict`, um modelo de banco de dados, etc).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 14 09:15:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/response-headers.md

    Você pode declarar um parâmetro do tipo `Response` na sua *função de operação de rota* (assim como você pode fazer para cookies).
    
    Então você pode definir os cabeçalhos nesse objeto de resposta *temporário*.
    
    ```Python hl_lines="1  7-8"
    {!../../docs_src/response_headers/tutorial002.py!}
    ```
    
    Em seguida você pode retornar qualquer objeto que precisar, da maneira que faria normalmente (um `dict`, um modelo de banco de dados, etc.).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 16 07:44:45 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/response-cookies.md

    ## Einen `Response`-Parameter verwenden
    
    Sie können einen Parameter vom Typ `Response` in Ihrer *Pfadoperation-Funktion* deklarieren.
    
    Und dann können Sie Cookies in diesem *vorübergehenden* Response-Objekt setzen.
    
    ```Python hl_lines="1  8-9"
    {!../../docs_src/response_cookies/tutorial002.py!}
    ```
    
    Anschließend können Sie wie gewohnt jedes gewünschte Objekt zurückgeben (ein `dict`, ein Datenbankmodell, usw.).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top