Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for scoping (0.21 sec)

  1. docs/en/docs/advanced/dataclasses.md

    # Using Dataclasses
    
    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!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/testing-database.md

    ```
    
    !!! tip
        You could reduce duplication in that code by putting it in a function and using it from both `database.py` and `tests/test_sql_app.py`.
    
        For simplicity and to focus on the specific testing code, we are just copying it.
    
    ## Create the database
    
    Because now we are going to use a new database in a new file, we need to make sure we create the database with:
    
    ```Python
    Base.metadata.create_all(bind=engine)
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  3. docs/em/docs/contributing.md

    ```console
    // Use the command "build-all", this will take a bit
    $ python ./scripts/docs.py build-all
    
    Updating es
    Updating en
    Building docs for: en
    Building docs for: es
    Successfully built docs for: es
    Copying en index.md to README.md
    ```
    
    </div>
    
    ๐Ÿ‘ˆ ๐Ÿ— ๐ŸŒ ๐Ÿฉบ `./docs_build/` ๐Ÿ”  ๐Ÿ‡ช๐Ÿ‡ธ. ๐Ÿ‘‰ ๐Ÿ”Œ โŽ ๐Ÿ™† ๐Ÿ“ โฎ๏ธ โŒ โœ, โฎ๏ธ ๐Ÿ—’ ๐Ÿ’ฌ ๐Ÿ‘ˆ "๐Ÿ‘‰ ๐Ÿ“ ๐Ÿšซ โœ”๏ธ โœ". โœ‹๏ธ ๐Ÿ‘† ๐Ÿšซ โœ”๏ธ ๐Ÿ•ณ โฎ๏ธ ๐Ÿ‘ˆ ๐Ÿ“.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  4. docs/pt/docs/contributing.md

    ```console
    // Use o comando "build-all", isso leverรก um tempinho
    $ python ./scripts/docs.py build-all
    
    Updating es
    Updating en
    Building docs for: en
    Building docs for: es
    Successfully built docs for: es
    Copying en index.md to README.md
    ```
    
    </div>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 14.9K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    * `deprecated`: to mark all the *path operations* in a router as deprecated in OpenAPI.
    * `include_in_schema`: to allow disabling all the *path operations* from showing in the OpenAPI schema.
    * `callbacks`: OpenAPI callbacks that apply to all the *path operations* in this router.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  6. docs/fr/docs/contributing.md

    ```console
    // Use the command "build-all", this will take a bit
    $ python ./scripts/docs.py build-all
    
    Updating es
    Updating en
    Building docs for: en
    Building docs for: es
    Successfully built docs for: es
    Copying en index.md to README.md
    ```
    
    </div>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:51:07 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  7. docs/en/docs/deployment/index.md

    This is in contrast to the **development** stages, where you are constantly changing the code, breaking it and fixing it, stopping and restarting the development server, etc.
    
    ## Deployment Strategies
    
    There are several ways to do it depending on your specific use case and the tools that you use.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/events.md

    !!! tip
        The `shutdown` would happen when you are **stopping** the application.
    
        Maybe you need to start a new version, or you just got tired of running it. ๐Ÿคท
    
    ### Lifespan function
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/schema-extra-example.md

    When you do this, the examples will be part of the internal **JSON Schema** for that body data.
    
    Nevertheless, at the <abbr title="2023-08-26">time of writing this</abbr>, Swagger UI, the tool in charge of showing the docs UI, doesn't support showing multiple examples for the data in **JSON Schema**. But read below for a workaround.
    
    ### OpenAPI-specific `examples`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  10. docs/ja/docs/contributing.md

    ```console
    // ใ€Œbuild-allใ€ใ‚ณใƒžใƒณใƒ‰ใฏๅฐ‘ใ—ๆ™‚้–“ใŒใ‹ใ‹ใ‚Šใพใ™ใ€‚
    $ python ./scripts/docs.py build-all
    
    Updating es
    Updating en
    Building docs for: en
    Building docs for: es
    Successfully built docs for: es
    Copying en index.md to README.md
    ```
    
    </div>
    
    ใ“ใ‚Œใงใ€่จ€่ชžใ”ใจใซใ™ในใฆใฎใƒ‰ใ‚ญใƒฅใƒกใƒณใƒˆใŒ`./docs_build/`ใซไฝœๆˆใ•ใ‚Œใพใ™ใ€‚
    
    ใ“ใ‚Œใซใฏใ€็ฟป่จณใŒๆฌ ่ฝใ—ใฆใ„ใ‚‹ใƒ•ใ‚กใ‚คใƒซใ‚’่ฟฝๅŠ ใ™ใ‚‹ใ“ใจใจใ€ใ€Œใ“ใฎใƒ•ใ‚กใ‚คใƒซใซใฏใพใ ็ฟป่จณใŒใชใ„ใ€ใจใ„ใ†ใƒกใƒขใŒๅซใพใ‚Œใพใ™ใ€‚ใŸใ ใ—ใ€ใใฎใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชใงไฝ•ใ‚‚ใ™ใ‚‹ๅฟ…่ฆใฏใ‚ใ‚Šใพใ›ใ‚“ใ€‚
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 16.6K bytes
    - Viewed (0)
Back to top