Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 137 for segera (0.06 sec)

  1. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    /// tip | "Dica"
    
    Utilize a versão com `Annotated` se possível.
    
    ///
    
    ```Python hl_lines="19"
    {!> ../../docs_src/dependencies/tutorial004.py!}
    ```
    
    ////
    
    ...e o **FastAPI** saberá o que fazer.
    
    /// tip | "Dica"
    
    Se isso parece mais confuso do que útil, não utilize, você não *precisa* disso.
    
    É apenas um atalho. Por que o **FastAPI** se preocupa em ajudar a minimizar a repetição de código.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/additional-responses.md

    Cada um desses `dict` de retorno pode ter uma chave `model`, contendo um modelo do Pydantic, assim como o `response_model`.
    
    O **FastAPI** pegará este modelo, gerará o esquema JSON dele e incluirá no local correto do OpenAPI.
    
    Por exemplo, para declarar um outro retorno com o status code `404` e um modelo do Pydantic chamado `Message`, você pode escrever:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. docs/en/docs/reference/responses.md

    # Custom Response Classes - File, HTML, Redirect, Streaming, etc.
    
    There are several custom response classes you can use to create an instance and return them directly from your *path operations*.
    
    Read more about it in the [FastAPI docs for Custom Response - HTML, Stream, File, others](https://fastapi.tiangolo.com/advanced/custom-response/).
    
    You can import them directly from `fastapi.responses`:
    
    ```python
    from fastapi.responses import (
        FileResponse,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompoundOrdering.java

    import java.io.Serializable;
    import java.util.Arrays;
    import java.util.Comparator;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** An ordering that tries several comparators in order. */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class CompoundOrdering<T extends @Nullable Object> extends Ordering<T>
        implements Serializable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. docs/es/docs/project-generation.md

        - 🧪 [Playwright](https://playwright.dev) para pruebas End-to-End.
        - 🦇 Soporte para modo oscuro.
    - 🐋 [Docker Compose](https://www.docker.com) para desarrollo y producción.
    - 🔒 Hashing seguro de contraseñas por defecto.
    - 🔑 Autenticación con token JWT.
    - 📫 Recuperación de contraseñas basada en email.
    - ✅ Tests con [Pytest](https://pytest.org).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Oct 04 11:16:34 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. istioctl/cmd/options_test.go

    `
    
    func TestLogHelp(t *testing.T) {
    	var out bytes.Buffer
    	rootCmd := GetRootCmd([]string{"options"})
    	rootCmd.SetOut(&out)
    	rootCmd.SetErr(&out)
    
    	fErr := rootCmd.Execute()
    	if fErr != nil {
    		t.Fatalf("options failed with %v and %q\n", fErr, out.String())
    	}
    	if !regexp.MustCompile(expectedOutput).Match(out.Bytes()) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 14 02:38:54 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/path-params.md

    Sin embargo, lo puedes hacer en **FastAPI** usando una de las herramientas internas de Starlette.
    
    La documentación seguirá funcionando, aunque no añadirá ninguna información diciendo que el parámetro debería contener un path.
    
    ### Convertidor de path
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. fastapi/security/oauth2.py

                    """
                ),
            ],
            scope: Annotated[
                str,
                Form(),
                Doc(
                    """
                    A single string with actually several scopes separated by spaces. Each
                    scope is also a string.
    
                    For example, a single string with:
    
                    ```python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

                Thread.interrupted();
                if (interruptingThread.isAlive()) {
                  // This will be hidden by test-output redirection:
                  logger.severe("InterruptenatorTask did not exit; future tests may be affected");
                  /*
                   * This won't do any good under JUnit 3, but I'll leave it around in
                   * case we ever switch to JUnit 4:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/dependencies/index.md

    Você pode pensar nela como uma *função de operação de rota* sem o "decorador" (sem a linha `@app.get("/some-path")`).
    
    E com qualquer retorno que você desejar.
    
    Neste caso, a dependência espera por:
    
    * Um parâmetro de consulta opcional `q` do tipo `str`.
    * Um parâmetro de consulta opcional `skip` do tipo `int`, e igual a `0` por padrão.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top