- Sort Score
- Num 10 results
- Language All
Results 541 - 550 of 645 for absent (0.04 seconds)
-
docs/ru/docs/tutorial/testing.md
Создайте функцию, название которой должно начинаться с `test_` (это стандарт из соглашений `pytest`). Используйте объект `TestClient` так же, как Вы используете `httpx`. Напишите простое утверждение с `assert` дабы проверить истинность Python-выражения (это тоже стандарт `pytest`). {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *} /// tip | ПодсказкаCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10K bytes - Click Count (0) -
docs/en/docs/tutorial/header-params.md
`Header` has a little extra functionality on top of what `Path`, `Query` and `Cookie` provide. Most of the standard headers are separated by a "hyphen" character, also known as the "minus symbol" (`-`). But a variable like `user-agent` is invalid in Python. So, by default, `Header` will convert the parameter names characters from underscore (`_`) to hyphen (`-`) to extract and document the headers.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 3K bytes - Click Count (0) -
fastapi/routing.py
response_fields = {} for additional_status_code, response in self.responses.items(): assert isinstance(response, dict), "An additional response must be a dict" model = response.get("model") if model: assert is_body_allowed_for_status_code(additional_status_code), ( f"Status code {additional_status_code} must not have a response body"Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 174.6K bytes - Click Count (0) -
docs_src/background_tasks/tutorial002_an_py310.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 683 bytes - Click Count (0) -
docs_src/background_tasks/tutorial002_py39.py
async def send_notification( email: str, background_tasks: BackgroundTasks, q: str = Depends(get_query) ): message = f"message to {email}\n" background_tasks.add_task(write_log, message)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 675 bytes - Click Count (0) -
lib/fips140/fips140.sum
# SHA256 checksums of snapshot zip files in this directory. # These checksums are included in the FIPS security policy # (validation instructions sent to the lab) and MUST NOT CHANGE. # That is, the zip files themselves must not change. # # It is okay to add new zip files to the list, and it is okay to # remove zip files from the list when they are removed from # this directory. To update this file: # # go test cmd/go/internal/fips140 -update #
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 614 bytes - Click Count (0) -
docs/de/docs/tutorial/header-params.md
Die meisten Standard-Header sind durch ein „Bindestrich“-Zeichen getrennt, auch bekannt als „Minus-Symbol“ (`-`). Aber eine Variable wie `user-agent` ist in Python ungültig. Daher wird `Header` standardmäßig die Zeichen des Parameter-Namens von Unterstrich (`_`) zu Bindestrich (`-`) konvertieren, um die Header zu extrahieren und zu dokumentieren.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 3.5K bytes - Click Count (0) -
docs/zh/docs/tutorial/header-params.md
/// /// info | 说明 必须使用 `Header` 声明 header 参数,否则该参数会被解释为查询参数。 /// ## 自动转换 `Header` 比 `Path`、`Query` 和 `Cookie` 提供了更多功能。 大部分标准请求头用**连字符**分隔,即**减号**(`-`)。 但是 `user-agent` 这样的变量在 Python 中是无效的。 因此,默认情况下,`Header` 把参数名中的字符由下划线(`_`)改为连字符(`-`)来提取并存档请求头 。 同时,HTTP 的请求头不区分大小写,可以使用 Python 标准样式(即 **snake_case**)进行声明。 因此,可以像在 Python 代码中一样使用 `user_agent` ,无需把首字母大写为 `User_Agent` 等形式。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 2.5K bytes - Click Count (0) -
docs/en/docs/tutorial/cookie-params.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 17:49:27 GMT 2025 - 1.6K bytes - Click Count (0) -
.github/workflows/CheckBadMerge.groovy
return new ExecResult(stderr: stderr, stdout: stdout, returnCode: returnCode) } static String getStdout(String command) { ExecResult execResult = exec(command) assert execResult.returnCode == 0: "$command failed with return code: $execResult" return execResult.stdout } static Future<String> readStreamAsync(InputStream inputStream) {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jan 24 10:03:31 GMT 2025 - 5.8K bytes - Click Count (0)