Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 356 for code (0.22 sec)

  1. docs/ru/docs/tutorial/first-steps.md

    ```
    
    Декоратор `@app.get("/")` указывает **FastAPI**, что функция, прямо под ним, отвечает за обработку запросов, поступающих по адресу:
    
    * путь `/`
    * использующих <abbr title="HTTP GET метод"><code>get</code> операцию</abbr>
    
    !!! info "`@decorator` Дополнительная информация"
        Синтаксис `@something` в Python называется "декоратор".
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/path-params.md

        Notez que l'erreur mentionne le point exact où la validation n'a pas réussi.
    
        Ce qui est incroyablement utile au moment de développer et débugger du code qui interagit avec votre API.
    
    ## Documentation
    
    Et quand vous vous rendez sur <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>, vous verrez la
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/response-model.md

        ```
    
    FastAPI will use this return type to:
    
    * **Validate** the returned data.
        * If the data is invalid (e.g. you are missing a field), it means that *your* app code is broken, not returning what it should, and it will return a server error instead of returning incorrect data. This way you and your clients can be certain that they will receive the data and the data shape expected.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/first-steps.md

    ```Python hl_lines="6"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `@app.get("/")` 💬 **FastAPI** 👈 🔢 ▶️️ 🔛 🈚 🚚 📨 👈 🚶:
    
    * ➡ `/`
    * ⚙️ <abbr title="an HTTP GET method"><code>get</code> 🛠️</abbr>
    
    !!! info "`@decorator` ℹ"
        👈 `@something` ❕ 🐍 🤙 "👨‍🎨".
    
        👆 🚮 ⚫️ 🔛 🔝 🔢. 💖 📶 📔 👒 (👤 💭 👈 🌐❔ ⚖ 👟 ⚪️➡️).
    
         "👨‍🎨" ✊ 🔢 🔛 &amp; 🔨 🕳 ⏮️ ⚫️.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/metadata.md

    IRED</strong> (if a <code>license_info</code> is set). The license name used for the API.</td></tr><tr><td><code>identifier</code></td><td><code>str</code></td><td>An <a href="https://spdx.org/licenses/" class="external-link" target="_blank">SPDX</a> license expression for the API. The <code>identifier</code> field is mutually exclusive of the <code>url</code> field. <small>Available since OpenAPI 3.1.0, FastAPI 0.99.0.</small></td></tr><tr><td><code>url</code></td><td><code>str</code></td><td>A...
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/dependencies/sub-dependencies.md

        All dies scheint angesichts dieser einfachen Beispiele möglicherweise nicht so nützlich zu sein.
    
        Aber Sie werden in den Kapiteln über **Sicherheit** sehen, wie nützlich das ist.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:09:48 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/first-steps.md

    #### *パスオペレーションデコレータ*を定義
    
    ```Python hl_lines="6"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    `@app.get("/")`は直下の関数が下記のリクエストの処理を担当することを**FastAPI**に伝えます:
    
    * パス `/`
    * <abbr title="an HTTP GET method"><code>get</code> オペレーション</abbr>
    
    !!! info "`@decorator` について"
        Pythonにおける`@something`シンタックスはデコレータと呼ばれます。
    
        「デコレータ」は関数の上に置きます。かわいらしい装飾的な帽子のようです(この用語の由来はそこにあると思います)。
    
        「デコレータ」は直下の関数を受け取り、それを使って何かを行います。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  8. tests/test_dependency_overrides.py

            ("/router-decorator-depends/", 200, {"in": "router-decorator-depends"}),
        ],
    )
    def test_override_simple(url, status_code, expected):
        app.dependency_overrides[common_parameters] = overrider_dependency_simple
        response = client.get(url)
        assert response.status_code == status_code
        assert response.json() == expected
        app.dependency_overrides = {}
    
    
    def test_override_with_sub_main_depends():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/events.md

    # Lifespan-Events
    
    Sie können Logik (Code) definieren, die ausgeführt werden soll, bevor die Anwendung **hochfährt**. Dies bedeutet, dass dieser Code **einmal** ausgeführt wird, **bevor** die Anwendung **beginnt, Requests entgegenzunehmen**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:30:59 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. docs/hu/docs/index.md

    * <a href="https://github.com/JoshData/python-email-validator" target="_blank"><code>email_validator</code></a> - e-mail validációkra.
    * <a href="https://docs.pydantic.dev/latest/usage/pydantic_settings/" target="_blank"><code>pydantic-settings</code></a> - Beállítások követésére.
    * <a href="https://docs.pydantic.dev/latest/usage/types/extra_types/extra_types/" target="_blank"><code>pydantic-extra-types</code></a> - Extra típusok Pydantic-hoz.
    
    Starlette által használt:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 20.2K bytes
    - Viewed (0)
Back to top