Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Prestes (0.2 sec)

  1. docs/pt/docs/deployment/versions.md

    ## Atualizando as versões do FastAPI
    
    Você deve adicionar testes para a sua aplicação.
    
    Com **FastAPI** isso é muito fácil (graças a Starlette), verifique a documentação: [Testing](../tutorial/testing.md){.internal-link target=\_blank}
    
    Após a criação dos testes, você pode atualizar a sua versão do **FastAPI** para uma mais recente, execute os testes para se certificar de que todo o seu código está funcionando corretamente.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jul 29 20:14:40 GMT 2021
    - 3.8K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/configure-swagger-ui.md

    ## JavaScript-only settings
    
    Swagger UI also allows other configurations to be **JavaScript-only** objects (for example, JavaScript functions).
    
    FastAPI also includes these JavaScript-only `presets` settings:
    
    ```JavaScript
    presets: [
        SwaggerUIBundle.presets.apis,
        SwaggerUIBundle.SwaggerUIStandalonePreset
    ]
    ```
    
    These are **JavaScript** objects, not strings, so you can't pass them from Python code directly.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/middleware.md

    Eine Middleware muss nicht speziell für FastAPI oder Starlette gemacht sein, um zu funktionieren, solange sie der ASGI-Spezifikation genügt.
    
    Im Allgemeinen handelt es sich bei ASGI-Middleware um Klassen, die als erstes Argument eine ASGI-Anwendung erwarten.
    
    In der Dokumentation für ASGI-Middlewares von Drittanbietern wird Ihnen wahrscheinlich gesagt, etwa Folgendes zu tun:
    
    ```Python
    from unicorn import UnicornMiddleware
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:18:15 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. docs/pt/docs/alternatives.md

    * Suporte a GraphQL.
    * Tarefas de processamento interno por trás dos panos.
    * Eventos de inicialização e encerramento.
    * Cliente de testes construído com requests.
    * Respostas CORS, GZip, Arquivos Estáticos, Streaming.
    * Suporte para Sessão e Cookie.
    * 100% coberto por testes.
    * Código base 100% anotado com tipagem.
    * Dependências complexas Zero.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  5. docs/fr/docs/deployment/manually.md

    </div>
    
    Et cela démarrera Hypercorn avec votre application en utilisant Trio comme backend.
    
    Vous pouvez désormais utiliser Trio en interne dans votre application. Ou mieux encore, vous pouvez utiliser AnyIO pour que votre code reste compatible avec Trio et asyncio. 🎉
    
    ## Concepts de déploiement
    
    Ces exemples lancent le programme serveur (e.g. Uvicorn), démarrant **un seul processus**, sur toutes les IPs (`0.0.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 04 12:02:09 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="19"
        {!> ../../../docs_src/dependencies/tutorial002.py!}
        ```
    
    **FastAPI** calls the `CommonQueryParams` class. This creates an "instance" of that class and the instance will be passed as the parameter `commons` to your function.
    
    ## Type annotation vs `Depends`
    
    Notice how we write `CommonQueryParams` twice in the above code:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Underneath, the `open("./somefile.txt")` creates an object that is called a "Context Manager".
    
    When the `with` block finishes, it makes sure to close the file, even if there were exceptions.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. fastapi/openapi/docs.py

        if oauth2_redirect_url:
            html += f"oauth2RedirectUrl: window.location.origin + '{oauth2_redirect_url}',"
    
        html += """
        presets: [
            SwaggerUIBundle.presets.apis,
            SwaggerUIBundle.SwaggerUIStandalonePreset
            ],
        })"""
    
        if init_oauth:
            html += f"""
            ui.initOAuth({json.dumps(jsonable_encoder(init_oauth))})
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  9. docs/pt/docs/fastapi-people.md

    * Revisar Pull Requests, [especially important for translations](contributing.md#traducoes){.internal-link target=_blank}.
    
    Uma salva de palmas para eles. 👏 🙇
    
    ## Usuários mais ativos do ultimo mês
    
    Estes são os usuários que estão [helping others the most with issues (questions) in GitHub](help-fastapi.md#responda-perguntas-no-github){.internal-link target=_blank} durante o ultimo mês. ☕
    
    {% if people %}
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/metadata.md

    Auch wenn beispielsweise `users` im Alphabet nach `items` kommt, wird es vor diesen angezeigt, da wir seine Metadaten als erstes Dict der Liste hinzugefügt haben.
    
    ## OpenAPI-URL
    
    Standardmäßig wird das OpenAPI-Schema unter `/openapi.json` bereitgestellt.
    
    Sie können das aber mit dem Parameter `openapi_url` konfigurieren.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:25:38 GMT 2024
    - 6.6K bytes
    - Viewed (0)
Back to top