Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 175 for terms (0.14 sec)

  1. docs_src/metadata/tutorial001_1.py

    * **Read users** (_not implemented_).
    """
    
    app = FastAPI(
        title="ChimichangApp",
        description=description,
        summary="Deadpool's favorite app. Nuff said.",
        version="0.0.1",
        terms_of_service="http://example.com/terms/",
        contact={
            "name": "Deadpoolio the Amazing",
            "url": "http://x-force.example.com/contact/",
            "email": "******@****.***",
        },
        license_info={
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 767 bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/metadata.md

    | ๐Ÿ”ข | ๐Ÿ†Ž | ๐Ÿ“› |
    |------------|------|-------------|
    | `title` | `str` | ๐Ÿ“› ๐Ÿ› ๏ธ. |
    | `description` | `str` | ๐Ÿ“ ๐Ÿ“› ๐Ÿ› ๏ธ. โšซ๏ธ ๐Ÿ’ช โš™๏ธ โœ. |
    | `version` | `string` | โฌ ๐Ÿ› ๏ธ. ๐Ÿ‘‰ โฌ ๐Ÿ‘† ๐Ÿ‘ ๐Ÿˆธ, ๐Ÿšซ ๐Ÿ—„. ๐Ÿ–ผ `2.5.0`. |
    | `terms_of_service` | `str` | ๐Ÿ“› โš– ๐Ÿ•โ€๐Ÿฆบ ๐Ÿ› ๏ธ. ๐Ÿšฅ ๐Ÿšš, ๐Ÿ‘‰ โœ”๏ธ ๐Ÿ“›. |
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/response-model.md

    === "Python 3.8+"
    
        ```Python hl_lines="9-13  15-16  20"
        {!> ../../../docs_src/response_model/tutorial003_01.py!}
        ```
    
    With this, we get tooling support, from editors and mypy as this code is correct in terms of types, but we also get the data filtering from FastAPI.
    
    How does this work? Let's check that out. ๐Ÿค“
    
    ### Type Annotations and Tooling
    
    First let's see how editors, mypy and other tools would see this.
    
    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. tests/test_tutorial/test_metadata/test_tutorial001.py

                "termsOfService": "http://example.com/terms/",
                "contact": {
                    "name": "Deadpoolio the Amazing",
                    "url": "http://x-force.example.com/contact/",
                    "email": "******@****.***",
                },
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/metadata.md

    | `description` | `str` | A short description of the API. It can use Markdown. |
    | `version` | `string` | The version of the API. This is the version of your own application, not of OpenAPI. For example `2.5.0`. |
    | `terms_of_service` | `str` | A URL to the Terms of Service for the API. If provided, this has to be a URL. |
    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_src/metadata/tutorial001.py

    * **Read users** (_not implemented_).
    """
    
    app = FastAPI(
        title="ChimichangApp",
        description=description,
        summary="Deadpool's favorite app. Nuff said.",
        version="0.0.1",
        terms_of_service="http://example.com/terms/",
        contact={
            "name": "Deadpoolio the Amazing",
            "url": "http://x-force.example.com/contact/",
            "email": "******@****.***",
        },
        license_info={
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 805 bytes
    - Viewed (0)
  7. docs/en/docs/contributing.md

    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    That will create a directory `./env/` with the Python binaries, and then you will be able to install packages for that local environment.
    
    ### Activate the environment
    
    Activate the new environment with:
    
    === "Linux, macOS"
    
        <div class="termy">
    
        ```console
        $ source ./env/bin/activate
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 17:42:43 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. docs/em/docs/contributing.md

    ๐Ÿ‘† ๐Ÿ’ช โœ ๐Ÿ•น ๐ŸŒ ๐Ÿ“ โš™๏ธ ๐Ÿ `venv` ๐Ÿ•น:
    
    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    ๐Ÿ‘ˆ ๐Ÿ”œ โœ ๐Ÿ“ `./env/` โฎ๏ธ ๐Ÿ ๐Ÿ’ฑ &amp; โคด๏ธ ๐Ÿ‘† ๐Ÿ”œ ๐Ÿ’ช โŽ ๐Ÿ“ฆ ๐Ÿ‘ˆ โŽ ๐ŸŒ.
    
    ### ๐Ÿ”“ ๐ŸŒ
    
    ๐Ÿ”“ ๐Ÿ†• ๐ŸŒ โฎ๏ธ:
    
    === "๐Ÿ’พ, ๐Ÿ‡ธ๐Ÿ‡ป"
    
        <div class="termy">
    
        ```console
        $ source ./env/bin/activate
        ```
    
        </div>
    
    === "๐Ÿšช ๐Ÿ“‹"
    
        <div class="termy">
    
        ```console
    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)
  9. docs/en/docs/tutorial/first-steps.md

    # First Steps
    
    The simplest FastAPI file could look like this:
    
    ```Python
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Copy that to a file `main.py`.
    
    Run the live server:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u>
    <font color="#3465A4">INFO    </font> Using path <font color="#3465A4">main.py</font>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 12K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/manually.md

    === "Uvicorn"
    
        <div class="termy">
    
        ```console
        $ uvicorn main:app --host 0.0.0.0 --port 80
    
        <span style="color: green;">INFO</span>:     Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
        ```
    
        </div>
    
    === "Hypercorn"
    
        <div class="termy">
    
        ```console
        $ hypercorn main:app --bind 0.0.0.0:80
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.2K bytes
    - Viewed (0)
Back to top