- Sort Score
- Num 10 results
- Language All
Results 611 - 620 of 624 for tutorial014_py39 (0.33 seconds)
-
docs/ru/docs/tutorial/testing.md
Используйте объект `TestClient` так же, как Вы используете `httpx`. Напишите простое утверждение с `assert` дабы проверить истинность Python-выражения (это тоже стандарт `pytest`). {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *} /// tip | Подсказка Обратите внимание, что тестирующая функция является обычной `def`, а не асинхронной `async def`. И вызов клиента также осуществляется без `await`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10K bytes - Click Count (0) -
tests/test_tutorial/test_sql_databases/test_tutorial002.py
SQLModel.metadata.clear() # Clear the Models associated with the registry, to avoid warnings default_registry.dispose() @pytest.fixture( name="client", params=[ pytest.param("tutorial002_py39"), pytest.param("tutorial002_py310", marks=needs_py310), pytest.param("tutorial002_an_py39"), pytest.param("tutorial002_an_py310", marks=needs_py310), ], )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 17.9K bytes - Click Count (0) -
docs/es/docs/tutorial/cors.md
* Credenciales (headers de autorización, cookies, etc). * Métodos HTTP específicos (`POST`, `PUT`) o todos ellos con el comodín `"*"`. * Headers HTTP específicos o todos ellos con el comodín `"*"`. {* ../../docs_src/cors/tutorial001_py39.py hl[2,6:11,13:19] *}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 5.9K bytes - Click Count (0) -
docs/de/docs/tutorial/testing.md
Schreiben Sie einfache `assert`-Anweisungen mit den Standard-Python-Ausdrücken, die Sie überprüfen müssen (wiederum, Standard-`pytest`). {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *} /// tip | Tipp Beachten Sie, dass die Testfunktionen normal `def` und nicht `async def` sind. Und die Anrufe an den Client sind ebenfalls normale Anrufe, die nicht `await` verwenden.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7K bytes - Click Count (0) -
docs/pt/docs/tutorial/testing.md
Use o objeto `TestClient` da mesma forma que você faz com `httpx`. Escreva instruções `assert` simples com as expressões Python padrão que você precisa verificar (novamente, `pytest` padrão). {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *} /// tip | Dica Observe que as funções de teste são `def` normais, não `async def`. E as chamadas para o cliente também são chamadas normais, não usando `await`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.5K bytes - Click Count (0) -
tests/test_tutorial/test_security/test_tutorial005.py
import pytest from fastapi.testclient import TestClient from inline_snapshot import snapshot from ...utils import needs_py310 @pytest.fixture( name="mod", params=[ pytest.param("tutorial005_py39"), pytest.param("tutorial005_py310", marks=needs_py310), pytest.param("tutorial005_an_py39"), pytest.param("tutorial005_an_py310", marks=needs_py310), ], )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 15.8K bytes - Click Count (0) -
docs/ko/docs/advanced/websockets.md
<img src="/img/tutorial/websockets/image05.png"> ## 연결 해제 및 다중 클라이언트 처리 WebSocket 연결이 닫히면, `await websocket.receive_text()`가 `WebSocketDisconnect` 예외를 발생시킵니다. 이를 잡아 처리할 수 있습니다: {* ../../docs_src/websockets/tutorial003_py39.py hl[79:81] *} 테스트해보기: * 여러 브라우저 탭에서 앱을 엽니다. * 각 탭에서 메시지를 작성합니다. * 한 탭을 닫아보세요. `WebSocketDisconnect` 예외가 발생하며, 다른 모든 클라이언트가 다음과 같은 메시지를 수신합니다: ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 6.3K bytes - Click Count (0) -
docs/zh/docs/python-types.md
//// tab | Python 3.10+ ```Python {!> ../../docs_src/python_types/tutorial011_py310.py!} ``` //// //// tab | Python 3.9+ ```Python {!> ../../docs_src/python_types/tutorial011_py39.py!} ``` //// //// tab | Python 3.8+ ```Python {!> ../../docs_src/python_types/tutorial011.py!} ``` //// /// infoCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Aug 18 06:34:40 GMT 2025 - 8.6K bytes - Click Count (0) -
docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md
{* ../../docs_src/dependencies/tutorial007_py39.py hl[2:4] *} Значение, полученное из `yield`, внедряется в *операции пути* и другие зависимости: {* ../../docs_src/dependencies/tutorial007_py39.py hl[4] *} Код, следующий за оператором `yield`, выполняется после ответа: {* ../../docs_src/dependencies/tutorial007_py39.py hl[5:6] *} /// tip | ПодсказкаCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 19.7K bytes - Click Count (0) -
docs/de/docs/tutorial/dependencies/dependencies-with-yield.md
{* ../../docs_src/dependencies/tutorial007_py39.py hl[2:4] *} Der ge`yield`ete Wert ist das, was in *Pfadoperationen* und andere Abhängigkeiten eingefügt wird: {* ../../docs_src/dependencies/tutorial007_py39.py hl[4] *} Der auf die `yield`-Anweisung folgende Code wird nach der Response ausgeführt: {* ../../docs_src/dependencies/tutorial007_py39.py hl[5:6] *} /// tip | TippCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 14.7K bytes - Click Count (0)