- Sort Score
- Result 10 results
- Languages All
Results 991 - 1000 of 1,156 for done (0.03 sec)
-
docs/ja/docs/tutorial/response-model.md
## レスポンスモデルのエンコーディングパラメータ レスポンスモデルにはデフォルト値を設定することができます: ```Python hl_lines="11 13 14" {!../../docs_src/response_model/tutorial004.py!} ``` * `description: str = None`は`None`がデフォルト値です。 * `tax: float = 10.5`は`10.5`がデフォルト値です。 * `tags: List[str] = []` は空のリスト(`[]`)がデフォルト値です。 しかし、実際に保存されていない場合には結果からそれらを省略した方が良いかもしれません。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java
/** * @author shot */ public class MimeTypeUtilTest { /** * @see org.junit.rules.ExpectedException */ @Rule public ExpectedException exception = ExpectedException.none(); /** * @throws Exception */ @Test public void testGetFromStream() throws Exception { final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/aaa.html";
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/SsoManager.java
public boolean available() { final String ssoType = getSsoType(); if (logger.isDebugEnabled()) { logger.debug("sso.type: {}", ssoType); } return !Constants.NONE.equals(ssoType); } public LoginCredential getLoginCredential() { if (available()) { final SsoAuthenticator authenticator = getAuthenticator(); if (authenticator != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.1K bytes - Viewed (0) -
.gitignore
/test/e2e/generated/bindata.go # This file used by some vendor repos (e.g. github.com/go-openapi/...) to store secret variables and should not be ignored !\.drone\.sec /bazel-* *.pyc # generated by verify-vendor.sh
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Thu Feb 29 08:22:06 UTC 2024 - 2.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/CIBuildModel.kt
channel = "flakiness-detection", extraParameters = "--checks none --rerun --cross-version-only" ), historical( displayName = "Historical Performance Test", timeout = 600, defaultBaselines = "last", channel = "historical", extraParameters = "--checks none --cross-version-only" ), adHoc( displayName = "AdHoc Performance Test",
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Oct 16 06:14:14 UTC 2024 - 22.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ResponseJvmTest.kt
sink: Buffer, byteCount: Long, ): Long { check(!closed) return data.read(sink, byteCount) } override fun timeout(): Timeout { return Timeout.NONE } } return source.buffer().asResponseBody(null, -1) } private fun newResponse( responseBody: ResponseBody, code: Int = 200, fn: Response.Builder.() -> Unit = {},
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
cmd/kms-router.go
kmsRouter.Methods(http.MethodGet).Path(version + "/key/status").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSKeyStatusHandler))) } // If none of the routes match add default error handler routes kmsRouter.NotFoundHandler = httpTraceAll(errorResponseHandler) kmsRouter.MethodNotAllowedHandler = httpTraceAll(methodNotAllowedHandler("KMS"))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 2.7K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial005.py
"description": "A very nice Item", "price": 35.4, "tax": 3.2, }, ) assert response.status_code == 200 def test_openapi_schema(client: TestClient) -> None: response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"},
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 26 18:03:13 UTC 2023 - 6.7K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py310.py
"price": 35.4, "tax": 3.2, }, ) assert response.status_code == 200 @needs_py310 def test_openapi_schema(client: TestClient) -> None: response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"},
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 26 18:03:13 UTC 2023 - 6.8K bytes - Viewed (0) -
docs/zh/docs/tutorial/extra-models.md
因此,接着上面的 `user_dict` 继续编写如下代码: ```Python UserInDB(**user_dict) ``` 就会生成如下结果: ```Python UserInDB( username="john", password="secret", email="john.doe@example.com", full_name=None, ) ``` 或更精准,直接把可能会用到的内容与 `user_dict` 一起使用: ```Python UserInDB( username = user_dict["username"], password = user_dict["password"], email = user_dict["email"],
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.6K bytes - Viewed (0)