Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 226 for redeclare (0.12 sec)

  1. docs/en/docs/reference/websockets.md

    # WebSockets
    
    When defining WebSockets, you normally declare a parameter of type `WebSocket` and with it you can read data from the client and send data to it.
    
    It is provided directly by Starlette, but you can import it from `fastapi`:
    
    ```python
    from fastapi import WebSocket
    ```
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exception/ServletRuntimeException.java

    /**
     * Runtime exception wrapper for ServletException.
     *
     * This exception is used to wrap checked ServletExceptions and convert them
     * into unchecked RuntimeExceptions, allowing them to be thrown from methods
     * that don't declare ServletException in their throws clause.
     */
    public class ServletRuntimeException extends RuntimeException {
    
        /** Serial version UID for serialization compatibility. */
        private static final long serialVersionUID = 1L;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

    import com.google.common.base.Function;
    import java.util.concurrent.Executor;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Hidden superclass of {@link FluentFuture} that provides us a place to declare special GWT
     * versions of the {@link FluentFuture#catching(Class, com.google.common.base.Function)
     * FluentFuture.catching} family of methods. Those versions have slightly different signatures.
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/bigger-applications.md

    ```Python hl_lines="1  3" title="app/routers/users.py"
    {!../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    ### *Path operations* with `APIRouter` { #path-operations-with-apirouter }
    
    And then you use it to declare your *path operations*.
    
    Use it the same way you would use the `FastAPI` class:
    
    ```Python hl_lines="6  11  16" title="app/routers/users.py"
    {!../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

    import com.google.common.base.Function;
    import java.util.concurrent.Executor;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Hidden superclass of {@link Futures} that provides us a place to declare special GWT versions of
     * the {@link Futures#catching(ListenableFuture, Class, com.google.common.base.Function)
     * Futures.catching} family of methods. Those versions have slightly different signatures.
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. .github/pull_request_template.md

    To make clear that you license your contribution under
    the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
    you have to acknowledge this by using the following check-box.
    
    - [ ] I hereby declare this contribution to be licenced under the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:30:05 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/using-request-directly.md

    Note that in this case, we are declaring a path parameter beside the request parameter.
    
    So, the path parameter will be extracted, validated, converted to the specified type and annotated with OpenAPI.
    
    The same way, you can declare any other parameter as normally, and additionally, get the `Request` too.
    
    ///
    
    ## `Request` documentation { #request-documentation }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/conditional-openapi.md

    You can easily use the same Pydantic settings to configure your generated OpenAPI and the docs UIs.
    
    For example:
    
    {* ../../docs_src/conditional_openapi/tutorial001.py hl[6,11] *}
    
    Here we declare the setting `openapi_url` with the same default of `"/openapi.json"`.
    
    And then we use it when creating the `FastAPI` app.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/events.md

    Essas funções podem ser declaradas com `async def` ou `def` normal.
    
    ### Evento `startup`
    
    Para adicionar uma função que deve rodar antes da aplicação iniciar, declare-a com o evento `"startup"`:
    
    {* ../../docs_src/events/tutorial001.py hl[8] *}
    
    Nesse caso, a função de manipulação de evento `startup` irá inicializar os itens do "banco de dados" (só um `dict`) com alguns valores.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body-fields.md

    {* ../../docs_src/body_fields/tutorial001.py hl[4] *}
    
    /// warning | Aviso
    
    Note que `Field` é importado diretamente do `pydantic`, não do `fastapi` como todo o resto (`Query`, `Path`, `Body`, etc).
    
    ///
    
    ## Declare atributos do modelo
    
    Você pode então utilizar `Field` com atributos do modelo:
    
    {* ../../docs_src/body_fields/tutorial001.py hl[11:14] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top