- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 812 for rjsonp (0.09 sec)
-
docs/em/docs/advanced/custom-response.md
## ๐ ๐จ ๐ ๐ ๐ช โ ๐ ๐ ๐ ๐จ ๐, ๐ โช๏ธโก๏ธ `Response` & โ๏ธ โซ๏ธ. ๐ผ, โก๏ธ ๐ฌ ๐ ๐ ๐ โ๏ธ <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a>, โ๏ธ โฎ๏ธ ๐ โ ๐ซ โ๏ธ ๐ `ORJSONResponse` ๐. โก๏ธ ๐ฌ ๐ ๐ โซ๏ธ ๐จ ๐ & ๐ ๐ป, ๐ ๐ โ๏ธ Orjson ๐ `orjson.OPT_INDENT_2`. ๐ ๐ช โ `CustomORJSONResponse`. ๐ ๐ ๐ โ๏ธ โ `Response.render(content)` ๐ฉโ๐ฌ ๐ ๐จ ๐ `bytes`:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.7K bytes - Viewed (0) -
fastapi/responses.py
try: import ujson except ImportError: # pragma: nocover ujson = None # type: ignore try: import orjson except ImportError: # pragma: nocover orjson = None # type: ignore class UJSONResponse(JSONResponse): """ JSON response using the high-performance ujson library to serialize data to JSON. Read more about it in the
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 1.7K bytes - Viewed (0) -
pyproject.toml
"itsdangerous >=1.1.0", # For Starlette's schema generation, would not be used with FastAPI "pyyaml >=5.3.1", # For UJSONResponse "ujson >=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0", # For ORJSONResponse "orjson >=3.2.1", # To validate email fields "email-validator >=2.0.0", # Uvicorn with uvloop "uvicorn[standard] >=0.12.0", # Settings management
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 22 14:19:56 UTC 2024 - 7.9K bytes - Viewed (0) -
docs/zh/docs/advanced/custom-response.md
### `JSONResponse` ๆฅๅๆฐๆฎๅนถ่ฟๅไธไธช `application/json` ็ผ็ ็ๅๅบใ ๅฆไธๆๆ่ฟฐ๏ผ่ฟๆฏ **FastAPI** ไธญไฝฟ็จ็้ป่ฎคๅๅบใ ### `ORJSONResponse` ๅฆไธๆๆ่ฟฐ๏ผ`ORJSONResponse` ๆฏไธไธชไฝฟ็จ <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a> ็ๅฟซ้็ๅฏ้ JSON ๅๅบใ ### `UJSONResponse` `UJSONResponse` ๆฏไธไธชไฝฟ็จ <a href="https://github.com/ultrajson/ultrajson" class="external-link" target="_blank">`ujson`</a> ็ๅฏ้ JSON ๅๅบใ /// warning | "่ญฆๅ"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.7K bytes - Viewed (0) -
.github/renovate.json
{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:base", ":dependencyDashboard", "schedule:weekly" ], "labels": ["renovate"], "ignoreDeps": [ "com.squareup.okhttp3:okhttp", "com.squareup.okhttp3:okhttp-tls", "com.squareup.okhttp3:mockwebserver" ], "packageRules": [ { "matchPackagePatterns": [ "biz.*" ], "groupName": "bnd"
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jun 22 16:18:31 UTC 2024 - 956 bytes - Viewed (0) -
docs/debugging/inspect/main.go
} var inputs []string // Parse parameters switch { case *stdin: // Parse 'mc support inspect --json' output input := struct { File string `json:"file"` Key string `json:"key"` }{} got, err := io.ReadAll(os.Stdin) if err != nil { fatalErr(err) } fatalErr(json.Unmarshal(got, &input)) inputs = []string{input.File} *keyHex = input.Key case len(flag.Args()) == 1: var err error
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 31 14:49:23 UTC 2024 - 5.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt
*/ @CacheableTask abstract class AbstractAcceptedApiChangesMaintenanceTask : DefaultTask() { /** * A directory that contains jsons with accepted API changes. * Any json is a directory is considered to contain accepted API changes. */ @get:InputDirectory @get:PathSensitive(PathSensitivity.RELATIVE) abstract val apiChangesDirectory: DirectoryProperty
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 2.9K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt
import org.gradle.api.tasks.Internal import org.gradle.api.tasks.TaskAction import org.gradle.api.tasks.UntrackedTask import org.gradle.internal.util.PropertiesUtils import org.gradle.util.internal.VersionNumber import org.jsoup.Jsoup import org.w3c.dom.Element import java.util.Properties import javax.xml.parsers.DocumentBuilderFactory /** * Fetch the latest AGP versions and write a properties file. * Never up-to-date, non-cacheable.
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 02 09:17:07 UTC 2023 - 5.6K bytes - Viewed (0) -
docs/ko/docs/advanced/response-cookies.md
```Python hl_lines="1 18" {!../../docs_src/response_directly/tutorial002.py!} ``` /// tip `Response` ๋งค๊ฐ๋ณ์๋ฅผ ์ฌ์ฉํ์ง ์๊ณ ์๋ต์ ์ง์ ๋ฐํํ๋ ๊ฒฝ์ฐ, FastAPI๋ ์ด๋ฅผ ์ง์ ๋ฐํํ๋ค๋ ์ ์ ์ ์ํ์ธ์. ๋ฐ๋ผ์ ๋ฐ์ดํฐ๊ฐ ์ฌ๋ฐ๋ฅธ ์ ํ์ธ์ง ํ์ธํด์ผ ํฉ๋๋ค. ์: `JSONResponse`๋ฅผ ๋ฐํํ๋ ๊ฒฝ์ฐ, JSON๊ณผ ํธํ๋๋์ง ํ์ธํ์ธ์. ๋ํ `response_model`๋ก ๊ฑธ๋ฌ์ ธ์ผ ํ ๋ฐ์ดํฐ๊ฐ ์ ๋ฌ๋์ง ์๋๋ก ํ์ธํ์ธ์. /// ### ์ถ๊ฐ ์ ๋ณด /// note | "๊ธฐ์ ์ ์ธ๋ถ์ฌํญ"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 29 10:32:45 UTC 2024 - 2.4K bytes - Viewed (0) -
tests/test_default_response_class.py
from typing import Any import orjson from fastapi import APIRouter, FastAPI from fastapi.responses import HTMLResponse, JSONResponse, PlainTextResponse from fastapi.testclient import TestClient class ORJSONResponse(JSONResponse): media_type = "application/x-orjson" def render(self, content: Any) -> bytes: return orjson.dumps(content) class OverrideResponse(JSONResponse): media_type = "application/x-override"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Mar 01 20:49:20 UTC 2020 - 5.2K bytes - Viewed (0)