- Sort Score
- Result 10 results
- Languages All
Results 1051 - 1060 of 1,726 for ujson (0.03 sec)
-
tests/test_tutorial/test_dependencies/test_tutorial008c_an.py
response = client.get("/items/foo") assert response.status_code == 404, response.text assert response.json() == {"detail": "Item not found, there's only a plumbus here"} def test_get(client: TestClient): response = client.get("/items/plumbus") assert response.status_code == 200, response.text assert response.json() == "plumbus" def test_fastapi_error(client: TestClient):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 1.1K bytes - Viewed (0) -
internal/config/subnet/config.go
// Config represents the subnet related configuration type Config struct { // The subnet license token - Deprecated Dec 2021 License string `json:"license"` // The subnet api key APIKey string `json:"apiKey"` // The HTTP(S) proxy URL to use for connecting to SUBNET Proxy string `json:"proxy"` // Transport configured with proxy_url if set optionally. transport http.RoundTripper // The subnet base URL BaseURL string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.8K bytes - Viewed (0) -
internal/s3select/errors.go
func errObjectSerializationConflict(err error) *s3Error { return &s3Error{ code: "ObjectSerializationConflict", message: "InputSerialization specifies more than one format (CSV, JSON, or Parquet), or OutputSerialization specifies more than one format (CSV or JSON). InputSerialization and OutputSerialization can only specify one format each.", statusCode: 400, cause: err, } } func errInvalidExpressionType(err error) *s3Error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 14 16:48:36 UTC 2022 - 4.3K bytes - Viewed (0) -
docs/ja/docs/tutorial/request-forms-and-files.md
ファイルとフォームフィールドがフォームデータとしてアップロードされ、ファイルとフォームフィールドを受け取ります。 また、いくつかのファイルを`bytes`として、いくつかのファイルを`UploadFile`として宣言することができます。 /// warning | "注意" *path operation*で複数の`File`と`Form`パラメータを宣言することができますが、JSONとして受け取ることを期待している`Body`フィールドを宣言することはできません。なぜなら、リクエストのボディは`application/json`の代わりに`multipart/form-data`を使ってエンコードされているからです。 これは **FastAPI** の制限ではなく、HTTPプロトコルの一部です。 /// ## まとめ
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.8K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial008d.py
response = client.get("/items/foo") assert response.status_code == 404, response.text assert response.json() == {"detail": "Item not found, there's only a plumbus here"} def test_get(client: TestClient): response = client.get("/items/plumbus") assert response.status_code == 200, response.text assert response.json() == "plumbus" def test_internal_error(client: TestClient):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 1.2K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-params.md
Você pode retornar *membros de enum* da sua *rota de operação*, em um corpo JSON aninhado (por exemplo um `dict`). Eles serão convertidos para o seus valores correspondentes (strings nesse caso) antes de serem retornados ao cliente: ```Python hl_lines="18 21 23" {!../../docs_src/path_params/tutorial005.py!} ``` No seu cliente você vai obter uma resposta JSON como: ```JSON { "model_name": "alexnet",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.8K bytes - Viewed (0) -
docs/vi/docs/features.md
* Tự động tài liệu hóa data model theo <a href="https://json-schema.org/" class="external-link" target="_blank"><strong>JSON Schema</strong></a> (OpenAPI bản thân nó được dựa trên JSON Schema). * Được thiết kế xung quanh các tiêu chuẩn này sau khi nghiên cứu tỉ mỉ thay vì chỉ suy nghĩ đơn giản và sơ xài.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 11.5K bytes - Viewed (0) -
docs/zh/docs/features.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 8.9K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
Then you just do the same in your tests. E.g.: * To pass a *path* or *query* parameter, add it to the URL itself. * To pass a JSON body, pass a Python object (e.g. a `dict`) to the parameter `json`. * If you need to send *Form Data* instead of JSON, use the `data` parameter instead. * To pass *headers*, use a `dict` in the `headers` parameter. * For *cookies*, a `dict` in the `cookies` parameter.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.5K bytes - Viewed (0) -
docs/compression/README.md
Config `compress` settings take extensions and mime-types to be compressed. ```bash ~ mc admin config get myminio compression compression extensions=".txt,.log,.csv,.json,.tar,.xml,.bin" mime_types="text/*,application/json,application/xml" ``` Default config includes most common highly compressible content extensions and mime-types. ```bash
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 11 11:55:34 UTC 2024 - 5.1K bytes - Viewed (0)