- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 125 for defa (0.02 sec)
-
docs/em/docs/tutorial/testing.md
⚙️ `TestClient` 🎚 🎏 🌌 👆 ⏮️ `httpx`. ✍ 🙅 `assert` 📄 ⏮️ 🐩 🐍 🧬 👈 👆 💪 ✅ (🔄, 🐩 `pytest`). {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *} /// tip 👀 👈 🔬 🔢 😐 `def`, 🚫 `async def`. & 🤙 👩💻 😐 🤙, 🚫 ⚙️ `await`. 👉 ✔ 👆 ⚙️ `pytest` 🔗 🍵 🤢. /// /// note | 📡 ℹ 👆 💪 ⚙️ `from starlette.testclient import TestClient`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/testing.md
표준적인 파이썬 문법을 이용하여 확인이 필요한 곳에 간단한 `assert` 문장을 작성하세요(역시 표준적인 `pytest` 관례입니다). {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *} /// tip | 팁 테스트를 위한 함수는 `async def` 가 아니라 `def` 로 작성됨에 주의하세요. 그리고 클라이언트에 대한 호출도 `await` 를 사용하지 않는 일반 호출입니다. 이렇게 하여 복잡한 과정 없이 `pytest` 를 직접적으로 사용할 수 있습니다. /// /// note | 기술 세부사항 `from starlette.testclient import TestClient` 역시 사용할 수 있습니다.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Dec 10 11:24:48 UTC 2024 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
@Override public int getHeaderFieldInt(final String header, final int def) { handshake(); return this.connection.getHeaderFieldInt(header, def); } @Override public long getHeaderFieldDate(final String header, final long def) { handshake(); return this.connection.getHeaderFieldDate(header, def); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 25.6K bytes - Viewed (0) -
docs/pt/docs/async.md
```Python hl_lines="2" @app.get('/') def results(): results = some_library() return results ``` --- Se sua aplicação (de alguma forma) não tem que se comunicar com nada mais e esperar que o respondam, use `async def`. --- Se você simplesmente não sabe, use apenas `def`. ---
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:56:21 UTC 2025 - 23.6K bytes - Viewed (0) -
docs/de/docs/tutorial/testing.md
{* ../../docs_src/app_testing/tutorial001.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. Dadurch können Sie `pytest` ohne Komplikationen direkt nutzen. /// /// note | Technische Details
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 6.9K bytes - Viewed (0) -
docs/ru/docs/tutorial/testing.md
{* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *} /// tip | Подсказка Обратите внимание, что тестирующая функция является обычной `def`, а не асинхронной `async def`. И вызов клиента также осуществляется без `await`. Это позволяет вам использовать `pytest` без лишних усложнений. /// /// note | Технические детали
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.1K bytes - Viewed (0) -
docs/es/docs/tutorial/testing.md
{* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *} /// tip | Consejo Nota que las funciones de prueba son `def` normales, no `async def`. Y las llamadas al cliente también son llamadas normales, sin usar `await`. Esto te permite usar `pytest` directamente sin complicaciones. /// /// note | Nota Técnica
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 6.9K bytes - Viewed (0) -
docs/id/docs/tutorial/first-steps.md
Di kondisi ini, ini adalah sebuah fungsi `async`. --- Anda bisa mendefinisikan fungsi ini sebagai fungsi normal daripada `async def`: {* ../../docs_src/first_steps/tutorial003.py hl[7] *} /// note | Catatan Jika anda tidak tahu perbedaannya, kunjungi [Async: *"Panduan cepat"*](../async.md#in-a-hurry){.internal-link target=_blank}.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Dec 12 21:46:36 UTC 2024 - 12K bytes - Viewed (0) -
docs/pt/docs/tutorial/first-steps.md
Neste caso, é uma função `assíncrona`. --- Você também pode defini-la como uma função normal em vez de `async def`: {* ../../docs_src/first_steps/tutorial003.py hl[7] *} /// note | Nota Se você não sabe a diferença, verifique o [Async: *"Com pressa?"*](../async.md#com-pressa){.internal-link target=_blank}. ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Jan 09 20:41:07 UTC 2025 - 10.8K bytes - Viewed (0) -
docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md
Da mesma forma, você pode lançar uma `httpexception` ou algo parecido no código de saída, após o `yield` /// tip | Dica Essa é uma técnica relativamente avançada, e na maioria dos casos você não precisa dela totalmente, já que você pode lançar exceções (incluindo `httpexception`) dentro do resto do código da sua aplicação, por exemplo, em uma *função de operação de rota*. Mas ela existe para ser utilizada caso você precise. 🤓
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 14.8K bytes - Viewed (0)