- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for test_orjson_non_str_keys (0.15 seconds)
-
tests/test_orjson_response_class.py
app = FastAPI(default_response_class=ORJSONResponse) @app.get("/orjson_non_str_keys") def get_orjson_non_str_keys(): key = quoted_name(value="msg", quote=False) return {key: "Hello World", 1: 1} client = TestClient(app) def test_orjson_non_str_keys(): with client: response = client.get("/orjson_non_str_keys")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Sep 02 10:17:31 GMT 2022 - 562 bytes - Click Count (0)