- Sort Score
- Num 10 results
- Language All
Results 2801 - 2810 of 3,666 for hist (0.02 seconds)
-
tests/test_pydantic_v1_error.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 2.3K bytes - Click Count (0) -
tests/test_response_code_no_body.py
app = FastAPI() class JsonApiResponse(JSONResponse): media_type = "application/vnd.api+json" class Error(BaseModel): status: str title: str class JsonApiError(BaseModel): errors: list[Error] @app.get( "/a", status_code=204, response_class=JsonApiResponse, responses={500: {"description": "Error", "model": JsonApiError}}, ) async def a(): pass
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 3.2K bytes - Click Count (0) -
docs_src/sql_databases/tutorial001_an_py310.py
session.commit() session.refresh(hero) return hero @app.get("/heroes/") def read_heroes( session: SessionDep, offset: int = 0, limit: Annotated[int, Query(le=100)] = 100, ) -> list[Hero]: heroes = session.exec(select(Hero).offset(offset).limit(limit)).all() return heroes @app.get("/heroes/{hero_id}") def read_hero(hero_id: int, session: SessionDep) -> Hero:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Oct 09 19:44:42 GMT 2024 - 1.7K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/dict/admin_dict.jsp
</la:info> <la:errors/> </div> <%-- List --%> <c:if test="${fn:length(dictFiles) == 0}"> <div class="row top10"> <div class="col-sm-12">Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 13 05:54:52 GMT 2025 - 4.1K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt
else -> null // No TLS extensions if the socket class is custom. } override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?, protocols: List<Protocol>, ) { // No TLS extensions if the socket class is custom. if (matchesSocket(sslSocket)) { // Enable session tickets. Conscrypt.setUseSessionTickets(sslSocket, true) // Enable ALPN.Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3K bytes - Click Count (0) -
docs/zh/docs/tutorial/encoder.md
# JSON 兼容编码器 在某些情况下,您可能需要将数据类型(如Pydantic模型)转换为与JSON兼容的数据类型(如`dict`、`list`等)。 比如,如果您需要将其存储在数据库中。 对于这种要求, **FastAPI**提供了`jsonable_encoder()`函数。 ## 使用`jsonable_encoder` 让我们假设你有一个数据库名为`fake_db`,它只能接收与JSON兼容的数据。 例如,它不接收`datetime`这类的对象,因为这些对象与JSON不兼容。 因此,`datetime`对象必须将转换为包含<a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO格式化</a>的`str`类型对象。 同样,这个数据库也不会接收Pydantic模型(带有属性的对象),而只接收`dict`。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 1.6K bytes - Click Count (0) -
cmd/kms-router.go
// KMS Key APIs kmsRouter.Methods(http.MethodPost).Path(version+"/key/create").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSCreateKeyHandler))).Queries("key-id", "{key-id:.*}") kmsRouter.Methods(http.MethodGet).Path(version+"/key/list").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSListKeysHandler))).Queries("pattern", "{pattern:.*}") kmsRouter.Methods(http.MethodGet).Path(version + "/key/status").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSKeyStatusHandler))) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 07 23:55:37 GMT 2024 - 2.7K bytes - Click Count (0) -
ci/official/envs/windows_x86_2022
# https://github.com/tensorflow/tensorflow/blob/cc3006af6fea8d2a1360b3b5e65f9d14bbdb7094/ci/devinfra/docker/windows2022/Dockerfile#L196 TFCI_OUTPUT_WIN_DOCKER_DIR='C:/drive_t' # Docker on Windows doesn't support the `host` networking mode, and so # port-forwarding is required for the container to detect it's running on GCE. export IP_ADDR=$(powershell -command "(Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias 'vEthernet (nat)').IPAddress")
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Nov 06 19:44:26 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/QueryFieldConfig.java
protected Set<String> apiResponseFieldSet; /** Set of fields that are not analyzed during indexing */ protected Set<String> notAnalyzedFieldSet; /** List of additional default fields with their boost values */ protected List<Pair<String, Float>> additionalDefaultList = new ArrayList<>(); /** * Initializes the query field configuration by loading field mappings from FessConfig.
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 21.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsElevateWordToLabelCQ.java
queryLambda.callback(cq); final Collection<FilterFunctionBuilder> list = new ArrayList<>(); if (functionsLambda != null) { functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> { ElevateWordToLabelCQ cf = new ElevateWordToLabelCQ(); cqLambda.callback(cf); list.add(new FilterFunctionBuilder(cf.getQuery(), scoreFunctionBuilder)); }); }
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 23.8K bytes - Click Count (0)