Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 860 for Pythona (0.1 sec)

  1. docs/de/docs/advanced/dataclasses.md

    Aber FastAPI unterstรผtzt auf die gleiche Weise auch die Verwendung von <a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a>:
    
    ```Python hl_lines="1  7-12  19-20"
    {!../../docs_src/dataclasses/tutorial001.py!}
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/dataclasses.md

    FastAPI is built on top of **Pydantic**, and I have been showing you how to use Pydantic models to declare requests and responses.
    
    But FastAPI also supports using <a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a> the same way:
    
    ```Python hl_lines="1  7-12  19-20"
    {!../../docs_src/dataclasses/tutorial001.py!}
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/sub-applications.md

    ### ๐Ÿ”-๐ŸŽš ๐Ÿˆธ
    
    ๐Ÿฅ‡, โœ ๐Ÿ‘‘, ๐Ÿ”-๐ŸŽš, **FastAPI** ๐Ÿˆธ, &amp; ๐Ÿšฎ *โžก ๐Ÿ› ๏ธ*:
    
    ```Python hl_lines="3  6-8"
    {!../../docs_src/sub_applications/tutorial001.py!}
    ```
    
    ### ๐ŸŽง-๐Ÿˆธ
    
    โคด๏ธ, โœ ๐Ÿ‘† ๐ŸŽง-๐Ÿˆธ, &amp; ๐Ÿšฎ *โžก ๐Ÿ› ๏ธ*.
    
    ๐Ÿ‘‰ ๐ŸŽง-๐Ÿˆธ โž•1๏ธโƒฃ ๐Ÿฉ FastAPI ๐Ÿˆธ, โœ‹๏ธ ๐Ÿ‘‰ 1๏ธโƒฃ ๐Ÿ‘ˆ ๐Ÿ”œ "๐Ÿ—ป":
    
    ```Python hl_lines="11  14-16"
    {!../../docs_src/sub_applications/tutorial001.py!}
    ```
    
    ### ๐Ÿ—ป ๐ŸŽง-๐Ÿˆธ
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/templates.md

    * ๐Ÿ—„ `Jinja2Templates`.
    * โœ `templates` ๐ŸŽš ๐Ÿ‘ˆ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿค-โš™๏ธ โช.
    * ๐Ÿ“ฃ `Request` ๐Ÿ”ข *โžก ๐Ÿ› ๏ธ* ๐Ÿ‘ˆ ๐Ÿ”œ ๐Ÿ“จ ๐Ÿ“„.
    * โš™๏ธ `templates` ๐Ÿ‘† โœ โœ &amp; ๐Ÿ“จ `TemplateResponse`, ๐Ÿšถโ€โ™€๏ธ `request` 1๏ธโƒฃ ๐Ÿ”‘-๐Ÿ’ฒ ๐Ÿ‘ซ Jinja2๏ธโƒฃ "๐Ÿ”‘".
    
    ```Python hl_lines="4  11  15-18"
    {!../../docs_src/templates/tutorial001.py!}
    ```
    
    /// note
    
    ๐Ÿ‘€ ๐Ÿ‘ˆ ๐Ÿ‘† โœ”๏ธ ๐Ÿšถโ€โ™€๏ธ `request` ๐Ÿ• ๐Ÿ”‘-๐Ÿ’ฒ ๐Ÿ‘ซ ๐Ÿ”‘ Jinja2๏ธโƒฃ. , ๐Ÿ‘† โœ”๏ธ ๐Ÿ“ฃ โšซ๏ธ ๐Ÿ‘† *โžก ๐Ÿ› ๏ธ*.
    
    ///
    
    /// tip
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/schema-extra-example.md

    ```Python hl_lines="15-23"
    {!../../docs_src/schema_extra_example/tutorial001.py!}
    ```
    
    Essas informaรงรตes extras serรฃo adicionadas como se encontram no **JSON Schema** de resposta desse modelo e serรฃo usadas na documentaรงรฃo da API.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/metadata.md

    ไฝ ๅฏไปฅๆŒ‰ๅฆ‚ไธ‹ๆ–นๅผ่ฎพ็ฝฎๅฎƒไปฌ๏ผš
    
    ```Python hl_lines="4-6"
    {!../../docs_src/metadata/tutorial001.py!}
    ```
    
    /// tip
    
    ๆ‚จๅฏไปฅๅœจ `description` ๅญ—ๆฎตไธญ็ผ–ๅ†™ Markdown๏ผŒๅฎƒๅฐ†ๅœจ่พ“ๅ‡บไธญๅ‘ˆ็Žฐใ€‚
    
    ///
    
    ้€š่ฟ‡่ฟ™ๆ ท่ฎพ็ฝฎ๏ผŒ่‡ชๅŠจ API ๆ–‡ๆกฃ็œ‹่ตทๆฅไผšๅƒ๏ผš
    
    <img src="/img/tutorial/metadata/image01.png">
    
    ## ๆ ‡็ญพๅ…ƒๆ•ฐๆฎ
    
    ### ๅˆ›ๅปบๆ ‡็ญพๅ…ƒๆ•ฐๆฎ
    
    ่ฎฉๆˆ‘ไปฌๅœจๅธฆๆœ‰ๆ ‡็ญพ็š„็คบไพ‹ไธญไธบ `users` ๅ’Œ `items` ่ฏ•ไธ€ไธ‹ใ€‚
    
    ๅˆ›ๅปบๆ ‡็ญพๅ…ƒๆ•ฐๆฎๅนถๆŠŠๅฎƒไผ ้€’็ป™ `openapi_tags` ๅ‚ๆ•ฐ๏ผš
    
    ```Python hl_lines="3-16  18"
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. docs/em/docs/advanced/response-cookies.md

    # ๐Ÿ“จ ๐Ÿช
    
    ## โš™๏ธ `Response` ๐Ÿ”ข
    
    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“ฃ ๐Ÿ”ข ๐Ÿ†Ž `Response` ๐Ÿ‘† *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข*.
    
    &amp; โคด๏ธ ๐Ÿ‘† ๐Ÿ’ช โš’ ๐Ÿช ๐Ÿ‘ˆ *๐Ÿ”€* ๐Ÿ“จ ๐ŸŽš.
    
    ```Python hl_lines="1  8-9"
    {!../../docs_src/response_cookies/tutorial002.py!}
    ```
    
    &amp; โคด๏ธ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“จ ๐Ÿ™† ๐ŸŽš ๐Ÿ‘† ๐Ÿ’ช, ๐Ÿ‘† ๐Ÿ›Ž ๐Ÿ”œ ( `dict`, ๐Ÿ’ฝ ๐Ÿท, โ™’๏ธ).
    
    &amp; ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ“ฃ `response_model`, โšซ๏ธ ๐Ÿ”œ โš™๏ธ โ›ฝ &amp; ๐Ÿ—œ ๐ŸŽš ๐Ÿ‘† ๐Ÿ“จ.
    
    **FastAPI** ๐Ÿ”œ โš™๏ธ ๐Ÿ‘ˆ *๐Ÿ”€* ๐Ÿ“จ โš— ๐Ÿช (๐ŸŽš &amp; ๐Ÿ‘” ๐Ÿ“Ÿ), &amp; ๐Ÿ”œ ๐Ÿšฎ ๐Ÿ‘ซ ๐Ÿ ๐Ÿ“จ ๐Ÿ‘ˆ ๐Ÿ”Œ ๐Ÿ’ฒ ๐Ÿ‘† ๐Ÿ“จ, โ›ฝ ๐Ÿ™† `response_model`.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. docs/em/docs/advanced/testing-dependencies.md

    &amp; โคด๏ธ **FastAPI** ๐Ÿ”œ ๐Ÿค™ ๐Ÿ‘ˆ ๐Ÿ” โ†ฉ๏ธ โฎ๏ธ ๐Ÿ”—.
    
    ```Python hl_lines="28-29  32"
    {!../../docs_src/dependency_testing/tutorial001.py!}
    ```
    
    /// tip
    
    ๐Ÿ‘† ๐Ÿ’ช โš’ ๐Ÿ”— ๐Ÿ” ๐Ÿ”— โš™๏ธ ๐Ÿ™† ๐Ÿ‘† **FastAPI** ๐Ÿˆธ.
    
    โฎ๏ธ ๐Ÿ”— ๐Ÿ’ช โš™๏ธ *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข*, *โžก ๐Ÿ› ๏ธ ๐Ÿ‘จโ€๐ŸŽจ* (๐Ÿ•โ” ๐Ÿ‘† ๐Ÿšซ โš™๏ธ ๐Ÿ“จ ๐Ÿ’ฒ), `.include_router()` ๐Ÿค™, โ™’๏ธ.
    
    FastAPI ๐Ÿ”œ ๐Ÿ’ช ๐Ÿ” โšซ๏ธ.
    
    ///
    
    โคด๏ธ ๐Ÿ‘† ๐Ÿ’ช โฒ ๐Ÿ‘† ๐Ÿ” (โŽ ๐Ÿ‘ซ) โš’ `app.dependency_overrides` ๐Ÿ› `dict`:
    
    ```Python
    app.dependency_overrides = {}
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. tensorflow/build_cleaner_spec.textproto

    # proto-file: devtools/build_cleaner/proto/actions.proto
    # proto-message: ActionSpecs
    
    # Python rules should not have more than one source file.
    action_spec {
      action: CHECK_FILE_COUNT
      file_count_params {
        rule_selector {
          rule_kind_regex: "^.*py(type)?(_strict)?_(binary|library|test).*$"
          generator_function_regex: "^(?!boq_header)$"
        }
        max_source_count: 1
      }
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Wed Nov 29 18:16:42 UTC 2023
    - 387 bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/security/oauth2-scopes.md

    ```Python hl_lines="2  4  8  12  46  64  105  107-115  121-124  128-134  139  153"
    {!../../docs_src/security/tutorial005.py!}
    ```
    
    ไธ‹้ข๏ผŒๆˆ‘ไปฌ้€ๆญฅ่ฏดๆ˜Žไฟฎๆ”น็š„ไปฃ็ ๅ†…ๅฎนใ€‚
    
    ## OAuth2 ๅฎ‰ๅ…จๆ–นๆกˆ
    
    ็ฌฌไธ€ไธชไฟฎๆ”น็š„ๅœฐๆ–นๆ˜ฏ๏ผŒไฝฟ็”จไธคไธชไฝœ็”จๅŸŸ `me` ๅ’Œ `items ` ๅฃฐๆ˜Ž OAuth2 ๅฎ‰ๅ…จๆ–นๆกˆใ€‚
    
    `scopes` ๅ‚ๆ•ฐๆŽฅๆ”ถ**ๅญ—ๅ…ธ**๏ผŒ้”ฎๆ˜ฏไฝœ็”จๅŸŸใ€ๅ€ผๆ˜ฏไฝœ็”จๅŸŸ็š„ๆ่ฟฐ๏ผš
    
    ```Python hl_lines="62-65"
    {!../../docs_src/security/tutorial005.py!}
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top