- Sort Score
- Result 10 results
- Languages All
Results 1451 - 1460 of 1,755 for Gson (0.04 sec)
-
docs/zh/docs/advanced/dataclasses.md
4. `Author` 数据类用于 `response_model` 参数; 5. 其它带有数据类的标准类型注解也可以作为请求体; 本例使用的是 `Item` 数据类列表; 6. 这行代码返回的是包含 `items` 的字典,`items` 是数据类列表; FastAPI 仍能把数据<abbr title="把数据转换为可以传输的格式">序列化</abbr>为 JSON; 7. 这行代码中,`response_model` 的类型注解是 `Author` 数据类列表; 再一次,可以把 `dataclasses` 与标准类型注解一起使用; 8. 注意,*路径操作函数*使用的是普通函数,不是异步函数; 与往常一样,在 FastAPI 中,可以按需组合普通函数与异步函数;
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java
import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.codelibs.fess.it.CrudTestBase; import org.junit.jupiter.api.BeforeEach; import io.restassured.path.json.JsonPath; public abstract class DictCrudTestBase extends CrudTestBase { protected String dictId; abstract protected String getDictType(); private static final String LIST_ENDPOINT_SUFFIX = "settings";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/de/docs/advanced/additional-status-codes.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/en/docs/tutorial/request-form-models.md
* `username`: `Rick` * `password`: `Portal Gun` * `extra`: `Mr. Poopybutthole` They will receive an error response telling them that the field `extra` is not allowed: ```json { "detail": [ { "type": "extra_forbidden", "loc": ["body", "extra"], "msg": "Extra inputs are not permitted", "input": "Mr. Poopybutthole"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.8K bytes - Viewed (0) -
docs/pt/docs/advanced/additional-status-codes.md
Quando você retorna um `Response` diretamente, como no exemplo acima, ele será retornado diretamente. Ele não será serializado com um modelo, etc. Garanta que ele tenha toda informação que você deseja, e que os valores sejam um JSON válido (caso você esteja usando `JSONResponse`). /// /// note | "Detalhes técnicos" Você também pode utilizar `from starlette.responses import JSONResponse`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route_test.go
}, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { gotOut := &bytes.Buffer{} cw := &ConfigWriter{Stdout: gotOut} cd, _ := os.ReadFile(fmt.Sprintf("testdata/routes/%s/configdump.json", tt.name)) if err := cw.Prime(cd); err != nil { t.Errorf("failed to parse config dump: %s", err) } err := cw.PrintRouteSummary(RouteFilter{Verbose: true}) assert.NoError(t, err)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 29 12:37:14 UTC 2023 - 2.8K bytes - Viewed (0) -
docs/em/docs/tutorial/header-params.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java
import org.codelibs.fess.it.CrudTestBase; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import io.restassured.path.json.JsonPath; @Tag("it") public class WebAuthTests extends CrudTestBase { private static final String NAME_PREFIX = "webAuthTest_"; private static final String API_PATH = "/api/admin/webauth";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformUrlTestData.kt
import okhttp3.internal.format import okio.Buffer import okio.BufferedSource /** * A test from the [Web Platform URL test suite](https://github.com/web-platform-tests/wpt/blob/master/url/resources/urltestdata.json). * * Each test is a line of the file `urltestdata.txt`. The format is informally specified by its * JavaScript parser `urltestparser.js` with which this class attempts to be compatible. *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.7K bytes - Viewed (0) -
.teamcity/src/test/kotlin/BuildTypeTest.kt
projectId = "Gradle_Check", branch = VersionedSettingsBranch("master"), buildScanTags = listOf("Check"), subprojects = JsonBasedGradleSubprojectProvider(File("../.teamcity/subprojects.json")) ) @Test fun `CompileAll parameters are correct`() { val gradleStep = CompileAll(buildModel, buildModel.stages[0]).steps.getGradleStep(GRADLE_RUNNER_STEP_NAME) assertEquals(
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Sep 30 07:24:00 UTC 2024 - 4.7K bytes - Viewed (0)