- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 123 for raisin (0.15 sec)
-
docs/em/docs/advanced/security/oauth2-scopes.md
`security_scopes` ๐ (๐ `SecurityScopes`) ๐ `scope_str` ๐ข โฎ๏ธ ๐ ๐ป, ๐ ๐ โ ๐ฝ ๐ (๐ฅ ๐ โ๏ธ โซ๏ธ). ๐ฅ โ `HTTPException` ๐ ๐ฅ ๐ช ๐ค-โ๏ธ (`raise`) โช ๐ โ. ๐ โ , ๐ฅ ๐ โ ๐ (๐ฅ ๐) ๐ป ๐ฝ ๐ (โ๏ธ `scope_str`). ๐ฅ ๐ฎ ๐ ๐ป โ โ `WWW-Authenticate` ๐ (๐ ๐ ๐). ```Python hl_lines="105 107-115" {!../../../docs_src/security/tutorial005.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 21:21:35 GMT 2024 - 11.1K bytes - Viewed (0) -
docs/em/docs/contributing.md
โถ๏ธ โ ๐ ๐, `docs/ht/index.md`. โคด๏ธ ๐ ๐ช ๐ฃ โฎ๏ธ โฎ๏ธ ๐ฉโ๐พ, "โป ๐ช๐ธ". ##### ๐ ๐ช๐ธ ๐ซ ๐โ๐ฆบ ๐ฅ ๐โ ๐โโ ๐ ๐ฝ โ ๐ ๐ค โ ๐ ๐ช๐ธ ๐ซ โ ๐โ๐ฆบ, ๐ณ ๐: ``` raise TemplateNotFound(template) jinja2.exceptions.TemplateNotFound: partials/language/xx.html ``` ๐ โ ๐ ๐ข ๐ซ ๐โ๐ฆบ ๐ ๐ช๐ธ (๐ ๐ผ, โฎ๏ธ โ 2๏ธโฃ-๐ค ๐ `xx`). โ๏ธ ๐ซ ๐, ๐ ๐ช โ ๐ข ๐ช๐ธ ๐ช๐ธ & โคด๏ธ ๐ฌ ๐ ๐ฉบ.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jun 11 21:38:15 GMT 2023 - 11.4K bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py
client = TestClient(app) with pytest.raises(WebSocketDisconnect): with client.websocket_connect("/items/foo/ws"): pytest.fail( "did not raise WebSocketDisconnect on __enter__" ) # pragma: no cover @needs_py39 def test_websocket_invalid_data(app: FastAPI): client = TestClient(app) with pytest.raises(WebSocketDisconnect):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 3.9K bytes - Viewed (0) -
docs/fr/docs/async.md
Donc pour รฉquilibrer tout รงa, imaginez l'histoire suivante : > Vous devez nettoyer une grande et sale maison. *Oui, c'est toute l'histoire*. --- Il n'y a plus d'attente ๐ nulle part, juste beaucoup de travail ร effectuer, dans diffรฉrentes piรจces de la maison.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Mar 31 23:52:53 GMT 2024 - 24K bytes - Viewed (0) -
tests/test_ws_router.py
try: return await call_next() except Exception as e: # pragma: no cover caught.append(e) raise myapp = make_app(middleware=[Middleware(catcher)]) client = TestClient(myapp) with pytest.raises(WebSocketDisconnect) as e: with client.websocket_connect("/depends-validate/"): pass # pragma: no cover
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Jun 11 19:08:14 GMT 2023 - 7.5K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial008d.py
with pytest.raises(InternalError) as exc_info: client.get("/items/portal-gun") assert ( exc_info.value.args[0] == "The portal gun is too dangerous to be owned by Rick" ) def test_internal_server_error(): from docs_src.dependencies.tutorial008d import app client = TestClient(app, raise_server_exceptions=False)
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Feb 24 23:06:37 GMT 2024 - 1.2K bytes - Viewed (0) -
docs/en/docs/reference/websockets.md
- iter_bytes - iter_json - send_text - send_bytes - send_json - close When a client disconnects, a `WebSocketDisconnect` exception is raised, you can catch it. You can import it directly form `fastapi`: ```python from fastapi import WebSocketDisconnect ``` ::: fastapi.WebSocketDisconnect ## WebSockets - additional classes
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 1.6K bytes - Viewed (0) -
tests/test_dependency_contextvars.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Feb 17 12:40:12 GMT 2022 - 1.5K bytes - Viewed (0) -
docs/en/docs/release-notes.md
Note over client,tasks: Can raise exception for dependency, handled after response is sent Note over client,operation: Can raise HTTPException and can change the response client ->> dep: Start request Note over dep: Run code up to yield opt raise dep -->> handler: Raise HTTPException handler -->> client: HTTP error response dep -->> dep: Raise other exception end
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 03 23:25:42 GMT 2024 - 388.1K bytes - Viewed (1) -
tests/test_exception_handlers.py
assert response.json() == {"exception": "request-validation"} def test_override_server_error_exception_raises(): with pytest.raises(RuntimeError): client.get("/server-error") def test_override_server_error_exception_response(): client = TestClient(app, raise_server_exceptions=False) response = client.get("/server-error") assert response.status_code == 500
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Feb 17 12:40:12 GMT 2022 - 1.9K bytes - Viewed (0)