Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 377 for edited (0.4 seconds)

  1. docs/fr/docs/tutorial/sql-databases.md

    Si nous avions déclaré `-> HeroPublic`, votre éditeur et votre linter se plaindraient (à juste titre) que vous retournez un `Hero` au lieu d'un `HeroPublic`.
    
    En le déclarant dans `response_model`, nous disons à **FastAPI** de faire son travail, sans interférer avec les annotations de type et l'aide de votre éditeur et d'autres outils.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

      @Test
      fun curlPostWithComplexBody() {
        val jsonBody =
          """
          |{
          |  "user": {
          |    "id": 123,
          |    "name": "Tim O'Reilly"
          |  },
          |  "roles": ["admin", "editor"],
          |  "active": true
          |}
          |
          """.trimMargin()
    
        val body = jsonBody.toRequestBody("application/json".toMediaType())
    
        val request =
          Request
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 24.6K bytes
    - Click Count (0)
  3. docs/es/docs/tutorial/sql-databases.md

    Si hubiéramos declarado `-> HeroPublic`, tu editor y linter se quejarían (con razón) de que estás devolviendo un `Hero` en lugar de un `HeroPublic`.
    
    Al declararlo en `response_model` le estamos diciendo a **FastAPI** que haga lo suyo, sin interferir con las anotaciones de tipo y la ayuda de tu editor y otras herramientas.
    
    ///
    
    ### Leer Heroes con `HeroPublic` { #read-heroes-with-heropublic }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/body.md

    你的模型的 JSON Schema 会成为生成的 OpenAPI Schema 的一部分,并显示在交互式 API 文档中:
    
    <img src="/img/tutorial/body/image01.png">
    
    并且,还会用于需要它们的每个*路径操作*的 API 文档中:
    
    <img src="/img/tutorial/body/image02.png">
    
    ## 编辑器支持 { #editor-support }
    
    在编辑器中,函数内部你会在各处得到类型提示与补全(如果接收的不是 Pydantic 模型,而是 `dict`,就不会有这样的支持):
    
    <img src="/img/tutorial/body/image03.png">
    
    还支持检查错误的类型操作:
    
    <img src="/img/tutorial/body/image04.png">
    
    这并非偶然,整个框架都是围绕这种设计构建的。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  5. docs/es/docs/index.md

    ...desde:
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    ...a:
    
    ```Python
            ... "item_price": item.price ...
    ```
    
    ...y observa cómo tu editor autocompleta los atributos y conoce sus tipos:
    
    ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        assertThat(hpackReader!!.headerCount).isEqualTo(0)
        assertThat(hpackReader!!.getAndResetHeaderList()).isEqualTo(
          headerEntries("custom-key", "custom-header"),
        )
      }
    
      /** Oldest entries are evicted to support newer ones.  */
      @Test
      fun writerEviction() {
        val headerBlock =
          headerEntries(
            "custom-foo",
            "custom-header",
            "custom-bar",
            "custom-header",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 38.6K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

        var b = 0
        for (codePoint in input) {
          if (codePoint < INITIAL_N) {
            result.writeByte(codePoint)
            b++
          }
        }
    
        // Copy a delimiter if any basic code points were emitted.
        if (b > 0) result.writeByte('-'.code)
    
        var n = INITIAL_N
        var delta = 0
        var bias = INITIAL_BIAS
        var h = b
        while (h < input.size) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/cache/AbstractCache.java

        void recordLoadException(long loadTime);
    
        /**
         * Records the eviction of an entry from the cache. This should only been called when an entry
         * is evicted due to the cache's eviction strategy, and not as a result of manual {@linkplain
         * Cache#invalidate invalidations}.
         */
        void recordEviction();
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/ACE.java

         * not be set within all security descriptors even though the ACE was in
         * face inherited. If an inherited ACE is added to a parent the Windows
         * ACL editor will rebuild all children ACEs and set this flag accordingly.
         * @return true if this ACE is inherited, false if it is direct
         */
        public boolean isInherited() {
            return (flags & FLAGS_INHERITED) != 0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/generate-clients.md

    For example, you might want to try:
    
    * [Speakeasy](https://speakeasy.com/editor?utm_source=fastapi+repo&utm_medium=github+sponsorship)
    * [Stainless](https://www.stainless.com/?utm_source=fastapi&utm_medium=referral)
    * [liblab](https://developers.liblab.com/tutorials/sdk-for-fastapi?utm_source=fastapi)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.7K bytes
    - Click Count (1)
Back to Top