Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 239 for stor (0.02 seconds)

  1. docs/tr/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial001_py310.py hl[7] *}
    
    Query parametresi `q`, `str | None` tipindedir. Yani tipi `str`’dir ama `None` da olabilir. Nitekim varsayılan değer `None` olduğu için FastAPI bunun zorunlu olmadığını anlar.
    
    /// note | Not
    
    FastAPI, `q`’nun zorunlu olmadığını `= None` varsayılan değerinden anlar.
    
    `str | None` kullanmak, editörünüzün daha iyi destek vermesini ve hataları yakalamasını sağlar.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 17.3K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/query-params-str-validations.md

    El parámetro de query `q` es de tipo `str | None`, lo que significa que es de tipo `str` pero también podría ser `None`, y de hecho, el valor por defecto es `None`, así que FastAPI sabrá que no es requerido.
    
    /// note | Nota
    
    FastAPI sabrá que el valor de `q` no es requerido por el valor por defecto `= None`.
    
    Tener `str | None` permitirá que tu editor te dé un mejor soporte y detecte errores.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/query-params-str-validations.md

    **FastAPI** 允许你为参数声明额外的信息和校验。
    
    让我们以下面的应用为例:
    
    {* ../../docs_src/query_params_str_validations/tutorial001_py310.py hl[7] *}
    
    查询参数 `q` 的类型为 `str | None`,这意味着它是 `str` 类型,但也可以是 `None`。其默认值确实为 `None`,所以 FastAPI 会知道它不是必填的。
    
    /// note | 注意
    
    FastAPI 会因为默认值 `= None` 而知道 `q` 的值不是必填的。
    
    将类型标注为 `str | None` 能让你的编辑器提供更好的辅助和错误检测。
    
    ///
    
    ## 额外校验 { #additional-validation }
    
    我们打算添加约束:即使 `q` 是可选的,但只要提供了该参数,**其长度不能超过 50 个字符**。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  4. docs_src/stream_data/tutorial001_py310.py

    """
    
    
    @app.get("/story/stream", response_class=StreamingResponse)
    async def stream_story() -> AsyncIterable[str]:
        for line in message.splitlines():
            yield line
    
    
    @app.get("/story/stream-no-async", response_class=StreamingResponse)
    def stream_story_no_async() -> Iterable[str]:
        for line in message.splitlines():
            yield line
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/tutorial/query-params-str-validations.md

    FastAPI 允許你為參數宣告額外的資訊與驗證。
    
    以下面這個應用為例:
    
    {* ../../docs_src/query_params_str_validations/tutorial001_py310.py hl[7] *}
    
    查詢參數 `q` 的型別是 `str | None`,表示它是 `str` 但也可以是 `None`,而且預設值就是 `None`,因此 FastAPI 會知道它不是必填。
    
    /// note | 注意
    
    FastAPI 會因為預設值是 `= None` 而知道 `q` 不是必填。
    
    使用 `str | None` 也能讓你的編輯器提供更好的支援並偵測錯誤。
    
    ///
    
    ## 額外驗證 { #additional-validation }
    
    我們要強制:即使 `q` 是可選,只要提供了,長度就不能超過 50 個字元。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  6. docs/uk/docs/tutorial/query-params-str-validations.md

    Query параметр `q` має тип `str | None`, що означає, що він має тип `str`, але також може бути `None`, і справді, значення за замовчуванням — `None`, тож FastAPI знатиме, що він не є обов'язковим.
    
    /// note | Примітка
    
    FastAPI знатиме, що значення `q` не є обов’язковим, завдяки значенню за замовчуванням `= None`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 25.9K bytes
    - Click Count (0)
  7. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

    import org.gradle.api.provider.Provider
    import org.gradle.api.tasks.Input
    import org.gradle.api.tasks.Optional
    import org.gradle.api.tasks.OutputDirectory
    import org.gradle.api.tasks.TaskAction
    // Using star import to workaround https://youtrack.jetbrains.com/issue/KTIJ-24390
    import org.gradle.kotlin.dsl.*
    import org.gradle.work.DisableCachingByDefault
    import java.text.SimpleDateFormat
    import java.util.Date
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 25 08:51:12 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/query-params-str-validations.md

    The query parameter `q` is of type `str | None`, that means that it's of type `str` but could also be `None`, and indeed, the default value is `None`, so FastAPI will know it's not required.
    
    /// note
    
    FastAPI will know that the value of `q` is not required because of the default value `= None`.
    
    Having `str | None` will allow your editor to give you better support and detect errors.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  9. src/main/webapp/WEB-INF/view/searchResults.jsp

    						<div class="d-sm-none"></div>
    						<span class="d-none d-sm-inline-block">&nbsp;</span>
    						<a href="#${doc.doc_id}" class="favorite"><i class="far fa-star" aria-hidden="true"></i></a>
    						<span class="favorited"><i class="fas fa-star" aria-hidden="true"></i></span>
    					</c:if>
    				</div>
    			</li>
    		</c:forEach>
    	</ol>
    	<aside class="col-md-4 d-none d-md-block">
    		<%-- Side Content --%>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/query-params-str-validations.md

    Der Query-Parameter `q` hat den Typ `str | None`, das bedeutet, dass er vom Typ `str` sein kann, aber auch `None`, und tatsächlich ist der Defaultwert `None`, sodass FastAPI weiß, dass er nicht erforderlich ist.
    
    /// note | Hinweis
    
    FastAPI erkennt, dass der Wert von `q` nicht erforderlich ist, aufgrund des Defaultwertes `= None`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 18.7K bytes
    - Click Count (0)
Back to Top