Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1051 - 1060 of 1,804 for inf1 (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh/docs/advanced/stream-data.md

    # 流式数据 { #stream-data }
    
    如果你要流式传输可以结构化为 JSON 的数据,你应该[流式传输 JSON Lines](../tutorial/stream-json-lines.md)。
    
    但如果你想流式传输纯二进制数据或字符串,可以按下面的方法操作。
    
    /// info | 信息
    
    自 FastAPI 0.134.0 起新增。
    
    ///
    
    ## 使用场景 { #use-cases }
    
    如果你想流式传输纯字符串,例如直接来自某个 AI LLM 服务的输出,可以使用它。
    
    你也可以用它来流式传输大型二进制文件,在读取的同时按块发送,无需一次性把所有内容读入内存。
    
    你还可以用这种方式流式传输视频或音频,甚至可以在处理的同时生成并发送。
    
    ## 使用 `yield` 的 `StreamingResponse` { #a-streamingresponse-with-yield }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java

    import org.elasticsearch.gradle.test.GradleTestPolicySetupPlugin;
    import org.elasticsearch.gradle.test.SystemPropertyCommandLineArgumentProvider;
    import org.elasticsearch.gradle.internal.info.BuildParams;
    import org.elasticsearch.gradle.internal.info.GlobalBuildInfoPlugin;
    import org.elasticsearch.gradle.internal.test.ErrorReportingTestListener;
    import org.elasticsearch.gradle.internal.conventions.util.Util;
    import org.gradle.api.Action;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 22:14:49 GMT 2021
    - 10.4K bytes
    - Click Count (0)
  3. regression-test/build.gradle.kts

        sourceCompatibility(JavaVersion.VERSION_11)
      }
    
    
      // issue merging due to conflict with httpclient and something else
      packagingOptions.resources.excludes += setOf(
        "META-INF/DEPENDENCIES"
      )
    }
    
    dependencies {
      val okhttpLegacyVersion = "3.12.12"
    
      implementation(libs.kotlin.reflect)
      implementation(libs.playservices.safetynet)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.ioctl;
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Validate Negotiate Info request data structure. This structure is used to validate
     * that the negotiated SMB2 dialect matches what was originally negotiated.
     *
     * @author mbechler
     *
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  5. tests/test_get_model_definitions_formfeed_escape.py

                            "title": "ValidationError",
                            "type": "object",
                        },
                    }
                },
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "openapi": "3.1.0",
                "paths": {
                    "/facilities/{facility_id}": {
                        "get": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 14:34:02 GMT 2026
    - 6K bytes
    - Click Count (0)
  6. tests/test_no_schema_split.py

    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "Minimal FastAPI App", "version": "1.0.0"},
                "paths": {
                    "/messages": {
                        "post": {
                            "summary": "Create Message",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 14:34:02 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  7. tests/test_request_body_parameters_media_type.py

    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/products": {
                        "post": {
                            "summary": "Create Product",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_body_updates/test_tutorial001.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/items/{item_id}": {
                        "get": {
                            "responses": {
                                "200": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/header-params.md

    But remember that when you import `Query`, `Path`, `Header`, and others from `fastapi`, those are actually functions that return special classes.
    
    ///
    
    /// info
    
    To declare headers, you need to use `Header`, because otherwise the parameters would be interpreted as query parameters.
    
    ///
    
    ## Automatic conversion { #automatic-conversion }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/OsddHelper.java

        protected File getOsddFile() {
            if (!isOsddLinkEnabled()) {
                logger.debug("OSDD is disabled.");
                return null;
            }
            if (StringUtil.isBlank(osddPath)) {
                logger.info("OSDD file is not found.");
                return null;
            }
            final String path = LaServletContextUtil.getServletContext().getRealPath(osddPath);
            if (path == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top