- Sort Score
- Result 10 results
- Languages All
Results 1271 - 1280 of 1,775 for gson (0.02 sec)
-
docs/uk/docs/tutorial/header-param-models.md
Наприклад, якщо клієнт спробує надіслати заголовок `tool` зі значенням `plumbus`, він отримає **помилку** з повідомленням про те, що параметр заголовка `tool` не дозволений: ```json { "detail": [ { "type": "extra_forbidden", "loc": ["header", "tool"], "msg": "Extra inputs are not permitted", "input": "plumbus", } ]Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Mar 19 17:03:13 UTC 2025 - 3K bytes - Viewed (0) -
tests/test_request_params/test_path/test_required_str.py
), ], ) def test_success(path: str): client = TestClient(app) response = client.get(f"{path}/hello") assert response.status_code == 200, response.textRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 2.3K bytes - Viewed (0) -
docs_src/additional_responses/tutorial002_py310.py
app = FastAPI() @app.get( "/items/{item_id}", response_model=Item, responses={ 200: { "content": {"image/png": {}}, "description": "Return the JSON item or an image.", } }, ) async def read_item(item_id: str, img: bool | None = None): if img: return FileResponse("image.png", media_type="image/png") else:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 596 bytes - Viewed (0) -
tests/test_security_scopes_sub_dependency.py
assert call_counts["get_db_session"] == 1 assert call_counts["get_current_user"] == 2 assert call_counts["get_user_me"] == 2 assert call_counts["get_user_items"] == 1 assert response.json() == { "user_me": { "user_me": "user_me_1", "current_user": { "user": "user_1", "scopes": ["me"], "db_session": "db_session_1",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 2.9K bytes - Viewed (0) -
.teamcity/pluginData/Check/plugin-settings.xml
<build-type id="bt270451" /> </build-types> </webhook> <webhook url="https://gradle-bot.grdev.net/teamcity" enabled="true" template="legacy-tailored-json"> <states> <state type="buildAddedToQueue" enabled="false" /> <state type="buildRemovedFromQueue" enabled="false" /> <state type="buildStarted" enabled="false" />
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue May 18 02:15:16 UTC 2021 - 2.2K bytes - Viewed (0) -
internal/auth/credentials_test.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 auth import ( "encoding/json" "testing" "time" ) func TestExpToInt64(t *testing.T) { testCases := []struct { exp any expectedFailure bool }{ {"", true}, {"-1", true}, {"1574812326", false},
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.4K bytes - Viewed (0) -
docs/ko/docs/tutorial/request-files.md
/// info | 정보 `File` 은 `Form` 으로부터 직접 상속된 클래스입니다. 하지만 `fastapi`로부터 `Query`, `Path`, `File` 등을 임포트 할 때, 이것들은 특별한 클래스들을 반환하는 함수라는 것을 기억하기 바랍니다. /// /// tip | 팁 File의 본문을 선언할 때, 매개변수가 쿼리 매개변수 또는 본문(JSON) 매개변수로 해석되는 것을 방지하기 위해 `File` 을 사용해야합니다. /// 파일들은 "폼 데이터"의 형태로 업로드 됩니다. *경로 작동 함수*의 매개변수를 `bytes` 로 선언하는 경우 **FastAPI**는 파일을 읽고 `bytes` 형태의 내용을 전달합니다.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8K bytes - Viewed (0) -
docs_src/app_testing/tutorial002_py39.py
await websocket.close() def test_read_main(): client = TestClient(app) response = client.get("/") assert response.status_code == 200 assert response.json() == {"msg": "Hello World"} def test_websocket(): client = TestClient(app) with client.websocket_connect("/ws") as websocket: data = websocket.receive_json()
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 757 bytes - Viewed (0) -
cmd/xl-storage.go
} storageLogOnceIf(GlobalContext, err, "check-format-json") // log unexpected errors return "", errCorruptedBackend } format := &formatErasureV3{} json := jsoniter.ConfigCompatibleWithStandardLibrary if err = json.Unmarshal(b, &format); err != nil { bugLogIf(GlobalContext, err) // log unexpected errors return "", errCorruptedFormat }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 91.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java
} else { try (final CurlResponse response = curlRequest.body(buf.toString()).execute()) { final File tempFile = ComponentUtil.getSystemHelper().createTempFile("sereq_", ".json"); try (final InputStream in = response.getContentAsStream()) { CopyUtil.copy(in, tempFile); } catch (final Exception e1) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.2K bytes - Viewed (0)