Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 707 for Python (0.03 sec)

  1. docs/pt/docs/tutorial/query-params-str-validations.md

    Agora é a hora de usá-lo com FastAPI. 🚀
    
    Tínhamos esta anotação de tipo:
    
    //// tab | Python 3.10+
    
    ```Python
    q: str | None = None
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python
    q: Union[str, None] = None
    ```
    
    ////
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

    `yield`は必ず一度だけ使用するようにしてください。
    
    ///
    
    /// info | 情報
    
    これを動作させるには、**Python 3.7** 以上を使用するか、**Python 3.6** では"backports"をインストールする必要があります:
    
    ```
    pip install async-exit-stack async-generator
    ```
    
    これにより<a href="https://github.com/sorcio/async_exit_stack" class="external-link" target="_blank">async-exit-stack</a>と<a href="https://github.com/python-trio/async_generator" class="external-link" target="_blank">async-generator</a>がインストールされます。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/bigger-applications.md

    ```
    from app.routers import items
    ```
    
    ///
    
    * El directorio `app` contiene todo. Y tiene un archivo vacío `app/__init__.py`, por lo que es un "paquete de Python" (una colección de "módulos de Python"): `app`.
    * Contiene un archivo `app/main.py`. Como está dentro de un paquete de Python (un directorio con un archivo `__init__.py`), es un "módulo" de ese paquete: `app.main`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/bigger-applications.md

    ```
    .
    ├── app                  # "app" é um pacote Python
    │   ├── __init__.py      # este arquivo torna "app" um "pacote Python"
    │   ├── main.py          # "main" módulo, e.g. import app.main
    │   ├── dependencies.py  # "dependencies" módulo, e.g. import app.dependencies
    │   └── routers          # "routers" é um  "subpacote Python"
    │   │   ├── __init__.py  # torna "routers" um "subpacote Python"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  5. .github/workflows/deploy-docs.yml

          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
          - name: Set up Python
            uses: actions/setup-python@v6
            with:
              python-version: "3.11"
          - name: Setup uv
            uses: astral-sh/setup-uv@v7
            with:
              version: "0.4.15"
              enable-cache: true
              cache-dependency-glob: |
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Nov 21 13:03:21 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    „Kontextmanager“ (Englisch „Context Manager“) sind bestimmte Python-Objekte, die Sie in einer `with`-Anweisung verwenden können.
    
    Beispielsweise können Sie <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">`with` verwenden, um eine Datei auszulesen</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/settings.md

    `@lru_cache` ist Teil von `functools`, welches Teil von Pythons Standardbibliothek ist. Weitere Informationen dazu finden Sie in der <a href="https://docs.python.org/3/library/functools.html#functools.lru_cache" class="external-link" target="_blank">Python Dokumentation für `@lru_cache`</a>.
    
    ## Zusammenfassung { #recap }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/body-nested-models.md

    Sie können ein Attribut als Kindtyp definieren, zum Beispiel eine Python-`list`.
    
    {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *}
    
    Das bewirkt, dass `tags` eine Liste ist, wenngleich es nichts über den Typ der Elemente der Liste aussagt.
    
    ## Listen mit Typ-Parametern als Felder { #list-fields-with-type-parameter }
    
    Aber Python erlaubt es, Listen mit inneren Typen, auch „Typ-Parameter“ genannt, zu deklarieren.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/bigger-applications.md

    │   └── routers          # „routers“ ist ein „Python-Subpackage“
    │   │   ├── __init__.py  # macht „routers“ zu einem „Python-Subpackage“
    │   │   ├── items.py     # „items“-Submodul, z. B. import app.routers.items
    │   │   └── users.py     # „users“-Submodul, z. B. import app.routers.users
    │   └── internal         # „internal“ ist ein „Python-Subpackage“
    │       ├── __init__.py  # macht „internal“ zu einem „Python-Subpackage“
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 13:54:34 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  10. docs/zh-hant/docs/index.md

    ### 總結
    
    總結來說, 你就像宣告函式的參數型別一樣,只宣告了一次請求參數和請求主體參數等型別。
    
    你使用 Python 標準型別來完成聲明。
    
    你不需要學習新的語法、類別、方法或函式庫等等。
    
    只需要使用 **Python 以上的版本**。
    
    舉個範例,比如宣告 int 的型別:
    
    ```Python
    item_id: int
    ```
    
    或是一個更複雜的 `Item` 模型:
    
    ```Python
    item: Item
    ```
    
    在進行一次宣告後,你將獲得:
    
    - 編輯器支援:
        - 自動補全
        - 型別檢查
    - 資料驗證:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top