Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 1,387 for orjson (0.03 sec)

  1. docs/ko/docs/tutorial/path-params.md

    `ModelName.lenet.value`로도 값 `"lenet"`에 접근할 수 있습니다.
    
    ///
    
    #### *열거형 멤버* 반환
    
    *경로 작동*에서 *열거형 멤버*를 반환할 수 있습니다. 이는 중첩 JSON 본문(예: `dict`)내의 값으로도 가능합니다.
    
    클라이언트에 반환하기 전에 해당 값(이 경우 문자열)으로 변환됩니다:
    
    {* ../../docs_src/path_params/tutorial005.py hl[18,21,23] *}
    
    클라이언트는 아래의 JSON 응답을 얻습니다:
    
    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## 경로를 포함하는 경로 매개변수
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. tests/test_arbitrary_types.py

                "title": "MyModel",
                "type": "object",
            }
        )
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("openapi.json")
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/": {
                        "get": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. .github/workflows/multipart/migrate.sh

    ./mc ready site2/
    
    for i in $(seq 1 10); do
    	# mc admin heal -r --remove when used against a LB endpoint
    	# behaves flaky, let this run 10 times before giving up
    	./mc admin heal -r --remove --json site1/ 2>&1 >/dev/null
    	./mc admin heal -r --remove --json site2/ 2>&1 >/dev/null
    done
    
    failed_count_site1=$(./s3-check-md5 -versions -access-key minioadmin -secret-key minioadmin -endpoint http://site1-nginx:9001 -bucket testbucket 2>&1 | grep FAILED | wc -l)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. docs/bucket/versioning/DESIGN.md

    - LegacyObjectType (preserves existing deployments and older xl.json format)
    - DeleteMarker (a versionId to capture the DELETE sequences implemented primarily for AWS spec compatibility)
    
    A sample msgpack-JSON `xl.meta`, you can debug the content inside `xl.meta` using [xl-meta.go](https://github.com/minio/minio/tree/master/docs/debugging#decoding-metadata) program.
    
    ```json
    {
      "Versions": [
        {
          "Type": 1,
          "V2Obj": {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  5. docs/uk/docs/tutorial/body-nested-models.md

    ## Атрибути зі списками підмоделей
    
    У Pydantic Ви можете використовувати моделі як підтипи для `list`, `set` тощо:
    
    {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *}
    
    Це означає, що **FastAPI** буде очікувати (конвертувати, валідувати, документувати тощо) JSON тіло запиту у вигляді:
    
    ```JSON hl_lines="11"
    {
        "name": "Foo",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Feb 28 14:18:01 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/request-forms-and-files.md

    Sie können mehrere `File`- und `Form`-Parameter in einer *Pfadoperation* deklarieren, aber Sie können nicht auch `Body`-Felder deklarieren, die Sie als JSON erwarten, da der Body des <abbr title="Request – Anfrage: Daten, die der Client zum Server sendet">Request</abbr> mittels `multipart/form-data` statt `application/json` kodiert sein wird.
    
    Das ist keine Limitation von **FastAPI**, sondern Teil des HTTP-Protokolls.
    
    ///
    
    ## Zusammenfassung { #recap }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. tests/test_filter_pydantic_sub_model_pv2.py

                "ctx": {"error": HasRepr("ValueError('name must end in A')")},
            }
        ]
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/model/{name}": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_dependencies/test_tutorial008b.py

        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Item not found"}
    
    
    def test_owner_error(client: TestClient):
        response = client.get("/items/plumbus")
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Owner error: Rick"}
    
    
    def test_get_item(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1K bytes
    - Viewed (0)
  9. cmd/config-migrate.go

    		newCfg, err := readServerConfig(GlobalContext, objAPI, data)
    		if err == nil {
    			return newCfg, nil
    		}
    
    		// Read older `.minio.sys/config/config.json`, if not
    		// possible just fail.
    		if err = json.Unmarshal(data, cfg); err != nil {
    			// Unable to parse old JSON simply re-initialize a new one.
    			return newServerCfg()
    		}
    	}
    
    	if !globalCredViaEnv && cfg.Credential.IsValid() {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. docs/uk/docs/tutorial/request-forms-and-files.md

    /// warning | Увага
    
    Ви можете оголосити кілька параметрів `File` і `Form` в операції *шляху*, але не можете одночасно оголошувати `Body`-поля, які очікуєте отримати у форматі JSON, оскільки запит матиме тіло, закодоване за допомогою `multipart/form-data`, а не `application/json`.
    
    Це не обмеження **FastAPI**, а частина протоколу HTTP.
    
    ///
    
    ## Підсумок
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Feb 20 14:13:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top