- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 490 for declares (0.18 sec)
-
README.md
* If it is not, the client will see a useful, clear error. * Check if there is an optional query parameter named `q` (as in `http://127.0.0.1:8000/items/foo?q=somequery`) for `GET` requests. * As the `q` parameter is declared with `= None`, it is optional. * Without the `None` it would be required (as is the body in the case with `PUT`). * For `PUT` requests to `/items/{item_id}`, read the body as JSON:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Dec 25 11:01:37 UTC 2025 - 26.4K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/global-dependencies.md
erations } Later, when reading about how to structure bigger applications ([Bigger Applications - Multiple Files](../../tutorial/bigger-applications.md){.internal-link target=_blank}), possibly with multiple files, you will learn how to declare a single `dependencies` parameter for a group of *path operations*....
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.1K bytes - Viewed (0) -
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 Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* AbstractPackageSanityTests} doesn't know how to construct, the test will fail. * <li>If there is no visible constructor or visible static factory method declared by {@code * C}, {@code C} is skipped for serialization test, even if it implements {@link * Serializable}. * <li>Serialization test is not performed on method return values unless the method is a
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
// Since this is an artificially generated type variable, we don't bother checking // subtyping between declared type bound and actual type bound. So it's possible that we // may generate something like <capture#1-of ? extends Foo&SubFoo>. // Checking subtype between declared and actual type bounds // adds recursive isSubtypeOf() call and feels complicated.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 22:30:05 UTC 2025 - 25.3K 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/extra-models.md
Nós poderíamos fazer melhor. Podemos declarar um modelo `UserBase` que serve como base para nossos outros modelos. E então podemos fazer subclasses desse modelo que herdam seus atributos (declarações de tipo, validação, etc.). Toda conversão de dados, validação, documentação, etc. ainda funcionará normalmente.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 7.5K bytes - Viewed (0) -
docs/es/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
O la dependencia no devuelve un valor. Pero aún necesitas que sea ejecutada/resuelta. Para esos casos, en lugar de declarar un parámetro de *path operation function* con `Depends`, puedes añadir una `list` de `dependencies` al decorador de *path operation*.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 3.1K 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) -
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)