- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 51 for notice (0.17 sec)
-
docs/en/docs/advanced/custom-response.md
By doing it this way, we can put it in a `with` block, and that way, ensure that it is closed after finishing. !!! tip Notice that here as we are using standard `open()` that doesn't support `async` and `await`, we declare the path operation with normal `def`. ### `FileResponse` Asynchronously streams a file as the response.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.7K bytes - Viewed (0) -
docs/zh/docs/deployment/deta.md
``` </div> 这个命令会打开浏览器并自动验证身份。 ## 使用 Deta 部署 接下来,使用 Deta CLI 部署应用: <div class="termy"> ```console $ deta new Successfully created a new micro // Notice the "endpoint" 🔍 { "name": "fastapideta", "runtime": "python3.7", "endpoint": "https://qltnci.deta.dev", "visor": "enabled", "http_auth": "enabled" } Adding dependencies...
Plain Text - Registered: Sun Mar 31 07:19:09 GMT 2024 - Last Modified: Sun Jan 28 18:06:55 GMT 2024 - 5.1K bytes - Viewed (0) -
docs/en/docs/advanced/additional-responses.md
```Python hl_lines="19-24 28" {!../../../docs_src/additional_responses/tutorial002.py!} ``` !!! note Notice that you have to return the image using a `FileResponse` directly. !!! info
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 8.8K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
## Dependencies with `yield` and `except` If you catch an exception using `except` in a dependency with `yield` and you don't raise it again (or raise a new exception), FastAPI won't be able to notice there was an exception, the same way that would happen with regular Python: === "Python 3.9+" ```Python hl_lines="15-16" {!> ../../../docs_src/dependencies/tutorial008c_an_py39.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Feb 24 23:06:37 GMT 2024 - 14.1K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
### The config file Coming from the previous example, your `config.py` file could look like: ```Python hl_lines="10" {!../../../docs_src/settings/app02/config.py!} ``` Notice that now we don't create a default instance `settings = Settings()`. ### The main app file Now we create a dependency that returns a new `config.Settings()`. === "Python 3.9+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 15.7K bytes - Viewed (0) -
docs/en/docs/deployment/docker.md
* Build your FastAPI image: <div class="termy"> ```console $ docker build -t myimage . ---> 100% ``` </div> !!! tip Notice the `.` at the end, it's equivalent to `./`, it tells Docker the directory to use to build the container image. In this case, it's the same current directory (`.`). ### Start the Docker Container
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 34K bytes - Viewed (0) -
.github/workflows/notify-translations.yml
name: Notify Translations on: pull_request_target: types: - labeled - closed workflow_dispatch: inputs: number: description: PR number required: true debug_enabled: description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' required: false default: 'false' jobs: notify-translations:
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 07:19:41 GMT 2023 - 1022 bytes - Viewed (0) -
docs/en/docs/async.md
```Python hl_lines="2-3" @app.get('/burgers') async def read_burgers(): burgers = await get_burgers(2) return burgers ``` ### More technical details You might have noticed that `await` can only be used inside of functions defined with `async def`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
# Handling Errors There are many situations in which you need to notify an error to a client that is using your API. This client could be a browser with a frontend, a code from someone else, an IoT device, etc. You could need to tell the client that: * The client doesn't have enough privileges for that operation. * The client doesn't have access to that resource. * The item the client was trying to access doesn't exist. * etc.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/de/docs/deployment/concepts.md
* Beim Hochfahren ausführen * Neustarts * Replikation (die Anzahl der laufenden Prozesse) * Arbeitsspeicher * Schritte vor dem Start Das Verständnis dieser Ideen und deren Anwendung sollte Ihnen die nötige Intuition vermitteln, um bei der Konfiguration und Optimierung Ihrer Deployments Entscheidungen zu treffen. 🤓
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:16:25 GMT 2024 - 20.6K bytes - Viewed (0)