- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 346 for redeclare (0.11 sec)
-
docs/en/docs/alternatives.md
Hug inspired parts of APIStar, and was one of the tools I found most promising, alongside APIStar. Hug helped inspiring **FastAPI** to use Python type hints to declare parameters, and to generate a schema defining the API automatically. Hug inspired **FastAPI** to declare a `response` parameter in functions to set headers and cookies. ///
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 23.6K bytes - Viewed (0) -
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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-params-numeric-validations.md
Certifique-se de [Atualizar a versão do FastAPI](../deployment/versions.md#upgrading-the-fastapi-versions){.internal-link target=_blank} para pelo menos 0.95.1 antes de usar `Annotated`. /// ## Declare metadados { #declare-metadata } Você pode declarar todos os mesmos parâmetros que em `Query`. Por exemplo, para declarar um valor de metadado `title` para o parâmetro de path `item_id` você pode digitar:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.7K bytes - Viewed (0) -
docs/en/docs/reference/response.md
# `Response` class You can declare a parameter in a *path operation function* or dependency to be of type `Response` and then you can set data for the response like headers or cookies. You can also use it directly to create an instance of it and return it from your *path operations*. You can import it directly from `fastapi`: ```python from fastapi import Response ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 397 bytes - Viewed (0) -
docs/fr/docs/tutorial/query-params-str-validations.md
/// ## Rendre ce paramètre requis Quand on ne déclare ni validation, ni métadonnée, on peut rendre le paramètre `q` requis en ne lui déclarant juste aucune valeur par défaut : ```Python q: str ``` à la place de : ```Python q: Union[str, None] = None ``` Mais maintenant, on déclare `q` avec `Query`, comme ceci : ```Python
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 9.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
* IOException}, {@code RuntimeException} or {@code Error}. Otherwise, it will be rethrown wrapped * in a {@code RuntimeException}. <b>Note:</b> Be sure to declare all of the checked exception * types your try block can throw when calling an overload of this method so as to avoid losing * the original exception type. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
mockwebserver-junit4/README.md
To use, first add this library as a test dependency: ``` testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:5.3.0") ``` Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation: ``` @Rule public final MockWebServerRule serverRule = new MockWebServerRule(); ``` The `serverRule` field has a `server` field. It is an instance of `MockWebServer`. That instanceRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 706 bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
Because each SQLModel model is also a Pydantic model, you can use it in the same **type annotations** that you could use Pydantic models. For example, if you declare a parameter of type `Hero`, it will be read from the **JSON body**. The same way, you can declare it as the function's **return type**, and then the shape of the data will show up in the automatic API docs UI.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 02 05:06:56 UTC 2025 - 15.8K bytes - Viewed (0) -
docs/en/docs/reference/dependencies.md
``` ::: fastapi.Depends ## `Security()` For many scenarios, you can handle security (authorization, authentication, etc.) with dependencies, using `Depends()`. But when you want to also declare OAuth2 scopes, you can use `Security()` instead of `Depends()`. You can import `Security()` directly from `fastapi`: ```python from fastapi import Security ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 671 bytes - Viewed (0) -
okhttp-osgi-tests/build.gradle.kts
execution it sees that the classpath has changed, and so to be safe, it needs to re-run. - This is unfortunate, because actually it would be safe to declare the task as up-to-date, because these two files, which are based on the generated index.xml, are outputs, not inputs. We can be sure of this because they are deleted in the @BeforeEach method of theRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Aug 01 08:17:18 UTC 2025 - 2.5K bytes - Viewed (0)