Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 707 for Pythons (0.05 seconds)

  1. tensorflow/c/BUILD

        ],
    )
    
    # -----------------------------------------------------------------------------
    # Python API target
    
    tf_cuda_library(
        name = "python_api",
        srcs = ["python_api.cc"],
        hdrs = ["python_api.h"],
        visibility = [
            "//tensorflow:internal",
            "//tensorflow/python:__pkg__",
        ],
        deps = [
            ":c_api",
            ":c_api_internal",
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sun Dec 07 13:04:09 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  2. docs/en/docs/reference/dependencies.md

    ## `Depends()`
    
    Dependencies are handled mainly with the special function `Depends()` that takes a callable.
    
    Here is the reference for it and its parameters.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Depends
    ```
    
    ::: fastapi.Depends
    
    ## `Security()`
    
    For many scenarios, you can handle security (authorization, authentication, etc.) with dependencies, using `Depends()`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 671 bytes
    - Click Count (0)
  3. 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
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 597 bytes
    - Click Count (0)
  4. README.md

    commands.
    
    *Nightly binaries are available for testing using the
    [tf-nightly](https://pypi.python.org/pypi/tf-nightly) and
    [tf-nightly-cpu](https://pypi.python.org/pypi/tf-nightly-cpu) packages on PyPI.*
    
    #### *Try your first TensorFlow program*
    
    ```shell
    $ python
    ```
    
    ```python
    >>> import tensorflow as tf
    >>> tf.add(1, 2).numpy()
    3
    >>> hello = tf.constant('Hello, TensorFlow!')
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Jul 18 14:09:03 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/body-nested-models.md

    ## リストのフィールド
    
    属性をサブタイプとして定義することができます。例えば、Pythonの`list`は以下のように定義できます:
    
    {* ../../docs_src/body_nested_models/tutorial001.py hl[12] *}
    
    これにより、各項目の型は宣言されていませんが、`tags`はある項目のリストになります。
    
    ## タイプパラメータを持つリストのフィールド
    
    しかし、Pythonには型や「タイプパラメータ」を使ってリストを宣言する方法があります:
    
    ### typingの`List`をインポート
    
    まず、Pythonの標準の`typing`モジュールから`List`をインポートします:
    
    {* ../../docs_src/body_nested_models/tutorial002.py hl[1] *}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/request-form-models.md

    FastAPI에서 **Pydantic 모델**을 이용하여 **폼 필드**를 선언할 수 있습니다.
    
    /// info | 정보
    
    폼(Form)을 사용하려면, 먼저 <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>를 설치하세요.
    
    [가상 환경](../virtual-environments.md){.internal-link target=_blank}을 생성하고 활성화한 다음, 아래와 같이 설치할 수 있습니다:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    /// note | 참고
    
    이 기능은 FastAPI 버전 `0.113.0` 이후부터 지원됩니다. 🤓
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Dec 09 12:44:27 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  7. docs/pt/docs/deployment/manually.md

    ```
    
    </div>
    
    /// note | Nota
    
    O comando `uvicorn main:app` refere-se a:
    
    * `main`: o arquivo `main.py` (o "módulo" Python).
    * `app`: o objeto criado dentro de `main.py` com a linha `app = FastAPI()`.
    
    É equivalente a:
    
    ```Python
    from main import app
    ```
    
    ///
    
    Cada programa de servidor ASGI alternativo teria um comando semelhante, você pode ler mais na documentação respectiva.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. ci/official/utilities/code_check_changed_files.bats

    @test "Check pylint for Python files" {
        echo "Python formatting is recommended. Here are the pylint errors:"
        echo "============================="
        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) \
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Click Count (0)
  9. docs/en/docs/contributing.md

    ### Using your local FastAPI
    
    If you create a Python file that imports and uses FastAPI, and run it with the Python from your local environment, it will use your cloned local FastAPI source code.
    
    And if you update that local FastAPI source code when you run that Python file again, it will use the fresh version of FastAPI you just edited.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Sep 21 11:29:04 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  10. docs/uk/docs/tutorial/body-multiple-params.md

    Оскільки за замовчуванням окремі значення інтерпретуються як параметри запиту, Вам не потрібно явно додавати `Query`, можна просто використати:
    
    ```Python
    q: Union[str, None] = None
    ```
    
    Або в Python 3.10 та вище:
    
    ```Python
    q: str | None = None
    ```
    
    Наприклад:
    
    {* ../../docs_src/body_multiple_params/tutorial004_an_py310.py hl[28] *}
    
    
    /// info | Інформація
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Feb 28 14:19:00 GMT 2025
    - 7.4K bytes
    - Click Count (0)
Back to Top