- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 707 for Change (0.17 sec)
-
docs/em/docs/advanced/response-change-status-code.md
## ⚙️ `Response` 🔢 👆 💪 📣 🔢 🆎 `Response` 👆 *➡ 🛠️ 🔢* (👆 💪 🍪 & 🎚). & ⤴️ 👆 💪 ⚒ `status_code` 👈 *🔀* 📨 🎚. ```Python hl_lines="1 9 12" {!../../../docs_src/response_change_status_code/tutorial001.py!} ``` & ⤴️ 👆 💪 📨 🙆 🎚 👆 💪, 👆 🛎 🔜 ( `dict`, 💽 🏷, ♒️). & 🚥 👆 📣 `response_model`, ⚫️ 🔜 ⚙️ ⛽ & 🗜 🎚 👆 📨.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 1.2K bytes - Viewed (0) -
docs/zh/docs/advanced/response-change-status-code.md
对于这些情况,你可以使用一个`Response`参数。 ## 使用 `Response` 参数 你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies和头部做的那样)。 然后你可以在这个*临时*响应对象中设置`status_code`。 ```Python hl_lines="1 9 12" {!../../../docs_src/response_change_status_code/tutorial001.py!} ``` 然后你可以像平常一样返回任何你需要的对象(例如一个`dict`或者一个数据库模型)。如果你声明了一个`response_model`,它仍然会被用来过滤和转换你返回的对象。 **FastAPI**将使用这个临时响应来提取状态码(也包括cookies和头部),并将它们放入包含你返回的值的最终响应中,该响应由任何`response_model`过滤。
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Jun 10 20:30:28 GMT 2023 - 1.4K bytes - Viewed (0) -
docs/en/docs/advanced/response-change-status-code.md
# Response - Change Status Code You probably read before that you can set a default [Response Status Code](../tutorial/response-status-code.md){.internal-link target=_blank}. But in some cases you need to return a different status code than the default. ## Use case For example, imagine that you want to return an HTTP status code of "OK" `200` by default.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 1.5K bytes - Viewed (0) -
docs/de/docs/advanced/response-change-status-code.md
Anschließend können Sie den `status_code` in diesem *vorübergehenden* Response-Objekt festlegen. ```Python hl_lines="1 9 12" {!../../../docs_src/response_change_status_code/tutorial001.py!} ``` Und dann können Sie wie gewohnt jedes benötigte Objekt zurückgeben (ein `dict`, ein Datenbankmodell usw.).
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 20:18:58 GMT 2024 - 1.8K bytes - Viewed (0) -
docs/es/docs/advanced/response-change-status-code.md
Y luego puedes establecer el `status_code` en ese objeto de respuesta *temporal*. ```Python hl_lines="1 9 12" {!../../../docs_src/response_change_status_code/tutorial001.py!} ``` Y luego puedes retornar cualquier objeto que necesites, como normalmente lo harías (un `dict`, un modelo de base de datos, etc).
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Feb 06 19:56:23 GMT 2024 - 1.6K bytes - Viewed (0) -
.cm/misc_labels.cm
label: 'a:chore' - action: approve@v1 # Call out PRs that change the build script (and will be longer to checkout and review) label_build_script_change: if: - {{ ('misc_labels' | isEnabledAutomation(pr)) }} - {{ is.build_script_change }} run: - action: add-label@v1 args: label: 'build-script-change' color: 'E94637'
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt
Change("org.gradle.api.AntBuilder", "Class org.gradle.api.AntBuilder"), Change("org.gradle.api.file.SourceDirectorySet", "Method org.gradle.api.file.SourceDirectorySet.getOutputDir()"), Change("org.gradle.api.file.SourceDirectorySet", "Method org.gradle.api.file.SourceDirectorySet.setOutputDir(java.io.File)") ) ) } @Test
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Sep 30 18:18:04 GMT 2022 - 6K bytes - Viewed (0) -
docs/ftp/README.md
sftp> ``` ## Advanced options ### Change default FTP port Default port '8021' can be changed via ``` --ftp="address=:3021" ``` ### Change FTP passive port range By default FTP requests OS to give a free port automatically, however you may want to restrict this to specific ports in certain restricted environments via ``` --ftp="passive-port-range=30000-40000" ```
Plain Text - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Apr 15 14:34:02 GMT 2023 - 5.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt
""" ) { assertHasErrors( "Field nonFinalField: Nullability breaking change.", "Field finalField: From non-nullable to nullable breaking change.", "Method com.example.Source.foo(): From non-null returning to null returning breaking change." ) assertHasNoWarning() assertHasNoInformation() } } @Test
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 9.1K bytes - Viewed (0) -
.github/PULL_REQUEST_TEMPLATE.md
## Motivation and Context ## How to test this PR? ## Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Optimization (provides speedup with no functional changes) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Checklist:
Plain Text - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Nov 14 17:29:11 GMT 2023 - 1K bytes - Viewed (0)