- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for exits (0.14 sec)
-
docs_src/app_testing/app_b/main.py
if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item.id in fake_db: raise HTTPException(status_code=409, detail="Item already exists") fake_db[item.id] = item
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 09 14:44:08 GMT 2024 - 1.1K bytes - Viewed (0) -
docs_src/app_testing/app_b_an/test_main.py
"title": "The Foo ID Stealers", "description": "There goes my stealer", }, ) assert response.status_code == 400
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:07:10 GMT 2024 - 1.8K bytes - Viewed (0) -
docs/en/docs/tutorial/middleware.md
* It can do something to that **response** or run any needed code. * Then it returns the **response**. !!! note "Technical Details" If you have dependencies with `yield`, the exit code will run *after* the middleware. If there were any background tasks (documented later), they will run *after* all the middleware. ## Create a middleware
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 2.9K bytes - Viewed (0) -
docs/de/docs/tutorial/middleware.md
* Sie kann etwas mit dieser **Response** tun oder beliebigen Code ausführen. * Dann gibt sie die **Response** zurück. !!! note "Technische Details" Wenn Sie Abhängigkeiten mit `yield` haben, wird der Exit-Code *nach* der Middleware ausgeführt. Wenn es Hintergrundaufgaben gab (später dokumentiert), werden sie *nach* allen Middlewares ausgeführt. ## Erstellung einer Middleware
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 23 11:26:59 GMT 2024 - 3.4K bytes - Viewed (0) -
docs/en/docs/alternatives.md
# Alternatives, Inspiration and Comparisons What inspired **FastAPI**, how it compares to alternatives and what it learned from them. ## Intro **FastAPI** wouldn't exist if not for the previous work of others. There have been many tools created before that have helped inspire its creation.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23.2K bytes - Viewed (0) -
docs/ja/docs/deployment/concepts.md
次の章では、FastAPIアプリケーションをデプロイするための**具体的なレシピ**を紹介します。 しかし、今はこれらの重要な**コンセプトに基づくアイデア**を確認しましょう。これらのコンセプトは、他のどのタイプのWeb APIにも当てはまります。💡 ## セキュリティ - HTTPS <!-- NOTE: https.md written in Japanese does not exist, so it redirects to English one --> [前チャプターのHTTPSについて](https.md){.internal-link target=_blank}では、HTTPSがどのようにAPIを暗号化するのかについて学びました。 通常、アプリケーションサーバにとって**外部の**コンポーネントである**TLS Termination Proxy**によって提供されることが一般的です。このプロキシは通信の暗号化を担当します。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 24.1K bytes - Viewed (0) -
docs_src/app_testing/app_b/test_main.py
"title": "The Foo ID Stealers", "description": "There goes my stealer", }, ) assert response.status_code == 409
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:07:10 GMT 2024 - 1.8K bytes - Viewed (0) -
docs/ko/docs/tutorial/middleware.md
* **요청**을 응용 프로그램의 *경로 작동*으로 전달하여 처리합니다. * 애플리케이션의 *경로 작업*에서 생성한 **응답**를 받습니다. * **응답** 또는 다른 필요한 코드를 실행시키는 동작을 할 수 있습니다. * **응답**를 반환합니다. !!! note "기술 세부사항" 만약 `yield`를 사용한 의존성을 가지고 있다면, 미들웨어가 실행되고 난 후에 exit이 실행됩니다. 만약 (나중에 문서에서 다룰) 백그라운드 작업이 있다면, 모든 미들웨어가 실행되고 *난 후에* 실행됩니다. ## 미들웨어 만들기 미들웨어를 작성하기 위해서 함수 상단에 `@app.middleware("http")` 데코레이터를 사용할 수 있습니다. 미들웨어 함수는 다음 항목들을 받습니다: * `request`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Jan 31 14:35:27 GMT 2024 - 3.4K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/dependencies-with-yield.md
# 🔗 ⏮️ 🌾 FastAPI 🐕🦺 🔗 👈 <abbr title='sometimes also called "exit", "cleanup", "teardown", "close", "context managers", ...'>➕ 🔁 ⏮️ 🏁</abbr>. 👉, ⚙️ `yield` ↩️ `return`, & ✍ ➕ 🔁 ⏮️. !!! tip ⚒ 💭 ⚙️ `yield` 1️⃣ 👁 🕰. !!! note "📡 ℹ" 🙆 🔢 👈 ☑ ⚙️ ⏮️: * <a href="https://docs.python.org/3/library/contextlib.html#contextlib.contextmanager" class="external-link" target="_blank">`@contextlib.contextmanager`</a> ⚖️
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.6K bytes - Viewed (0) -
docs/en/docs/python-types.md
These types that have internal types are called "**generic**" types. And it's possible to declare them, even with their internal types. To declare those types and the internal types, you can use the standard Python module `typing`. It exists specifically to support these type hints. #### Newer versions of Python The syntax using `typing` is **compatible** with all versions, from Python 3.6 to the latest ones, including Python 3.9, Python 3.10, etc.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17K bytes - Viewed (0)