Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 1,839 for note (0.01 seconds)

  1. docs/ko/docs/advanced/response-directly.md

    이러한 경우, 데이터를 응답에 전달하기 전에 `jsonable_encoder`를 사용하여 변환할 수 있습니다:
    
    {* ../../docs_src/response_directly/tutorial001.py hl[6:7,21:22] *}
    
    /// note | 기술적 세부 사항
    
    `from starlette.responses import JSONResponse`를 사용할 수도 있습니다.
    
    **FastAPI**는 개발자의 편의를 위해 `starlette.responses`를 `fastapi.responses`로 제공합니다. 그러나 대부분의 가능한 응답은 Starlette에서 직접 제공합니다.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  2. docs/zh/docs/advanced/middleware.md

    app = FastAPI()
    
    app.add_middleware(UnicornMiddleware, some_config="rainbow")
    ```
    
    `app.add_middleware()` 的第一个参数是中间件的类,其它参数则是要传递给中间件的参数。
    
    ## 集成中间件
    
    **FastAPI** 为常见用例提供了一些中间件,下面介绍怎么使用这些中间件。
    
    /// note | 技术细节
    
    以下几个示例中也可以使用 `from starlette.middleware.something import SomethingMiddleware`。
    
    **FastAPI** 在 `fastapi.middleware` 中提供的中间件只是为了方便开发者使用,但绝大多数可用的中间件都直接继承自 Starlette。
    
    ///
    
    ## `HTTPSRedirectMiddleware`
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  3. docs/zh/docs/advanced/response-directly.md

    例如,如果不首先将 Pydantic 模型转换为 `dict`,并将所有数据类型(如 `datetime`、`UUID` 等)转换为兼容 JSON 的类型,则不能将其放入JSONResponse中。
    
    对于这些情况,在将数据传递给响应之前,你可以使用 `jsonable_encoder` 来转换你的数据。
    
    
    {* ../../docs_src/response_directly/tutorial001.py hl[4,6,20,21] *}
    
    /// note | 技术细节
    
    你也可以使用 `from starlette.responses import JSONResponse`。
    
    出于方便,**FastAPI** 会提供与 `starlette.responses` 相同的 `fastapi.responses` 给开发者。但是大多数可用的响应都直接来自 Starlette。
    
    ///
    
    ## 返回自定义 `Response`
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3K bytes
    - Click Count (0)
  4. docs/federation/lookup/README.md

    client can use now `mybucket.domain.com` to directly resolve itself to the right cluster. `MINIO_PUBLIC_IPS`
    points to the public IP address where each cluster might be accessible, this is unique for each cluster.
    
    NOTE: `mybucket` only exists on one cluster either `cluster1` or `cluster2` this is random and
    is decided by how `domain.com` gets resolved, if there is a round-robin DNS on `domain.com` then
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. CONTRIBUTING.md

    The build cache has anonymous read access, so you don't need to authenticate in order to use it. You can use a different build cache node by specifying `-Ddevelocity.edge.discovery=false -DcacheNode=us` for a build cache node in the US or `-Ddevelocity.edge.discovery=false -DcacheNode=au` for a build cache node in Australia.
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Nov 25 06:57:22 GMT 2025
    - 19K bytes
    - Click Count (0)
  6. docs/ko/docs/advanced/response-cookies.md

    따라서 데이터가 올바른 유형인지 확인해야 합니다. 예: `JSONResponse`를 반환하는 경우, JSON과 호환되는지 확인하세요.
    
    또한 `response_model`로 걸러져야 할 데이터가 전달되지 않도록 확인하세요.
    
    ///
    
    ### 추가 정보
    
    /// note | 기술적 세부사항
    
    `from starlette.responses import Response` 또는 `from starlette.responses import JSONResponse`를 사용할 수도 있습니다.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. schema/index.go

    	Class   string // UNIQUE | FULLTEXT | SPATIAL
    	Type    string // btree, hash, gist, spgist, gin, and brin
    	Where   string
    	Comment string
    	Option  string        // WITH PARSER parser_name
    	Fields  []IndexOption // Note: IndexOption's Field maybe the same
    }
    
    type IndexOption struct {
    	*Field
    	Expression string
    	Sort       string // DESC, ASC
    	Collate    string
    	Length     int
    	Priority   int
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed May 21 02:35:56 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. docs/ru/docs/advanced/security/oauth2-scopes.md

    В данном случае требуется scope `me` (их также могло быть больше одного).
    
    /// note | Примечание
    
    Вам не обязательно добавлять разные scopes в разных местах.
    
    Мы делаем это здесь, чтобы показать, как **FastAPI** обрабатывает scopes, объявленные на разных уровнях.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:37:11 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  9. helm-releases/minio-5.0.8.tgz

    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 # # set objectlocking for # # bucket [true|false] NOTE: versioning is enabled by default if you use locking # objectlocking: false # - name: bucket2 # policy: none # purge: false # versioning: true # # set objectlocking for # # bucket [true|false] NOTE:...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Apr 13 21:49:51 GMT 2023
    - 20.3K bytes
    - Click Count (0)
  10. helm-releases/minio-5.0.9.tgz

    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 # # set objectlocking for # # bucket [true|false] NOTE: versioning is enabled by default if you use locking # objectlocking: false # - name: bucket2 # policy: none # purge: false # versioning: true # # set objectlocking for # # bucket [true|false] NOTE:...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 03 06:23:26 GMT 2023
    - 20.2K bytes
    - Click Count (0)
Back to Top