Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 860 for Pythona (0.17 sec)

  1. docs/de/docs/advanced/events.md

    ```Python hl_lines="1  13"
    {!../../docs_src/events/tutorial003.py!}
    ```
    
    Ein **Kontextmanager** in Python ist etwas, das Sie in einer `with`-Anweisung verwenden können, zum Beispiel kann `open()` als Kontextmanager verwendet werden:
    
    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/body.md

    Primeiro, você precisa importar `BaseModel` do `pydantic`:
    
    ```Python hl_lines="4"
    {!../../docs_src/body/tutorial001.py!}
    ```
    
    ## Crie seu modelo de dados
    
    Então você declara seu modelo de dados como uma classe que herda `BaseModel`.
    
    Utilize os tipos Python padrão para todos os atributos:
    
    ```Python hl_lines="7-11"
    {!../../docs_src/body/tutorial001.py!}
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. docs/de/docs/how-to/configure-swagger-ui.md

    Es umfasst die folgenden Defaultkonfigurationen:
    
    ```Python
    {!../../fastapi/openapi/docs.py[ln:7-23]!}
    ```
    
    Sie können jede davon überschreiben, indem Sie im Argument `swagger_ui_parameters` einen anderen Wert festlegen.
    
    Um beispielsweise `deepLinking` zu deaktivieren, könnten Sie folgende Einstellungen an `swagger_ui_parameters` übergeben:
    
    ```Python hl_lines="3"
    {!../../docs_src/configure_swagger_ui/tutorial003.py!}
    ```
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. docs/em/docs/how-to/extending-openapi.md

    🥇, ✍ 🌐 👆 **FastAPI** 🈸 🛎:
    
    ```Python hl_lines="1  4  7-9"
    {!../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### 🏗 🗄 🔗
    
    ⤴️, ⚙️ 🎏 🚙 🔢 🏗 🗄 🔗, 🔘 `custom_openapi()` 🔢:
    
    ```Python hl_lines="2  15-20"
    {!../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### 🔀 🗄 🔗
    
    🔜 👆 💪 🚮 📄 ↔, ❎ 🛃 `x-logo` `info` "🎚" 🗄 🔗:
    
    ```Python hl_lines="21-23"
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. .github/DISCUSSION_TEMPLATE/questions.yml

            ```bash
            python -c "import pydantic; print(pydantic.version.VERSION)"
            ```
        validations:
          required: true
      - type: input
        id: python-version
        attributes:
          label: Python Version
          description: |
            What Python version are you using?
    
            You can find the Python version with:
    
            ```bash
            python --version
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Aug 03 15:59:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. .github/actions/people/Dockerfile

    FROM python:3.9
    
    RUN pip install httpx PyGithub "pydantic==2.0.2" pydantic-settings "pyyaml>=5.3.1,<6.0.0"
    
    COPY ./app /app
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Aug 03 14:12:28 UTC 2023
    - 156 bytes
    - Viewed (0)
  7. docs/ru/docs/history-design-future.md

    Данные по редакторам я взял из <a href="https://www.jetbrains.com/research/python-developers-survey-2018/#development-tools" class="external-link" target="_blank">опроса Python-разработчиков</a>, который охватываает около 80% пользователей.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/async-tests.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    O arquivo `main.py` teria:
    
    ```Python
    {!../../docs_src/async_tests/main.py!}
    ```
    
    O arquivo `test_main.py` teria os testes para para o arquivo `main.py`, ele poderia ficar assim:
    
    ```Python
    {!../../docs_src/async_tests/test_main.py!}
    ```
    
    ## Executá-lo
    
    Você pode executar os seus testes normalmente via:
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. docs/de/docs/history-design-future.md

    Ich habe mehrere Ideen in den beliebtesten Python-Editoren getestet: PyCharm, VS Code, Jedi-basierte Editoren.
    
    Laut der letzten <a href="https://www.jetbrains.com/research/python-developers-survey-2018/#development-tools" class="external-link" target="_blank">Python-Entwickler-Umfrage</a>, deckt das etwa 80 % der Benutzer ab.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/request-forms-and-files.md

    アップロードされたファイルやフォームデータを受信するには、まず<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`のパラメータの定義
    
    ファイルやフォームのパラメータは`Body`や`Query`の場合と同じように作成します:
    
    ```Python hl_lines="8"
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top