Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Goulden (0.2 sec)

  1. docs/en/docs/advanced/security/http-basic-auth.md

    `secrets.compare_digest()` needs to take `bytes` or a `str` that only contains ASCII characters (the ones in English), this means it wouldn't work with characters like `á`, as in `Sebastián`.
    
    To handle that, we first convert the `username` and `password` to `bytes` encoding them with UTF-8.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 14:33:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/sql-databases-peewee.md

    ```Python hl_lines="3  5  22"
    {!../../../docs_src/sql_databases_peewee/sql_app/database.py!}
    ```
    
    !!! tip
        Keep in mind that if you wanted to use a different database, like PostgreSQL, you couldn't just change the string. You would need to use a different Peewee database class.
    
    #### Note
    
    The argument:
    
    ```Python
    check_same_thread=False
    ```
    
    is equivalent to the one in the SQLAlchemy tutorial:
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. fastapi/datastructures.py

                    """
                    The bytes to write to the file.
                    """
                ),
            ],
        ) -> None:
            """
            Write some bytes to the file.
    
            You normally wouldn't use this from a file you read in a request.
    
            To be awaitable, compatible with async, this is run in threadpool.
            """
            return await super().write(data)
    
        async def read(
            self,
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. docs/en/docs/async.md

    All of the cashiers doing all the work with one client after the other 👨‍💼⏯.
    
    And you have to wait 🕙 in the line for a long time or you lose your turn.
    
    You probably wouldn't want to take your crush 😍 with you to do errands at the bank 🏦.
    
    ### Burger Conclusion
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/simple-oauth2.md

    OAuth2 specifies that when using the "password flow" (that we are using) the client/user must send a `username` and `password` fields as form data.
    
    And the spec says that the fields have to be named like that. So `user-name` or `email` wouldn't work.
    
    But don't worry, you can show it as you wish to your final users in the frontend.
    
    And your database models can use any other names you want.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body.md

    <img src="/img/tutorial/body/image02.png">
    
    ## Editor support
    
    In your editor, inside your function you will get type hints and completion everywhere (this wouldn't happen if you received a `dict` instead of a Pydantic model):
    
    <img src="/img/tutorial/body/image03.png">
    
    You also get error checks for incorrect type operations:
    
    <img src="/img/tutorial/body/image04.png">
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  7. fastapi/applications.py

                    ---
    
                    A list of routes to serve incoming HTTP and WebSocket requests.
                    """
                ),
                deprecated(
                    """
                    You normally wouldn't use this parameter with FastAPI, it is inherited
                    from Starlette and supported for compatibility.
    
                    In FastAPI, you normally would use the *path operation methods*,
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/docker.md

    #### Docker Compose
    
    You could be deploying to a **single server** (not a cluster) with **Docker Compose**, so you wouldn't have an easy way to manage replication of containers (with Docker Compose) while preserving the shared network and **load balancing**.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  9. fastapi/routing.py

                    ---
    
                    A list of routes to serve incoming HTTP and WebSocket requests.
                    """
                ),
                deprecated(
                    """
                    You normally wouldn't use this parameter with FastAPI, it is inherited
                    from Starlette and supported for compatibility.
    
                    In FastAPI, you normally would use the *path operation methods*,
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  10. docs/en/docs/alternatives.md

    # Alternatives, Inspiration and Comparisons
    
    What inspired **FastAPI**, how it compares to alternatives and what it learned from them.
    
    ## Intro
    
    **FastAPI** wouldn't exist if not for the previous work of others.
    
    There have been many tools created before that have helped inspire its creation.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
Back to top