- Sort Score
- Result 10 results
- Languages All
Results 811 - 820 of 1,080 for Str (0.04 sec)
-
docs_src/python_types/tutorial012.py
from typing import Optional from pydantic import BaseModel class User(BaseModel): name: str
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 122 bytes - Viewed (0) -
docs_src/python_types/tutorial007.py
from typing import Set, Tuple def process_items(items_t: Tuple[int, int, str], items_s: Set[bytes]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Apr 11 17:20:32 UTC 2020 - 131 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) -
src/archive/tar/writer_test.go
} func TestWriter(t *testing.T) { type ( testHeader struct { // WriteHeader(hdr) == wantErr hdr Header wantErr error } testWrite struct { // Write(str) == (wantCnt, wantErr) str string wantCnt int wantErr error } testReadFrom struct { // ReadFrom(testFile{ops}) == (wantCnt, wantErr) ops fileOps wantCnt int64 wantErr error }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 39.4K bytes - Viewed (0) -
tests/test_security_oauth2_authorization_code_bearer.py
app = FastAPI() oauth2_scheme = OAuth2AuthorizationCodeBearer( authorizationUrl="authorize", tokenUrl="token", auto_error=True ) @app.get("/items/") async def read_items(token: Optional[str] = Security(oauth2_scheme)): return {"token": token} client = TestClient(app) def test_no_token(): response = client.get("/items") assert response.status_code == 401, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.3K bytes - Viewed (0) -
docs_src/python_types/tutorial009b.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 164 bytes - Viewed (0) -
docs/ja/docs/tutorial/path-params.md
## ๅฎ็พฉๆธใฟใฎๅค *ใในใใฉใกใผใฟ*ใๅใๅใ *path operation* ใใใกใๆๅนใช*ใในใใฉใกใผใฟ*ใฎๅคใไบๅใซๅฎ็พฉใใใๅ ดๅใฏใๆจๆบใฎPython <abbr title="Enumeration">`Enum`</abbr> ใๅฉ็จใงใใพใใ ### `Enum` ใฏใฉในใฎไฝๆ `Enum` ใใคใณใใผใใใ `str` ใจ `Enum` ใ็ถๆฟใใใตใใฏใฉในใไฝๆใใพใใ `str` ใ็ถๆฟใใใใจใงใAPIใใญใฅใกใณใใฏๅคใ `ๆๅญๅ` ใงใชใใใฐใใใชใใใจใ็ฅใใๆญฃ็ขบใซใฌใณใใชใณใฐใงใใใใใซใชใใพใใ ใใใฆใๅบๅฎๅคใฎใฏใฉในๅฑๆงใไฝใใพใใใใใจใใใฎๅคใไฝฟ็จๅฏ่ฝใชๅคใจใชใใพใ: ```Python hl_lines="1 6 7 8 9" {!../../docs_src/path_params/tutorial005.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.6K bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial011_an_py310.py
from typing import Annotated from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items(q: Annotated[list[str] | None, Query()] = None): query_items = {"q": q}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 224 bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial012.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 217 bytes - Viewed (0) -
docs_src/header_params/tutorial002.py
from typing import Union from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items( strange_header: Union[str, None] = Header(default=None, convert_underscores=False), ):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 260 bytes - Viewed (0)