Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 4551 - 4560 of 4,666 for inT (0.02 seconds)

  1. docs/zh/docs/tutorial/dependencies/index.md

    大功告成。
    
    **2 行**。
    
    它的形式和结构与所有*路径操作函数*相同。
    
    你可以把它当作没有“装饰器”(没有 `@app.get("/some-path")`)的*路径操作函数*。
    
    而且它可以返回任何你想要的内容。
    
    本例中的依赖项预期接收:
    
    * 类型为 `str` 的可选查询参数 `q`
    * 类型为 `int` 的可选查询参数 `skip`,默认值 `0`
    * 类型为 `int` 的可选查询参数 `limit`,默认值 `100`
    
    然后它只需返回一个包含这些值的 `dict`。
    
    /// info | 信息
    
    FastAPI 在 0.95.0 版本中新增了对 `Annotated` 的支持(并开始推荐使用)。
    
    如果你的版本较旧,尝试使用 `Annotated` 会报错。
    
    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/ko/docs/tutorial/extra-data-types.md

    # 추가 데이터 자료형 { #extra-data-types }
    
    지금까지 일반적인 데이터 자료형을 사용했습니다. 예를 들면 다음과 같습니다:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    하지만 더 복잡한 데이터 자료형 또한 사용할 수 있습니다.
    
    그리고 지금까지와 같은 기능들을 여전히 사용할 수 있습니다.
    
    * 훌륭한 편집기 지원.
    * 들어오는 요청의 데이터 변환.
    * 응답 데이터의 데이터 변환.
    * 데이터 검증.
    * 자동 어노테이션과 문서화.
    
    ## 다른 데이터 자료형 { #other-data-types }
    
    아래의 추가적인 데이터 자료형을 사용할 수 있습니다:
    
    * `UUID`:
        * 표준 "범용 고유 식별자"로, 많은 데이터베이스와 시스템에서 ID로 사용됩니다.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  3. tests/test_serialize_response_dataclass.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @dataclass
    class Item:
        name: str
        date: datetime
        price: float | None = None
        owner_ids: list[int] | None = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "date": datetime(2021, 7, 26), "price": 1.0}
    
    
    @app.get("/items/object", response_model=Item)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt

      @BeforeEach
      fun setUp() {
        platform.assumeNotOpenJSSE()
        server.protocolNegotiationEnabled = false
        val loggingFileSystem = LoggingFilesystem(fileSystem)
        cache = buildCache("/cache/".toPath(), Int.MAX_VALUE.toLong(), loggingFileSystem)
        client =
          clientTestRule
            .newClientBuilder()
            .cache(cache)
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
      }
    
      @AfterEach
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 6K bytes
    - Click Count (0)
  5. docs/fr/docs/tutorial/path-operation-configuration.md

    ///
    
    ## Définir le code d'état de la réponse { #response-status-code }
    
    Vous pouvez définir le `status_code` (HTTP) à utiliser dans la réponse de votre *chemin d'accès*.
    
    Vous pouvez passer directement le code `int`, comme `404`.
    
    Mais si vous ne vous souvenez pas à quoi correspond chaque code numérique, vous pouvez utiliser les constantes abrégées dans `status` :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/path-operation-configuration.md

    ///
    
    ## Código de Estado del Response { #response-status-code }
    
    Puedes definir el `status_code` (HTTP) que se utilizará en el response de tu *path operation*.
    
    Puedes pasar directamente el código `int`, como `404`.
    
    Pero si no recuerdas para qué es cada código numérico, puedes usar las constantes atajo en `status`:
    
    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/path-operation-configuration.md

    ///
    
    ## Código de Status da Resposta { #response-status-code }
    
    Você pode definir o `status_code` (HTTP) para ser usado na resposta da sua *operação de rota*.
    
    Você pode passar diretamente o código `int`, como `404`.
    
    Mas se você não se lembrar o que cada código numérico significa, pode usar as constantes de atalho em `status`:
    
    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  8. cmd/last-minute_gen.go

    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z AccElem) Msgsize() (s int) {
    	s = 1 + 6 + msgp.Int64Size + 5 + msgp.Int64Size + 2 + msgp.Int64Size
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *LastMinuteHistogram) DecodeMsg(dc *msgp.Reader) (err error) {
    	var zb0001 uint32
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.2K bytes
    - Click Count (0)
  9. okhttp/src/androidMain/assets/PublicSuffixDatabase.list

    ino.kochi.jp
    instance.datadetect.com
    instances.spawn.cc
    institute
    insurance
    insurance.aero
    insure
    int
    int.ar
    int.az
    int.bo
    int.ci
    int.cv
    int.eu.org
    int.in
    int.la
    int.lk
    int.mv
    int.mw
    int.ni
    int.pt
    int.ru
    int.tj
    int.ve
    int.vn
    international
    internet-dns.de
    internet.in
    intl.tn
    intuit
    inuyama.aichi.jp
    investments
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Dec 31 14:50:53 GMT 2024
    - 129.6K bytes
    - Click Count (2)
  10. docs/de/docs/tutorial/dependencies/index.md

    In diesem Fall erwartet diese Abhängigkeit:
    
    * Einen optionalen Query-Parameter `q`, der ein `str` ist.
    * Einen optionalen Query-Parameter `skip`, der ein `int` ist und standardmäßig `0` ist.
    * Einen optionalen Query-Parameter `limit`, der ein `int` ist und standardmäßig `100` ist.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 11.3K bytes
    - Click Count (0)
Back to Top