- Sort Score
- Num 10 results
- Language All
Results 881 - 890 of 1,920 for ujson (0.02 seconds)
-
fastapi/routing.py
if subtype == "json" or subtype.endswith("+json"): json_body = await request.json() if json_body != Undefined: body = json_body else: body = body_bytes except json.JSONDecodeError as e: validation_error = RequestValidationError(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 193K bytes - Click Count (0) -
docs/fr/docs/tutorial/security/simple-oauth2.md
Mais pour l'instant, concentrons‑nous sur les détails spécifiques dont nous avons besoin. /// {* ../../docs_src/security/tutorial003_an_py310.py hl[87] *} /// tip | Astuce D'après la spécification, vous devez renvoyer un JSON avec un `access_token` et un `token_type`, comme dans cet exemple.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 11.2K bytes - Click Count (0) -
docs/pt/docs/tutorial/security/simple-oauth2.md
Mas, por enquanto, vamos nos concentrar nos detalhes específicos de que precisamos. /// {* ../../docs_src/security/tutorial003_an_py310.py hl[87] *} /// tip | Dica Pela especificação, você deve retornar um JSON com um `access_token` e um `token_type`, o mesmo que neste exemplo.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 10.2K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/stream-data.md
# 串流資料 { #stream-data } 如果你要串流可用 JSON 結構化的資料,應該[串流 JSON Lines](../tutorial/stream-json-lines.md)。 但如果你想串流純二進位資料或字串,以下是做法。 /// info 已在 FastAPI 0.134.0 新增。 /// ## 使用情境 { #use-cases } 當你想串流純字串時可以用這個機制,例如直接轉發來自 AI LLM 服務的輸出。 你也可以用它來串流大型二進位檔案,邊讀邊將每個區塊(chunk)串流出去,而不必一次把整個檔案載入記憶體。 你也可以用同樣方式串流視訊或音訊,甚至可以在處理的同時即時產生並傳送。 ## 使用 `yield` 的 `StreamingResponse` { #a-streamingresponse-with-yield }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:33:04 GMT 2026 - 4.9K bytes - Click Count (0) -
internal/event/config.go
} // common - represents common elements inside <QueueConfiguration>, <CloudFunctionConfiguration> // and <TopicConfiguration> type common struct { ID string `xml:"Id" json:"Id"` Filter S3Key `xml:"Filter" json:"Filter"` Events []Name `xml:"Event" json:"Event"` } // Queue - represents elements inside <QueueConfiguration> type Queue struct { common ARN ARN `xml:"Queue"` }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.4K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/behind-a-proxy.md
到目前為止,一切都會如常運作。 但是,當你打開整合的文件 UI(前端)時,它會預期在 `/openapi.json` 取得 OpenAPI 模式,而不是在 `/api/v1/openapi.json`。 因此,前端(在瀏覽器中執行)會嘗試存取 `/openapi.json`,但無法取得 OpenAPI 模式。 因為我們的應用前面有一個將路徑前綴設定為 `/api/v1` 的代理,所以前端需要從 `/api/v1/openapi.json` 取得 OpenAPI 模式。 ```mermaid graph LR browser("Browser") proxy["Proxy on http://0.0.0.0:9999/api/v1/app"]Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 15.3K bytes - Click Count (0) -
internal/config/batch/batch.go
) var configMu sync.RWMutex // Config represents the batch job settings. type Config struct { ReplicationWorkersWait time.Duration `json:"replicationWorkersWait"` KeyRotationWorkersWait time.Duration `json:"keyRotationWorkersWait"` ExpirationWorkersWait time.Duration `json:"expirationWorkersWait"` } // ExpirationWait returns the duration for which a batch expiration worker // would wait before working on next object.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 4.7K bytes - Click Count (0) -
fastapi/encoders.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 10.9K bytes - Click Count (0) -
docs/zh-hant/docs/how-to/conditional-openapi.md
這裡我們宣告 `openapi_url` 設定,預設值同樣是 `"/openapi.json"`。 接著在建立 `FastAPI` 應用時使用它。 然後你可以將環境變數 `OPENAPI_URL` 設為空字串,以停用 OpenAPI(包含文件 UI),如下: <div class="termy"> ```console $ OPENAPI_URL= uvicorn main:app <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> 之後若你造訪 `/openapi.json`、`/docs` 或 `/redoc`,會看到如下的 `404 Not Found` 錯誤: ```JSON
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 2.1K bytes - Click Count (0) -
docs/pt/docs/tutorial/path-params.md
Eles serão convertidos para seus valores correspondentes (strings neste caso) antes de serem retornados ao cliente: {* ../../docs_src/path_params/tutorial005_py310.py hl[18,21,23] *} No seu cliente, você receberá uma resposta JSON como: ```JSON { "model_name": "alexnet", "message": "Deep Learning FTW!" }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 9.5K bytes - Click Count (0)