- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 975 for ison (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_compat.py
return foo client = TestClient(app) response = client.post("/", json="bar") assert response.status_code == 200, response.text assert response.json() == "bar" response2 = client.post("/", json=[1, 2]) assert response2.status_code == 200, response2.text assert response2.json() == [1, 2] def test_propagates_pydantic2_model_config(): app = FastAPI()Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 4.2K bytes - Click Count (0) -
docs/ko/docs/how-to/general.md
*경로 처리*를 지원 중단(deprecate)으로 표시하고, 문서 UI에 보여주려면 [튜토리얼 - 경로 처리 구성 - 지원 중단](../tutorial/path-operation-configuration.md#deprecate-a-path-operation) 문서를 읽어보세요. ## 어떤 데이터든 JSON 호환으로 변환하기 { #convert-any-data-to-json-compatible } 어떤 데이터든 JSON 호환 형식으로 변환하려면 [튜토리얼 - JSON 호환 인코더](../tutorial/encoder.md) 문서를 읽어보세요. ## OpenAPI 메타데이터 - 문서 { #openapi-metadata-docs }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 3.1K bytes - Click Count (0) -
docs/ko/docs/advanced/custom-response.md
/// ## JSON 응답 { #json-responses } 기본적으로 FastAPI는 JSON 응답을 반환합니다. [응답 모델](../tutorial/response-model.md)을 선언하면 FastAPI는 Pydantic을 사용해 데이터를 JSON으로 직렬화합니다. 응답 모델을 선언하지 않으면 FastAPI는 [JSON 호환 가능 인코더](../tutorial/encoder.md)에서 설명한 `jsonable_encoder`를 사용해 데이터를 변환한 뒤 `JSONResponse`에 넣습니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 12.4K bytes - Click Count (0) -
docs/ru/docs/tutorial/request-forms.md
/// ## О «полях формы» { #about-form-fields } Обычно способ, которым HTML-формы (`<form></form>`) отправляют данные на сервер, использует «специальное» кодирование для этих данных, отличное от JSON. **FastAPI** гарантирует, что эти данные будут прочитаны из нужного места, а не из JSON. /// note | Технические деталиCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/uk/docs/tutorial/request-forms.md
/// ## Про «поля форми» { #about-form-fields } HTML-форми (`<form></form>`) надсилають дані на сервер у «спеціальному» кодуванні, яке відрізняється від JSON. **FastAPI** подбає про те, щоб зчитати ці дані з правильного місця, а не з JSON. /// note | Технічні деталіCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 4K bytes - Click Count (0) -
docs/iam/access-manager-plugin.go
w.WriteHeader(http.StatusBadRequest) json.NewEncoder(w).Encode(map[string]string{ "error": fmt.Sprintf("%v", err), }) } type Result struct { Result bool `json:"result"` } func mainHandler(w http.ResponseWriter, r *http.Request) { body, err := io.ReadAll(r.Body) if err != nil { writeErrorResponse(w, err) return } var out bytes.Buffer json.Indent(&out, body, "", " ")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Feb 08 17:15:20 GMT 2024 - 2.7K bytes - Click Count (0) -
internal/config/help.go
// with value as description of the keys. type HelpKV struct { Key string `json:"key"` Type string `json:"type"` Description string `json:"description"` Optional bool `json:"optional"` // Indicates if the value contains sensitive info that shouldn't be exposed // in certain apis (such as Health Diagnostics/Callhome) Sensitive bool `json:"-"` // Indicates if the value is a secret such as a password that shouldn't beCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jun 23 14:45:27 GMT 2023 - 2.8K bytes - Click Count (0) -
docs/pt/docs/tutorial/body-multiple-params.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:48:53 GMT 2026 - 5.3K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/response-directly.md
{* ../../docs_src/response_model/tutorial001_01_py310.py hl[16,21] *} 由於這會在 Rust 端發生,效能會比用一般的 Python 與 `JSONResponse` 類別來完成好得多。 當使用 `response_model` 或回傳型別時,FastAPI 不會使用 `jsonable_encoder` 來轉換資料(那會較慢),也不會使用 `JSONResponse` 類別。 相反地,它會取用用回應模型(或回傳型別)透過 Pydantic 產生的 JSON 位元組,並直接回傳具備正確 JSON 媒體型別(`application/json`)的 `Response`。 ## 注意事項 { #notes }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.8K bytes - Click Count (0) -
internal/grid/types.go
} return &zero } // JSON is a wrapper around a T object that can be serialized. // There is an internal value type JSON[T any] struct { p *JSONPool[T] val *T } // NewJSON returns a new JSONPool. // No initial value is set. func (p *JSONPool[T]) NewJSON() *JSON[T] { var j JSON[T] j.p = p return &j } // NewJSONWith returns a new JSON with the provided value.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.5K bytes - Click Count (0)