Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 1,547 for Starlet (0.1 sec)

  1. docs/de/docs/how-to/extending-openapi.md

    Fügen wir beispielsweise <a href="https://github.com/Rebilly/ReDoc/blob/master/docs/redoc-vendor-extensions.md#x-logo" class="external-link" target="_blank">ReDocs OpenAPI-Erweiterung</a> zum Einbinden eines benutzerdefinierten Logos hinzu.
    
    ### Normales **FastAPI**
    
    Schreiben Sie zunächst wie gewohnt Ihre ganze **FastAPI**-Anwendung:
    
    ```Python hl_lines="1  4  7-9"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/response-status-code.md

    ///
    
    `status_code` 参数接收表示 HTTP 状态码的数字。
    
    /// info | "说明"
    
    `status_code` 还能接收 `IntEnum` 类型,比如 Python 的 <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>。
    
    ///
    
    它可以:
    
    * 在响应中返回状态码
    * 在 OpenAPI 概图(及用户界面)中存档:
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note | "笔记"
    
    某些响应状态码表示响应没有响应体(参阅下一章)。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/testing-websockets.md

    {!../../docs_src/app_testing/tutorial002.py!}
    ```
    
    /// note | "Nota"
    
    Para mais detalhes, confira a documentação do Starlette para <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">testar WebSockets</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 488 bytes
    - Viewed (0)
  4. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class ComparableVersionIT {
    
        @Test
        void test() throws Exception {
            Files.walkFileTree(Paths.get("target"), new SimpleFileVisitor<Path>() {
                Pattern mavenArtifactJar = Pattern.compile("maven-artifact-[\\d.]+(-SNAPSHOT)?\\.jar");
    
                @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/cmd/asm/doc.go

    # Command Line
    
    Usage:
    
    	go tool asm [flags] file
    
    The specified file must be a Go assembly file.
    The same assembler is used for all target operating systems and architectures.
    The GOOS and GOARCH environment variables set the desired target.
    
    Flags:
    
    	-D name[=value]
    		Predefine symbol name with an optional simple value.
    		Can be repeated to define multiple symbols.
    	-I dir1 -I dir2
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 22 20:46:45 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/oauth2-jwt.md

    If you want to play with JWT tokens and see how they work, check <a href="https://jwt.io/" class="external-link" target="_blank">https://jwt.io</a>.
    
    ## Install `PyJWT`
    
    We need to install `PyJWT` to generate and verify the JWT tokens in Python.
    
    Make sure you create a [virtual environment](../../virtual-environments.md){.internal-link target=_blank}, activate it, and then install `pyjwt`:
    
    <div class="termy">
    
    ```console
    $ pip install pyjwt
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:45:10 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Aber in realen Fällen würden Sie bei der Implementierung von Sicherheit mehr Vorteile durch die Verwendung der integrierten [Sicherheits-Werkzeuge (siehe nächstes Kapitel)](../security/index.md){.internal-link target=_blank} erzielen.
    
    ///
    
    ## Abhängigkeitsfehler und -Rückgabewerte
    
    Sie können dieselben Abhängigkeits-*Funktionen* verwenden, die Sie normalerweise verwenden.
    
    ### Abhängigkeitsanforderungen
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. docs/uk/docs/python-types.md

    ////
    
    /// info
    
    Щоб дізнатись більше про <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic, перегляньте його документацію</a>.
    
    ///
    
    **FastAPI** повністю базується на Pydantic.
    
    Ви побачите набагато більше цього всього на практиці в [Tutorial - User Guide](tutorial/index.md){.internal-link target=_blank}.
    
    ## Анотації типів у **FastAPI**
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  9. docs/zh/docs/python-types.md

    ```Python
    {!../../docs_src/python_types/tutorial010.py!}
    ```
    
    /// info
    
    想进一步了解 <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic,请阅读其文档</a>.
    
    ///
    
    整个 **FastAPI** 建立在 Pydantic 的基础之上。
    
    实际上你将在 [教程 - 用户指南](tutorial/index.md){.internal-link target=_blank} 看到很多这种情况。
    
    ## **FastAPI** 中的类型提示
    
    **FastAPI** 利用这些类型提示来做下面几件事。
    
    使用 **FastAPI** 时用类型提示声明参数可以获得:
    
    * **编辑器支持**。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. docs/ja/docs/advanced/custom-response.md

    上で読んだように、**FastAPI** のデフォルトのレスポンスとして利用されます。
    
    ### `ORJSONResponse`
    
    上で読んだように、<a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a>を使った、高速な代替のJSONレスポンスです。
    
    ### `UJSONResponse`
    
    <a href="https://github.com/ultrajson/ultrajson" class="external-link" target="_blank">`ujson`</a>を使った、代替のJSONレスポンスです。
    
    /// warning | "注意"
    
    `ujson` は、いくつかのエッジケースの取り扱いについて、Pythonにビルトインされた実装よりも作りこまれていません。
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top