Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for copied (0.19 sec)

  1. fastapi/openapi/docs.py

    def get_swagger_ui_oauth2_redirect_html() -> HTMLResponse:
        """
        Generate the HTML response with the OAuth2 redirection for Swagger UI.
    
        You normally don't need to use or change this.
        """
        # copied from https://github.com/swagger-api/swagger-ui/blob/v4.14.0/dist/oauth2-redirect.html
        html = """
        <!doctype html>
        <html lang="en-US">
        <head>
            <title>Swagger UI: OAuth2 Redirect</title>
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body-updates.md

    * Create a copy of the stored model, updating it's attributes with the received partial updates (using the `update` parameter).
    * Convert the copied model to something that can be stored in your DB (for example, using the `jsonable_encoder`).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/index.md

    It is also built to work as a future reference.
    
    So you can come back and see exactly what you need.
    
    ## Run the code
    
    All the code blocks can be copied and used directly (they are actually tested Python files).
    
    To run any of the examples, copy the code to a file `main.py`, and start `fastapi dev` with:
    
    <div class="termy">
    
    ```console
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/index.md

    ## Rode o código
    
    Todos os blocos de código podem ser copiados e utilizados diretamente (eles são, na verdade, arquivos Python testados).
    
    Para rodar qualquer um dos exemplos, copie o codigo para um arquivo `main.py`, e inicie o `uvivorn` com:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. docs/en/docs/alternatives.md

    ### <a href="https://www.djangoproject.com/" class="external-link" target="_blank">Django</a>
    
    It's the most popular Python framework and is widely trusted. It is used to build systems like Instagram.
    
    It's relatively tightly coupled with relational databases (like MySQL or PostgreSQL), so, having a NoSQL database (like Couchbase, MongoDB, Cassandra, etc) as the main store engine is not very easy.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/index.md

    Funciona también como una referencia futura, para que puedas volver y ver exactamente lo que necesitas.
    
    ## Ejecuta el código
    
    Todos los bloques de código se pueden copiar y usar directamente (en realidad son archivos Python probados).
    
    Para ejecutar cualquiera de los ejemplos, copia el código en un archivo llamado `main.py`, y ejecuta `uvicorn` de la siguiente manera en tu terminal:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/first-steps.md

    # Primeiros Passos
    
    O arquivo FastAPI mais simples pode se parecer com:
    
    ```Python
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Copie o conteúdo para um arquivo `main.py`.
    
    Execute o servidor:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  8. docs/en/docs/async.md

    And that's the same level of performance you get with **FastAPI**.
    
    And as you can have parallelism and asynchronicity at the same time, you get higher performance than most of the tested NodeJS frameworks and on par with Go, which is a compiled language closer to C <a href="https://www.techempower.com/benchmarks/#section=data-r17&hw=ph&test=query&l=zijmkf-1" class="external-link" target="_blank">(all thanks to Starlette)</a>.
    
    ### Is concurrency better than parallelism?
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  9. docs/pt/docs/deployment/docker.md

    7. Defina o diretório de trabalho atual como `/code`.
    
    8. Copie o arquivo `requirements.txt` para o diretório `/code`.
    
        Essse arquivo só existe no estágio anterior do Docker, é por isso que usamos `--from-requirements-stage` para copiá-lo.
    
    9. Instale as dependências de pacote do arquivo `requirements.txt` gerado.
    
    10. Copie o diretório `app` para o diretório `/code`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/security/first-steps.md

    ## Como Parece
    
    Vamos primeiro usar o código e ver como funciona, e depois voltaremos para entender o que está acontecendo.
    
    ## Crie um `main.py`
    Copie o exemplo em um arquivo `main.py`:
    
    ```Python
    {!../../../docs_src/security/tutorial001.py!}
    ```
    
    ## Execute-o
    
    !!! info "informação"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.3K bytes
    - Viewed (0)
Back to top