Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 951 - 960 of 2,890 for gone (0.02 seconds)

  1. docs/zh/docs/advanced/additional-responses.md

    /// note | 注意
    
    请注意,你必须直接使用 `FileResponse` 返回图片。
    
    ///
    
    /// info | 信息
    
    除非你在 `responses` 参数中明确指定不同的媒体类型,否则 FastAPI 会假设响应与主响应类具有相同的媒体类型(默认是 `application/json`)。
    
    但是如果你指定了一个媒体类型为 `None` 的自定义响应类,FastAPI 会对任何具有关联模型的附加响应使用 `application/json`。
    
    ///
    
    ## 组合信息 { #combining-information }
    
    你也可以把来自多个位置的响应信息组合在一起,包括 `response_model`、`status_code` 和 `responses` 参数。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/request-files.md

    這不是 **FastAPI** 的限制,而是 HTTP 協定本身的規範。
    
    ///
    
    ## 可選的檔案上傳 { #optional-file-upload }
    
    可透過一般型別註解並將預設值設為 `None` 使檔案成為可選:
    
    {* ../../docs_src/request_files/tutorial001_02_an_py310.py hl[9,17] *}
    
    ## `UploadFile` 搭配額外中繼資料 { #uploadfile-with-additional-metadata }
    
    你也可以在 `UploadFile` 上搭配 `File()`,例如用來設定額外的中繼資料:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionBwcSetupPlugin.java

                this.distFile = distFile;
                this.expandedDistDir = expandedDistDir;
            }
        }
    
        public abstract class BwcTaskThrottle implements BuildService<BuildServiceParameters.None> {}
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 18 09:11:28 GMT 2021
    - 14.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

       ...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 53.2K bytes
    - Click Count (0)
  5. docs_src/body_multiple_params/tutorial001_py310.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: str | None = None,
        item: Item | None = None,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 546 bytes
    - Click Count (0)
  6. tests/test_form_default.py

    app = FastAPI()
    
    
    @app.post("/urlencoded")
    async def post_url_encoded(age: Annotated[int | None, Form()] = None):
        return age
    
    
    @app.post("/multipart")
    async def post_multi_part(
        age: Annotated[int | None, Form()] = None,
        file: Annotated[bytes | None, File()] = None,
    ):
        return {"file": file, "age": age}
    
    
    client = TestClient(app)
    
    
    def test_form_default_url_encoded():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 829 bytes
    - Click Count (0)
  7. docs/metrics/prometheus/grafana/replication/minio-replication-cluster.json

                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "insertNulls": false,
                "lineInterpolation": "linear",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Aug 04 01:46:49 GMT 2025
    - 71.2K bytes
    - Click Count (0)
  8. fastapi/openapi/utils.py

        openapi_version: str = "3.1.0",
        summary: str | None = None,
        description: str | None = None,
        routes: Sequence[BaseRoute],
        webhooks: Sequence[BaseRoute] | None = None,
        tags: list[dict[str, Any]] | None = None,
        servers: list[dict[str, str | Any]] | None = None,
        terms_of_service: str | None = None,
        contact: dict[str, str | Any] | None = None,
        license_info: dict[str, str | Any] | None = None,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  9. helm/minio/values.yaml

    ## List of buckets to be created after minio install
    ##
    buckets:
      []
      #   # Name of the bucket
      # - name: bucket1
      #   # Policy to be set on the
      #   # bucket [none|download|upload|public]
      #   policy: none
      #   # Purge if bucket exists already
      #   purge: false
      #   # set versioning for
      #   # bucket [true|false]
      #   versioning: false # remove this key if you do not want versioning feature
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 19.7K bytes
    - Click Count (1)
  10. docs_src/sql_databases/tutorial002_an_py310.py

        age: int | None = Field(default=None, index=True)
    
    
    class Hero(HeroBase, table=True):
        id: int | None = Field(default=None, primary_key=True)
        secret_name: str
    
    
    class HeroPublic(HeroBase):
        id: int
    
    
    class HeroCreate(HeroBase):
        secret_name: str
    
    
    class HeroUpdate(HeroBase):
        name: str | None = None
        age: int | None = None
        secret_name: str | None = None
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Oct 09 19:44:42 GMT 2024
    - 2.5K bytes
    - Click Count (0)
Back to Top