Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 497 for declare (0.07 sec)

  1. docs/es/docs/advanced/path-operation-advanced-configuration.md

    ## Responses Adicionales { #additional-responses }
    
    Probablemente has visto cómo declarar el `response_model` y el `status_code` para una *path operation*.
    
    Eso define los metadatos sobre el response principal de una *path operation*.
    
    También puedes declarar responses adicionales con sus modelos, códigos de estado, etc.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/first-steps.md

    * The user types the `username` and `password` in the frontend, and hits `Enter`.
    * The frontend (running in the user's browser) sends that `username` and `password` to a specific URL in our API (declared with `tokenUrl="token"`).
    * The API checks that `username` and `password`, and responds with a "token" (we haven't implemented any of this yet).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.28.md

    - Pods which set `hostNetwork: true` and declare ports, get the `hostPort` field set automatically. Previously this would happen in the PodTemplate of a Deployment, DaemonSet or other workload API.  Now `hostPort` will only be set when an actual Pod is being created.  If this presents a problem,...
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Fri Sep 05 03:47:18 UTC 2025
    - 456.9K bytes
    - Viewed (1)
  4. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    //// tab | Python 3.9+ non-Annotated
    
    /// tip | Dica
    
    Utilize a versão com `Annotated` se possível.
    
    ///
    
    ```Python
    commons: CommonQueryParams = Depends()
    ```
    
    ////
    
    Você declara a dependência como o tipo do parâmetro, e utiliza `Depends()` sem nenhum parâmetro, em vez de ter que escrever a classe *novamente* dentro de `Depends(CommonQueryParams)`.
    
    O mesmo exemplo ficaria então dessa forma:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/sql-databases.md

    Como cada modelo SQLModel também é um modelo Pydantic, você pode usá-lo nas mesmas **anotações de tipo** que usaria para modelos Pydantic.
    
    Por exemplo, se você declarar um parâmetro do tipo `Hero`, ele será lido do **corpo JSON**.
    
    Da mesma forma, você pode declará-lo como o **tipo de retorno** da função, e então o formato dos dados aparecerá na interface de documentação automática da API.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  6. docs/es/docs/advanced/templates.md

    ```console
    $ pip install jinja2
    
    ---> 100%
    ```
    
    </div>
    
    ## Usando `Jinja2Templates` { #using-jinja2templates }
    
    * Importa `Jinja2Templates`.
    * Crea un objeto `templates` que puedas reutilizar más tarde.
    * Declara un parámetro `Request` en la *path operation* que devolverá una plantilla.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/response-model.md

    Si tienes chequeos estrictos de tipos en tu editor, mypy, etc., puedes declarar el tipo de retorno de la función como `Any`.
    
    De esa manera le dices al editor que intencionalmente estás devolviendo cualquier cosa. Pero FastAPI todavía hará la documentación de datos, validación, filtrado, etc. con `response_model`.
    
    ///
    
    ### Prioridad del `response_model` { #response-model-priority }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

           * be used with collections that may contain null. This collection never contains nulls, so we
           * could return `Object[]`. But this class is private and J2KT cannot change return types in
           * overrides, so we declare `@Nullable Object[]` as the return type.
           */
          return standardToArray();
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Maps.java

           * be used with collections that may contain null. This collection never contains nulls, so we
           * could return `Object[]`. But this class is private and J2KT cannot change return types in
           * overrides, so we declare `@Nullable Object[]` as the return type.
           */
          return standardToArray();
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/security/simple-oauth2.md

    Normalmente se utilizan para declarar permisos de seguridad específicos, por ejemplo:
    
    * `users:read` o `users:write` son ejemplos comunes.
    * `instagram_basic` es usado por Facebook / Instagram.
    * `https://www.googleapis.com/auth/drive` es usado por Google.
    
    /// info | Información
    
    En OAuth2 un "scope" es solo un string que declara un permiso específico requerido.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top