- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for agency (0.17 sec)
-
docs_src/header_params/tutorial001_py310.py
from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items(user_agent: str | None = Header(default=None)):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 182 bytes - Viewed (0) -
docs_src/header_params/tutorial001.py
from typing import Union from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items(user_agent: Union[str, None] = Header(default=None)):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 214 bytes - Viewed (0) -
docs/em/docs/tutorial/header-params.md
`Header` โ๏ธ ๐ฅ โ ๐ ๏ธ ๐ ๐ โซ๏ธโ `Path`, `Query` & `Cookie` ๐. ๐ ๐ฉ ๐ ๐ "๐ " ๐ฆน, ๐ญ "โ ๐ฃ" (`-`). โ๏ธ ๐ข ๐ `user-agent` โ ๐. , ๐ข, `Header` ๐ ๐ ๐ข ๐ ๐ฆน โช๏ธโก๏ธ ๐ฆ (`_`) ๐ (`-`) โ & ๐ ๐. , ๐บ๐ธ๐ ๐ ๐ผ-๐,, ๐ ๐ช ๐ฃ ๐ซ โฎ๏ธ ๐ฉ ๐ ๐ (๐ญ "๐ก"). , ๐ ๐ช โ๏ธ `user_agent` ๐ ๐ ๐ ๐ ๐, โฉ๏ธ ๐โโ ๐ฏ ๐ฅ ๐ค `User_Agent` โ๏ธ ๐ณ ๐. ๐ฅ ๐ค ๐ ๐ช โ ๐ง ๐ ๏ธ ๐ฆ ๐ , โ ๐ข `convert_underscores` `Header` `False`: === "๐ 3๏ธโฃ.6๏ธโฃ & ๐"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 3.2K bytes - Viewed (0) -
docs/ja/docs/tutorial/header-params.md
ใปใจใใฉใฎๆจๆบใใใใผใฏใใใใคใใน่จๅทใ๏ผ`-`๏ผใจใใฆใ็ฅใใใใใใคใใณใใงๅบๅใใใฆใใพใใ ใใใใ`user-agent`ใฎใใใชๅคๆฐใฏPythonใงใฏ็กๅนใงใใ ใใฎใใใใใใฉใซใใงใฏใ`Header`ใฏใใฉใกใผใฟใฎๆๅญใใขใณใใผในใณใข๏ผ`_`๏ผใใใใคใใณ๏ผ`-`๏ผใซๅคๆใใฆใใใใใผใๆฝๅบใใฆๆๆธๅใใพใใ ใพใใHTTPใใใใฏๅคงๆๅญๅฐๆๅญใๅบๅฅใใชใใฎใงใPythonใฎๆจๆบในใฟใคใซ๏ผๅฅๅใในใใผใฏใฑใผในใ๏ผใงๅฎฃ่จใใใใจใใงใใพใใ ใใฎใใใ`User_Agent`ใชใฉใฎใใใซๆๅใฎๆๅญใๅคงๆๅญใซใใๅฟ ่ฆใฏใชใใ้ๅธธใฎPythonใณใผใใจๅใใใใซ`user_agent`ใไฝฟ็จใใใใจใใงใใพใใ ใใใชใใใใฎ็็ฑใงใขใณใใผในใณใขใใใใคใใณใธใฎ่ชๅๅคๆใ็กๅนใซใใๅฟ ่ฆใใใๅ ดๅใฏใ`Header`ใฎ`convert_underscores`ใซ`False`ใ่จญๅฎใใฆใใ ใใ:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Oct 17 13:55:39 GMT 2020 - 3.8K bytes - Viewed (0) -
docs/en/docs/img/tutorial/bigger-applications/package.drawio
<mxfile host="65bd71144e" modified="2020-11-28T18:13:19.199Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.51.1 Chrome/83.0.4103.122 Electron/9.3.3 Safari/537.36" etag="KPHuXUeExV3PdWouu_3U" version="13.6.5"> <diagram id="zB4-QXJZ7ScUzHSLnJ1i" name="Page-1">
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 12 00:06:16 GMT 2022 - 6.1K bytes - Viewed (0) -
docs_src/header_params/tutorial001_an.py
from typing import Union from fastapi import FastAPI, Header from typing_extensions import Annotated app = FastAPI() @app.get("/items/") async def read_items(user_agent: Annotated[Union[str, None], Header()] = None):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 259 bytes - Viewed (0) -
docs/de/docs/tutorial/header-params.md
Aber eine Variable wie `user-agent` ist in Python nicht gรผltig. Darum wird `Header` standardmรครig in Parameternamen den Unterstrich (`_`) zu einem Bindestrich (`-`) konvertieren. HTTP-Header sind auรerdem unabhรคngig von Groร-/Kleinschreibung, darum kรถnnen Sie sie mittels der Standard-Python-Schreibweise deklarieren (auch bekannt als "snake_case").
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:00:50 GMT 2024 - 6.4K bytes - Viewed (0) -
docs/en/data/external_links.yml
- author: New Relic author_link: https://newrelic.com link: https://newrelic.com/instant-observability/fastapi/e559ec64-f765-4470-a15f-1901fcebb468 title: How to monitor FastAPI application performance using Python agent - author: Jean-Baptiste Rocher author_link: https://hashnode.com/@jibrocher link: https://dev.indooroutdoor.io/series/fastapi-react-poll-app title: Building the Poll App From Django Tutorial With FastAPI And React
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Mar 21 20:57:27 GMT 2024 - 21.3K bytes - Viewed (2) -
tests/test_tutorial/test_header_params/test_tutorial001_an_py310.py
@needs_py310 @pytest.mark.parametrize( "path,headers,expected_status,expected_response", [ ("/items", None, 200, {"User-Agent": "testclient"}), ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}), ("/items", {"User-Agent": "FastAPI test"}, 200, {"User-Agent": "FastAPI test"}), ], ) def test(path, headers, expected_status, expected_response, client: TestClient):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 4K bytes - Viewed (0) -
tests/test_tutorial/test_header_params/test_tutorial001.py
@pytest.mark.parametrize( "path,headers,expected_status,expected_response", [ ("/items", None, 200, {"User-Agent": "testclient"}), ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}), ("/items", {"User-Agent": "FastAPI test"}, 200, {"User-Agent": "FastAPI test"}), ], ) def test(path, headers, expected_status, expected_response): response = client.get(path, headers=headers)
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 3.8K bytes - Viewed (0)