- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 17 for fixedquery (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_regex_deprecated_body.py
assert response.json() == "Hello World" @needs_py310 def test_q_fixedquery(): client = get_client() response = client.post("/items/", data={"q": "fixedquery"}) assert response.status_code == 200 assert response.json() == "Hello fixedquery" @needs_py310 def test_query_nonregexquery(): client = get_client() response = client.post("/items/", data={"q": "nonregexquery"})
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 14:34:02 GMT 2026 - 5.4K bytes - Click Count (0) -
tests/test_regex_deprecated_params.py
@needs_py310 def test_query_params_str_validations_q_fixedquery(): client = get_client() response = client.get("/items/", params={"q": "fixedquery"}) assert response.status_code == 200 assert response.json() == "Hello fixedquery" @needs_py310 def test_query_params_str_validations_item_query_nonregexquery(): client = get_client()
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 5.1K bytes - Click Count (0) -
docs/en/docs/tutorial/query-params-str-validations.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 16.3K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial005_an_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 309 bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial004_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 335 bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial010_an_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 622 bytes - Click Count (0) -
docs/zh/docs/tutorial/query-params-str-validations.md
这个特定的正则表达式通过以下规则检查接收到的参数值: - `^`:必须以接下来的字符开头,前面没有其他字符。 - `fixedquery`:值必须精确等于 `fixedquery`。 - `$`:到此结束,在 `fixedquery` 之后没有更多字符。 如果你对这些**「正则表达式」**概念感到迷茫,不必担心。对很多人来说这都是个难点。你仍然可以在不使用正则表达式的情况下做很多事情。 现在你知道了,一旦需要时,你可以在 **FastAPI** 中直接使用它们。 ## 默认值 { #default-values } 当然,你也可以使用 `None` 以外的默认值。 假设你想要声明查询参数 `q` 的 `min_length` 为 `3`,并且默认值为 `"fixedquery"`:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 15.4K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial005_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 276 bytes - Click Count (0) -
docs/uk/docs/tutorial/query-params-str-validations.md
Цей конкретний шаблон регулярного виразу перевіряє, що отримане значення параметра: * `^`: починається з наступних символів, перед якими немає інших символів. * `fixedquery`: точно відповідає значенню `fixedquery`. * `$`: закінчується тут, після `fixedquery` немає жодних символів.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 25.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/query-params-str-validations.md
這個特定的正規表示式樣式會檢查收到的參數值是否: - `^`:以後續的字元開頭,前面不能有其他字元。 - `fixedquery`:必須正好等於 `fixedquery`。 - `$`:在此結束,`fixedquery` 後面不能再有其他字元。 如果你對「正規表示式」感到困惑,別擔心。這對很多人來說都不容易。你仍然可以先不使用正規表示式就完成很多事情。 現在你知道,當你需要它們時,可以在 FastAPI 中使用它們。 ## 預設值 { #default-values } 當然,你可以使用 `None` 以外的預設值。 假設你想宣告查詢參數 `q` 的 `min_length` 是 `3`,且預設值是 `"fixedquery"`:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 14.8K bytes - Click Count (0)