- Sort Score
- Result 10 results
- Languages All
Results 771 - 780 of 974 for strl (0.03 sec)
-
docs/pt/docs/advanced/sub-applications.md
<div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> E abra a documentaรงรฃo em <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
tests/test_union_body.py
from dirty_equals import IsDict from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: Optional[str] = None class OtherItem(BaseModel): price: int @app.post("/items/") def save_union_body(item: Union[OtherItem, Item]): return {"item": item} client = TestClient(app)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4.6K bytes - Viewed (0) -
docs/em/docs/tutorial/body-updates.md
โน ๐ฌ ๐ ๐ช โ๏ธ <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">๐บ๐ธ๐ `PUT`</a> ๐ ๏ธ. ๐ ๐ช โ๏ธ `jsonable_encoder` ๐ ๐ข ๐ฝ ๐ ๐ ๐ช ๐ช ๐ป (โ โฎ๏ธ โ ๐ฝ). ๐ผ, ๐ญ `datetime` `str`. //// tab | ๐ 3๏ธโฃ.6๏ธโฃ & ๐ ```Python hl_lines="30-35" {!> ../../docs_src/body_updates/tutorial001.py!} ``` //// //// tab | ๐ 3๏ธโฃ.9๏ธโฃ & ๐ ```Python hl_lines="30-35"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/io/LittleEndianDataOutputStream.java
@Override public void writeShort(int v) throws IOException { out.write(0xFF & v); out.write(0xFF & (v >> 8)); } @Override public void writeUTF(String str) throws IOException { ((DataOutputStream) out).writeUTF(str); } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 12:34:49 UTC 2024 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
public final void writeUTF ( String str ) throws SmbException { int len = str.length(); int ch, size = 0; byte[] dst; for ( int i = 0; i < len; i++ ) { ch = str.charAt(i); size += ch > 0x07F ? ( ch > 0x7FF ? 3 : 2 ) : 1; } dst = new byte[size]; writeShort(size); Encdec.enc_utf8(str, dst, 0, size); write(dst, 0, size);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 12:01:33 UTC 2020 - 18.5K bytes - Viewed (0) -
docs/em/docs/advanced/security/oauth2-scopes.md
๐, ๐ฅ โน Pydantic ๐ท `TokenData` โฎ๏ธ ๐ ๐ `scopes`. โ ๐ โฎ๏ธ Pydantic ๐ฅ ๐ช โ ๐ญ ๐ ๐ฅ โ๏ธ, ๐ผ, โซ๏ธโ `list` `str` โฎ๏ธ โ & `str` โฎ๏ธ `username`. โฉ๏ธ, ๐ผ, `dict`, โ๏ธ ๐ณ ๐, โซ๏ธ ๐ช ๐ ๐ธ โ โช, โ โซ๏ธ ๐โโ โ . ๐ฅ โ ๐ ๐ฅ โ๏ธ ๐ฉโ๐ป โฎ๏ธ ๐ ๐, & ๐ฅ ๐ซ, ๐ฅ ๐ค ๐ ๐ โ ๐ฅ โ โญ. ```Python hl_lines="46 116-127"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11K bytes - Viewed (0) -
docs/em/docs/tutorial/body-multiple-params.md
## ๐ ๐ช = & ๐ข โ๏ธ, ๐ ๐ช ๐ฃ ๐ ๐ข ๐ข ๐โ ๐ ๐ช, ๐ ๐ ๐ช ๐ข. , ๐ข, โญ ๐ฒ ๐ฌ ๐ข ๐ข, ๐ ๐ซ โ๏ธ ๐ฏ ๐ฎ `Query`, ๐ ๐ช: ```Python q: Union[str, None] = None ``` โ๏ธ ๐ 3๏ธโฃ.1๏ธโฃ0๏ธโฃ & ๐: ```Python q: str | None = None ``` ๐ผ: //// tab | ๐ 3๏ธโฃ.6๏ธโฃ & ๐ ```Python hl_lines="27" {!> ../../docs_src/body_multiple_params/tutorial004.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5K bytes - Viewed (0) -
docs/ko/docs/tutorial/path-operation-configuration.md
/// note | "๊ธฐ์ ์ ์ธ๋ถ์ฌํญ" ๋ค์๊ณผ ๊ฐ์ด ์ํฌํธํ์ ๋ ์ข์ต๋๋ค. `from starlette import status`. **FastAPI**๋ ๊ฐ๋ฐ์ ์ฌ๋ฌ๋ถ์ ํธ์๋ฅผ ์ํด์ `starlette.status`์ ๋์ผํ `fastapi.status`๋ฅผ ์ ๊ณตํฉ๋๋ค. ํ์ง๋ง Starlette์์ ์ง์ ์จ ๊ฒ์ ๋๋ค. /// ## ํ๊ทธ (๋ณดํต ๋จ์ผ `str`์ธ) `str`๋ก ๊ตฌ์ฑ๋ `list`์ ํจ๊ป ๋งค๊ฐ๋ณ์ `tags`๋ฅผ ์ ๋ฌํ์ฌ, `๊ฒฝ๋ก ์๋`์ ํ๊ทธ๋ฅผ ์ถ๊ฐํ ์ ์์ต๋๋ค: ```Python hl_lines="17 22 27" {!../../docs_src/path_operation_configuration/tutorial002.py!} ``` ์ ๋ฌ๋ ํ๊ทธ๋ค์ OpenAPI์ ์คํค๋ง์ ์ถ๊ฐ๋๋ฉฐ, ์๋ ๋ฌธ์ ์ธํฐํ์ด์ค์์ ์ฌ์ฉ๋ฉ๋๋ค:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.1K bytes - Viewed (0) -
tests/test_serialize_response.py
from typing import List, Optional from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: Optional[float] = None owner_ids: Optional[List[int]] = None @app.get("/items/valid", response_model=Item) def get_valid(): return {"name": "valid", "price": 1.0} @app.get("/items/coerce", response_model=Item)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Aug 03 12:29:07 UTC 2020 - 1.4K bytes - Viewed (0) -
docs/de/docs/advanced/behind-a-proxy.md
<div class="termy"> ```console $ uvicorn main:app --root-path /api/v1 <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> Falls Sie Hypercorn verwenden, das hat auch die Option `--root-path`. /// note | "Technische Details" Die ASGI-Spezifikation definiert einen `root_path` fรผr diesen Anwendungsfall.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.1K bytes - Viewed (0)