Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 176 for dash (0.53 sec)

  1. .github/workflows/test-redistribute.yml

            run: |
              cd dist/fastapi*/
              pip install -r requirements-tests.txt
          - name: Run source distribution tests
            run: |
              cd dist/fastapi*/
              bash scripts/test.sh
          - name: Build wheel distribution
            run: |
              cd dist
              pip wheel --no-deps fastapi*.tar.gz
          - name: Dump GitHub context
            env:
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 30 06:38:13 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_security/test_tutorial005_py39.py

        assert verify_password("secret", fake_users_db["johndoe"]["hashed_password"])
    
    
    @needs_py39
    def test_get_password_hash():
        from docs_src.security.tutorial005_py39 import get_password_hash
    
        assert get_password_hash("secretalice")
    
    
    @needs_py39
    def test_create_access_token():
        from docs_src.security.tutorial005_py39 import create_access_token
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  3. docs/pt/docs/async.md

    ---
    
    Se você está usando biblioteca de terceiros que se comunica com alguma coisa (um banco de dados, uma API, sistema de arquivos etc) e não tem suporte para utilizar `await` (esse é atualmente o caso para a maioria das bibliotecas de banco de dados), então declare suas *funções de operação de rota* normalmente, com apenas `def`, como:
    
    ```Python hl_lines="2"
    @app.get('/')
    def results():
        results = some_library()
        return results
    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)
  4. docs/en/docs/how-to/nosql-databases-couchbase.md

    So, if the `dict` contains:
    
    ```Python
    {
        "username": "johndoe",
        "hashed_password": "some_hash",
    }
    ```
    
    It will be passed to `UserInDB` as:
    
    ```Python
    UserInDB(username="johndoe", hashed_password="some_hash")
    ```
    
    ## Create your **FastAPI** code
    
    ### Create the `FastAPI` app
    
    ```Python hl_lines="46"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 6K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/cookie-params.md

        ```
    
    !!! note "Technische Details"
        `Cookie` ist eine Schwesterklasse von `Path` und `Query`. Sie erbt von derselben gemeinsamen `Param`-Elternklasse.
    
        Aber erinnern Sie sich, dass, wenn Sie `Query`, `Path`, `Cookie` und andere von `fastapi` importieren, diese tatsächlich Funktionen sind, welche spezielle Klassen zurückgeben.
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:02:19 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/templates.md

        Você também poderia usar `from starlette.templating import Jinja2Templates`.
    
        **FastAPI** fornece o mesmo `starlette.templating` como `fastapi.templating` apenas como uma conveniência para você, o desenvolvedor. Mas a maioria das respostas disponíveis vêm diretamente do Starlette. O mesmo acontece com `Request` e `StaticFiles`.
    
    ## Escrevendo Templates
    
    Então você pode escrever um template em `templates/item.html`, por exemplo:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 28 04:05:17 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  7. docs/en/docs/deployment/concepts.md

    Here are some possible ideas:
    
    * An "Init Container" in Kubernetes that runs before your app container
    * A bash script that runs the previous steps and then starts your application
        * You would still need a way to start/restart *that* bash script, detect errors, etc.
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/events.md

    
    Isso é que nós iremos resolver, vamos carregar o modelo antes das requisições serem manuseadas, mas apenas um pouco antes da aplicação começar a receber requisições, não enquanto o código estiver sendo carregado.
    
    ## Vida útil (_Lifespan_)
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/query-params-str-validations.md

    * `$`: termina aqui, não contém nenhum caractere após `fixedquery`.
    
    Se você se sente perdido com todo esse assunto de **"expressão regular"**, não se preocupe. Esse é um assunto complicado para a maioria das pessoas. Você ainda pode fazer muitas coisas sem utilizar expressões regulares.
    
    Mas assim que você precisar e já tiver aprendido sobre, saiba que você poderá usá-las diretamente no **FastAPI**.
    
    ## Valores padrão
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/settings.md

    !!! tip
        👉 👷, 👆 💪 `pip install python-dotenv`.
    
    ###  `.env` 📁
    
    👆 💪 ✔️ `.env` 📁 ⏮️:
    
    ```bash
    ADMIN_EMAIL="******@****.***"
    APP_NAME="ChimichangApp"
    ```
    
    ### ✍ ⚒ ⚪️➡️ `.env`
    
    & ⤴️ ℹ 👆 `config.py` ⏮️:
    
    ```Python hl_lines="9-10"
    {!../../../docs_src/settings/app03/config.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.4K bytes
    - Viewed (0)
Back to top