- Sort Score
- Num 10 results
- Language All
Results 1201 - 1210 of 1,922 for djson (0.03 seconds)
-
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) -
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) -
ADDING_NEW_LANGUAGE.md
### 1. Update OpenSearch Index Template Edit `src/main/resources/fess_indices/fess.json` to add language-specific analyzers. **Example for Swedish:** ```json { "analysis": { "filter": { "swedish_stop": { "type": "stop", "stopwords": "_swedish_" }, "swedish_stemmer": {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 11:36:30 GMT 2025 - 10.4K bytes - Click Count (1) -
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) -
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) -
.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_TOKENCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu May 06 21:46:09 GMT 2021 - 1.3K bytes - Click Count (0) -
docs/ko/docs/tutorial/server-sent-events.md
# 서버 전송 이벤트(SSE) { #server-sent-events-sse } 브라우저 클라이언트로 데이터를 스트리밍하려면 **Server-Sent Events**(SSE)를 사용할 수 있습니다. 이는 [JSON Lines 스트리밍](stream-json-lines.md)과 비슷하지만, 브라우저가 기본적으로 [`EventSource` API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource)를 통해 지원하는 `text/event-stream` 형식을 사용합니다. /// info | 정보 FastAPI 0.135.0에 추가되었습니다. /// ## Server-Sent Events란 { #what-are-server-sent-events }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:56:39 GMT 2026 - 5.3K bytes - Click Count (0) -
internal/logger/logrotate.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package logger import ( "encoding/json" "fmt" "io" "os" "path/filepath" "time" "github.com/klauspost/compress/gzip" "github.com/minio/madmin-go/v3/logger/log" xioutil "github.com/minio/minio/internal/ioutil" )
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 5.8K bytes - Click Count (0) -
docs/ja/docs/advanced/behind-a-proxy.md
ここまでは通常どおりに動作します。 しかし、統合ドキュメント UI(フロントエンド)を開くと、OpenAPI スキーマを `/api/v1/openapi.json` ではなく `/openapi.json` から取得しようとします。 そのため、フロントエンド(ブラウザで動作)は `/openapi.json` にアクセスしようとして、OpenAPI スキーマを取得できません。 このアプリには `/api/v1` のパスプレフィックスを付与するプロキシがあるため、フロントエンドは `/api/v1/openapi.json` から取得する必要があります。 ```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 14:07:17 GMT 2026 - 18.9K bytes - Click Count (0) -
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.textCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 08 04:37:38 GMT 2020 - 589 bytes - Click Count (0)