Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for light (0.06 sec)

  1. docs/en/mkdocs.yml

      palette:
      - media: '(prefers-color-scheme: light)'
        scheme: default
        primary: teal
        accent: amber
        toggle:
          icon: material/lightbulb
          name: Switch to dark mode
      - media: '(prefers-color-scheme: dark)'
        scheme: slate
        primary: teal
        accent: amber
        toggle:
          icon: material/lightbulb-outline
          name: Switch to light mode
      features:
      - search.suggest
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/async-sql-encode-databases.md

    * MySQL
    * SQLite
    
    In this example, we'll use **SQLite**, because it uses a single file and Python has integrated support. So, you can copy this example and run it as is.
    
    Later, for your production application, you might want to use a database server like **PostgreSQL**.
    
    !!! tip
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/dataclasses.md

    This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic.
    
    !!! info
        Keep in mind that dataclasses can't do everything Pydantic models can do.
    
        So, you might still need to use Pydantic models.
    
        But if you have a bunch of dataclasses laying around, this is a nice trick to use them to power a web API using FastAPI. 🤓
    
    ## Dataclasses in `response_model`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. docs/en/overrides/main.html

        </div>
      </div>
      <div id="announce-right" style="position: relative;">
        <div class="item">
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 30 13:28:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. docs/en/docs/fastapi-cli.md

    In most cases you would (and should) have a "termination proxy" handling HTTPS for you on top, this will depend on how you deploy your application, your provider might do this for you, or you might need to set it up yourself.
    
    !!! tip
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Jun 12 23:39:50 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

        Some editors check for unused function parameters, and show them as errors.
    
        Using these `dependencies` in the *path operation decorator* you can make sure they are executed while avoiding editor/tooling errors.
    
        It might also help avoid confusion for new developers that see an unused parameter in your code and could think it's unnecessary.
    
    !!! info
        In this example we use invented custom headers `X-Key` and `X-Token`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/extra-models.md

    ```Python
    UserInDB(
        username="john",
        password="secret",
        email="******@****.***",
        full_name=None,
    )
    ```
    
    Or more exactly, using `user_dict` directly, with whatever contents it might have in the future:
    
    ```Python
    UserInDB(
        username = user_dict["username"],
        password = user_dict["password"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
    )
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/events.md

    And then, right after the `yield`, we unload the model. This code will be executed **after** the application **finishes handling requests**, right before the *shutdown*. This could, for example, release resources like memory or a GPU.
    
    !!! tip
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/background-tasks.md

    This includes, for example:
    
    * Email notifications sent after performing an action:
        * As connecting to an email server and sending an email tends to be "slow" (several seconds), you can return the response right away and send the email notification in the background.
    * Processing data:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/handling-errors.md

    The benefit of raising an exception over `return`ing a value will be more evident in the section about Dependencies and Security.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top