Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for rebawl (0.16 sec)

  1. docs/en/docs/tutorial/testing.md

    ## Separating tests
    
    In a real application, you probably would have your tests in a different file.
    
    And your **FastAPI** application might also be composed of several files/modules, etc.
    
    ### **FastAPI** app file
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/oauth2-jwt.md

        ```Python hl_lines="89-106"
        {!> ../../../docs_src/security/tutorial004.py!}
        ```
    
    ## Update the `/token` *path operation*
    
    Create a `timedelta` with the expiration time of the token.
    
    Create a real JWT access token and return it.
    
    === "Python 3.10+"
    
        ```Python hl_lines="117-132"
        {!> ../../../docs_src/security/tutorial004_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/bigger-applications.md

        {!> ../../../docs_src/bigger_applications/app/dependencies.py!}
        ```
    
    !!! tip
        We are using an invented header to simplify this example.
    
        But in real cases you will get better results using the integrated [Security utilities](security/index.md){.internal-link target=_blank}.
    
    ## Another module with `APIRouter`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  4. docs/pt/docs/async.md

    Ainda assim, a última experiência não foi a melhor.
    
    ---
    
    Essa poderia ser a história paralela equivalente aos hambúrgueres.
    
    Para um exemplo "mais real", imagine um banco.
    
    Até recentemente, a maioria dos bancos tinha muitos caixas e uma grande fila.
    
    Todos os caixas fazendo todo o trabalho, um cliente após o outro.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    * Update GitHub action issue-manager. PR [#1520](https://github.com/tiangolo/fastapi/pull/1520).
    * Add new links:
        * **English articles**:
            * [Real-time Notifications with Python and Postgres](https://wuilly.com/2019/10/real-time-notifications-with-python-and-postgres/) by [Guillermo Cruz](https://wuilly.com/).
    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/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    !!! info
        In this example we use invented custom headers `X-Key` and `X-Token`.
    
        But in real cases, when implementing security, you would get more benefits from using the integrated [Security utilities (the next chapter)](../security/index.md){.internal-link target=_blank}.
    
    ## Dependencies errors and return values
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/extra-models.md

        hashed_password = hashed_password,
    )
    ```
    
    !!! warning
        The supporting additional functions are just to demo a possible flow of the data, but they of course are not providing any real security.
    
    ## Reduce duplication
    
    Reducing code duplication is one of the core ideas in **FastAPI**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  8. docs/en/data/external_links.yml

        title: Microservice in Python using FastAPI
      - author: Guillermo Cruz
        author_link: https://wuilly.com/
        link: https://wuilly.com/2019/10/real-time-notifications-with-python-and-postgres/
        title: Real-time Notifications with Python and Postgres
      - author: Navule Pavan Kumar Rao
        author_link: https://www.linkedin.com/in/navule/
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 21 20:57:27 GMT 2024
    - 21.3K bytes
    - Viewed (2)
  9. docs/pt/docs/tutorial/extra-models.md

        hashed_password = hashed_password,
    )
    ```
    
    !!! warning
        As funções adicionais de suporte são apenas para demonstração de um fluxo possível dos dados, mas é claro que elas não fornecem segurança real.
    
    ## Reduzir duplicação
    
    Reduzir a duplicação de código é uma das ideias principais no **FastAPI**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/simple-oauth2.md

    For this simple example, we are going to just be completely insecure and return the same `username` as the token.
    
    !!! tip
        In the next chapter, you will see a real secure implementation, with password hashing and <abbr title="JSON Web Tokens">JWT</abbr> tokens.
    
        But for now, let's focus on the specific details we need.
    
    === "Python 3.10+"
    
        ```Python hl_lines="87"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
Back to top