Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 901 - 910 of 1,408 for ison (0.02 seconds)

  1. docs_src/custom_response/tutorial009c_py310.py

    from typing import Any
    
    import orjson
    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    class CustomORJSONResponse(Response):
        media_type = "application/json"
    
        def render(self, content: Any) -> bytes:
            assert orjson is not None, "orjson must be installed"
            return orjson.dumps(content, option=orjson.OPT_INDENT_2)
    
    
    @app.get("/", response_class=CustomORJSONResponse)
    async def main():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 451 bytes
    - Click Count (0)
  2. tests/soft_delete_test.go

    		t.Errorf("Can't find permanently deleted record")
    	}
    }
    
    func TestDeletedAtUnMarshal(t *testing.T) {
    	expected := &gorm.Model{}
    	b, _ := json.Marshal(expected)
    
    	result := &gorm.Model{}
    	_ = json.Unmarshal(b, result)
    	if result.DeletedAt != expected.DeletedAt {
    		t.Errorf("Failed, result.DeletedAt: %v is not same as expected.DeletedAt: %v", result.DeletedAt, expected.DeletedAt)
    	}
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Feb 01 06:40:55 GMT 2023
    - 5.7K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/security/oauth2-jwt.md

    Ce code est utilisable dans votre application, enregistrez les hachages de mots de passe dans votre base de données, etc.
    
    Nous allons repartir d'où nous nous sommes arrêtés dans le chapitre précédent et l'enrichir.
    
    ## À propos de JWT { #about-jwt }
    
    JWT signifie « JSON Web Tokens ».
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

    import org.opensearch.action.get.GetResponse;
    import org.opensearch.common.collect.Tuple;
    import org.opensearch.common.xcontent.XContentType;
    import org.opensearch.common.xcontent.json.JsonXContent;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.index.IndexNotFoundException;
    import org.opensearch.transport.client.Client;
    
    /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  5. .ci/jobs.t/elastic+elasticsearch+multijob+third-party-tests-gcs.yml

                google_storage_base_path=%BRANCH%
          - shell: |
              #!/usr/local/bin/runbld --redirect-stderr
              set -euo pipefail
              export google_storage_service_account=$(pwd)/gcs_service_account.json
    
              set +x
              VAULT_TOKEN=$(vault write -field=token auth/approle/login role_id=$VAULT_ROLE_ID secret_id=$VAULT_SECRET_ID)
              export VAULT_TOKEN
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  6. tests/test_response_change_status_code.py

        return {"msg": "Hello World"}
    
    
    client = TestClient(app)
    
    
    def test_dependency_set_status_code():
        response = client.get("/")
        assert response.status_code == 201, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 08 04:37:38 GMT 2020
    - 589 bytes
    - Click Count (0)
  7. docs/de/docs/tutorial/query-params.md

    Wenn Sie in Ihrem Browser eine URL wie:
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ... öffnen, ohne den benötigten Parameter `needy`, dann erhalten Sie einen Fehler wie den folgenden:
    
    ```JSON
    {
      "detail": [
        {
          "type": "missing",
          "loc": [
            "query",
            "needy"
          ],
          "msg": "Field required",
          "input": null
        }
      ]
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/security/oauth2-jwt.md

    This code is something you can actually use in your application, save the password hashes in your database, etc.
    
    We are going to start from where we left in the previous chapter and increment it.
    
    ## About JWT { #about-jwt }
    
    JWT means "JSON Web Tokens".
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/response-model.md

    FastAPI는 이 반환 타입을 사용하여:
    
    * 반환된 데이터를 **검증**합니다.
        * 데이터가 유효하지 않다면(예: 필드가 누락된 경우), 이는 *여러분의* 앱 코드가 깨져서 의도한 값을 반환하지 못한다는 의미이며, 잘못된 데이터를 반환하는 대신 서버 오류를 반환합니다. 이렇게 하면 여러분과 클라이언트는 기대한 데이터와 데이터 형태를 받는다는 것을 확실히 할 수 있습니다.
    * OpenAPI *경로 처리*의 응답에 **JSON Schema**를 추가합니다.
        * 이는 **자동 문서**에서 사용됩니다.
        * 또한 자동 클라이언트 코드 생성 도구에서도 사용됩니다.
    * 반환된 데이터를 Pydantic을 사용해 JSON으로 **직렬화**합니다. Pydantic은 **Rust**로 작성되어 있어 **훨씬 더 빠릅니다**.
    
    하지만 가장 중요한 것은:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  10. docs/de/docs/how-to/custom-request-and-route.md

    Wenn Sie gerade erst mit **FastAPI** beginnen, möchten Sie diesen Abschnitt vielleicht überspringen.
    
    ///
    
    ## Anwendungsfälle { #use-cases }
    
    Einige Anwendungsfälle sind:
    
    * Konvertieren von Nicht-JSON-Requestbodys nach JSON (z. B. [`msgpack`](https://msgpack.org/index.html)).
    * Dekomprimierung gzip-komprimierter Requestbodys.
    * Automatisches Loggen aller Requestbodys.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 5.6K bytes
    - Click Count (0)
Back to Top