- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 1,418 for exemple (0.19 sec)
-
docs_src/schema_extra_example/tutorial002_py310.py
from fastapi import FastAPI from pydantic import BaseModel, Field app = FastAPI() class Item(BaseModel): name: str = Field(examples=["Foo"]) description: str | None = Field(default=None, examples=["A very nice Item"]) price: float = Field(examples=[35.4]) tax: float | None = Field(default=None, examples=[3.2]) @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 479 bytes - Viewed (0) -
docs/en/docs/how-to/custom-request-and-route.md
In some cases, you may want to override the logic used by the `Request` and `APIRoute` classes. In particular, this may be a good alternative to logic in a middleware. For example, if you want to read or manipulate the request body before it is processed by your application. /// danger This is an "advanced" feature. If you are just starting with **FastAPI** you might want to skip this section.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 4.6K bytes - Viewed (0) -
dbflute_fess/dfprop/classificationDefinitionMap.dfprop
# map:{ # example for implicit classification #; Flg = list:{ # ; map:{topComment=general boolean classification for every flg-column; codeType=Number} # ; map:{code=1; name=True ; alias=Checked ; comment=means yes; sisterCode=true} # ; map:{code=0; name=False; alias=Unchecked; comment=means no ; sisterCode=false} #} # example for table classification #; MemberStatus = list:{Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Jul 04 22:46:31 UTC 2015 - 2.2K bytes - Viewed (0) -
fastapi/security/api_key.py
## Usage Create an instance object and use that object as the dependency in `Depends()`. The dependency result will be a string containing the key value. ## Example ```python from fastapi import Depends, FastAPI from fastapi.security import APIKeyQuery app = FastAPI() query_scheme = APIKeyQuery(name="api_key") @app.get("/items/")Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 9.6K bytes - Viewed (1) -
docs/pt/docs/tutorial/body.md
Assim como quando declaramos parâmetros de consulta, quando um atributo do modelo possui um valor padrão, ele se torna opcional. Caso contrário, se torna obrigatório. Use `None` para torná-lo opcional. Por exemplo, o modelo acima declara um JSON "`object`" (ou `dict` no Python) como esse: ```JSON { "name": "Foo", "description": "An optional description", "price": 45.2, "tax": 3.5 } ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.9K bytes - Viewed (0) -
docs/en/docs/tutorial/body-multiple-params.md
/// note Notice that, in this case, the `item` that would be taken from the body is optional. As it has a `None` default value. /// ## Multiple body parameters { #multiple-body-parameters } In the previous example, the *path operations* would expect a JSON body with the attributes of an `Item`, like: ```JSON { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2 } ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 12:58:04 UTC 2025 - 4.9K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
* * Example: * ``` * --> POST /greeting http/1.1 (3-byte body) * * <-- 200 OK (22ms, 6-byte body) * ``` */ BASIC, /** * Logs request and response lines and their respective headers. * * Example: * ``` * --> POST /greeting http/1.1 * Host: example.com * Content-Type: plain/textRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Nov 07 02:57:33 UTC 2025 - 11.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java
CrawlingParameterUtil.setUrlQueue(new UrlQueueImpl()); final UrlQueue q = CrawlingParameterUtil.getUrlQueue(); for (int i = 0; i < numTasks; i++) { q.setUrl("http://example.com"); } final HostIntervalController controller = new HostIntervalController(); controller.delayMillisBeforeProcessing = waittime; controller.delayMillisAfterProcessing = 0L;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.4K bytes - Viewed (0) -
okhttp/src/jvmTest/resources/web-platform-test-toascii.json
"output": "ab--c.xn--zca" }, { "input": "ab--c.ß", "output": "ab--c.xn--zca" }, { "comment": "CheckJoiners is true", "input": "\u200D.example", "output": null }, { "input": "xn--1ug.example", "output": null }, { "comment": "CheckBidi is true", "input": "يa", "output": null }, { "input": "xn--a-yoc", "output": null
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
@Mock private CredentialsInternal credentialsInternal; @Mock private SmbTransportImpl transport; private SmbSessionImpl newSession() { return new SmbSessionImpl(cifsContext, "server.example", "EXAMPLE", transport); } @BeforeEach void setup() { // Base context configuration - always needed when(cifsContext.getConfig()).thenReturn(configuration);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0)