- Sort Score
- Num 10 results
- Language All
Results 701 - 710 of 1,352 for nine (0.02 seconds)
-
tests/test_tutorial/test_header_params/test_tutorial003.py
client = TestClient(mod.app) return client @pytest.mark.parametrize( "path,headers,expected_status,expected_response", [ ("/items", None, 200, {"X-Token values": None}), ("/items", {"x-token": "foo"}, 200, {"X-Token values": ["foo"]}), ( "/items", [("x-token", "foo"), ("x-token", "bar")], 200,Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 4.1K bytes - Click Count (0) -
internal/s3select/csv/args.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package csv import ( "encoding/xml" "errors" "fmt" "io" "strings" "unicode/utf8" ) const ( none = "none" use = "use" ignore = "ignore" defaultRecordDelimiter = "\n" defaultFieldDelimiter = "," defaultQuoteCharacter = `"` defaultQuoteEscapeCharacter = `"`
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 20 18:31:45 GMT 2024 - 5.7K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/03-gopls.yml
id: gopls-version attributes: label: "gopls version" description: "Output of `gopls -v version` on the command line" validations: required: true - type: textarea id: go-env attributes: label: "go env" description: "Output of `go env` on the command line in your workspace directory" render: shell validations: required: true - type: textareaCreated: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri May 24 17:09:04 GMT 2024 - 1.8K bytes - Click Count (0) -
docs/zh/docs/tutorial/response-model.md
<img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image02.png"> ## 响应模型编码参数 你的响应模型可以具有默认值,例如: {* ../../docs_src/response_model/tutorial004.py hl[11,13:14] *} * `description: Union[str, None] = None` 具有默认值 `None`。 * `tax: float = 10.5` 具有默认值 `10.5`. * `tags: List[str] = []` 具有一个空列表作为默认值: `[]`. 但如果它们并没有存储实际的值,你可能想从结果中忽略它们的默认值。 举个例子,当你在 NoSQL 数据库中保存了具有许多可选属性的模型,但你又不想发送充满默认值的很长的 JSON 响应。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 6.9K bytes - Click Count (0) -
.typos.toml
"MIIDBTCCAe2gAwIBAgIQWHw7h.*", 'http\.Header\{"X-Amz-Server-Side-Encryptio":', "ZoEoZdLlzVbOlT9rbhD7ZN7TLyiYXSAlB79uGEge", "ERRO:", "(?Rm)^.*(#|//)\\s*spellchecker:disable-line$", # ignore line ] [default.extend-words] "encrypter" = "encrypter" "kms" = "kms" "requestor" = "requestor" [default.extend-identifiers] "HashiCorp" = "HashiCorp" [type.go.extend-identifiers]Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 03 06:45:06 GMT 2025 - 1.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java
public class CIDetectorHelperTest { private static final Set<String> ALL = Set.of("CIRCLECI", "CI", "WORKSPACE", "GITHUB_ACTIONS", "TEAMCITY_VERSION", "TRAVIS"); @Test void none() throws Exception { assertEquals("NONE;", runner(Map.of())); } @Test void generic() throws Exception { assertEquals(GenericCIDetector.NAME + ";", runner(Map.of("CI", "true"))); } @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Apr 13 18:50:07 GMT 2025 - 3.4K bytes - Click Count (0) -
docs/de/docs/tutorial/extra-data-types.md
* `frozenset`: * Wird in Requests und Responses wie ein `set` behandelt: * Bei Requests wird eine Liste gelesen, Duplikate entfernt und in ein `set` umgewandelt. * Bei Responses wird das `set` in eine `list` umgewandelt. * Das generierte Schema zeigt an, dass die `set`-Werte eindeutig sind (unter Verwendung von JSON Schemas `uniqueItems`). * `bytes`:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 3.2K bytes - Click Count (0) -
docs/en/docs/tutorial/response-model.md
Your response model could have default values, like: {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *} * `description: Union[str, None] = None` (or `str | None = None` in Python 3.10) has a default of `None`. * `tax: float = 10.5` has a default of `10.5`. * `tags: List[str] = []` has a default of an empty list: `[]`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 15.5K bytes - Click Count (0) -
docs/pt/docs/tutorial/response-model.md
Seu modelo de resposta pode ter valores padrão, como: {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *} * `description: Union[str, None] = None` (ou `str | None = None` no Python 3.10) tem um padrão de `None`. * `tax: float = 10.5` tem um padrão de `10.5`. * `tags: List[str] = []` tem um padrão de uma lista vazia: `[]`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 17.3K bytes - Click Count (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial003.py
return client def test_post_body_example(client: TestClient): response = client.put( "/items/5", json={ "name": "Foo", "description": "A very nice Item", "price": 35.4, "tax": 3.2, }, ) assert response.status_code == 200 def test_openapi_schema(client: TestClient): response = client.get("/openapi.json")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 5.1K bytes - Click Count (0)