Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 1,793 for docstring (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh-hant/docs/alternatives.md

    但文件仍然缺失,於是 APISpec 出現了。
    
    它是多個框架的外掛(Starlette 也有對應外掛)。
    
    它的作法是:你在處理路由的每個函式的 docstring 中,用 YAML 格式撰寫結構定義。
    
    然後它會產生 OpenAPI schemas。
    
    在 Flask、Starlette、Responder 等框架中都是這樣運作。
    
    但這又帶來一個問題:在 Python 字串中(大型 YAML)加入一段微語法。
    
    編輯器幫不上太多忙。而且如果我們修改了參數或 Marshmallow 的 schemas 卻忘了同步修改 YAML docstring,產生的結構就會過時。
    
    /// info
    
    APISpec 由與 Marshmallow 相同的開發者創建。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 20K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/path-operation-configuration.md

    ## Descripción desde docstring { #description-from-docstring }
    
    Como las descripciones tienden a ser largas y cubrir múltiples líneas, puedes declarar la descripción de la *path operation* en la <dfn title="un string de múltiples líneas como la primera expresión dentro de una función (no asignada a ninguna variable) usada para documentación">docstring</dfn> de la función y **FastAPI** la leerá desde allí.
    
    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)
  3. docs/pt/docs/tutorial/path-operation-configuration.md

    ## Descrição do docstring { #description-from-docstring }
    
    Como as descrições tendem a ser longas e cobrir várias linhas, você pode declarar a descrição da *operação de rota* na <dfn title="uma string de várias linhas como a primeira expressão dentro de uma função (não atribuída a nenhuma variável) usada para documentação">docstring</dfn> da função e o **FastAPI** irá lê-la de lá.
    
    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)
  4. docs/tr/docs/tutorial/path-operation-configuration.md

    ## Docstring’den Açıklama { #description-from-docstring }
    
    Açıklamalar genelde uzun olur ve birden fazla satıra yayılır; bu yüzden *path operation* açıklamasını, fonksiyonun içinde <dfn title="dokümantasyon için kullanılan, fonksiyon içinde ilk ifade olarak yer alan (herhangi bir değişkene atanmayan) çok satırlı string">docstring</dfn> olarak tanımlayabilirsiniz; **FastAPI** de onu buradan okur.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  5. docs/de/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial003_py310.py hl[6] *}
    
    ## Fortgeschrittene Beschreibung mittels Docstring { #advanced-description-from-docstring }
    
    Sie können die verwendeten Zeilen aus dem Docstring einer *Pfadoperation-Funktion* einschränken, die für OpenAPI verwendet werden.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  6. docs/uk/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial003_py310.py hl[6] *}
    
    ## Розширений опис із docstring { #advanced-description-from-docstring }
    
    Ви можете обмежити кількість рядків із docstring *функції операції шляху*, що використовуються для OpenAPI.
    
    Додавання `\f` (екранованого символу «form feed») змусить **FastAPI** обрізати вивід для OpenAPI в цій точці.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  7. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial003_py310.py hl[6] *}
    
    ## Description avancée depuis la docstring { #advanced-description-from-docstring }
    
    Vous pouvez limiter les lignes utilisées de la docstring d’une fonction de chemin d’accès pour OpenAPI.
    
    L’ajout d’un `\f` (un caractère « form feed » échappé) amène **FastAPI** à tronquer la sortie utilisée pour OpenAPI à cet endroit.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 8K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/path-operation-configuration.md

    ## 摘要和描述 { #summary-and-description }
    
    可以添加 `summary` 和 `description`:
    
    {* ../../docs_src/path_operation_configuration/tutorial003_py310.py hl[17:18] *}
    
    ## 从 docstring 获取描述 { #description-from-docstring }
    
    描述内容比较长且占用多行时,可以在函数的 <dfn title="作为函数内部的第一个表达式(不赋给任何变量)的多行字符串,用于文档用途">docstring</dfn> 中声明*路径操作*的描述,**FastAPI** 会从中读取。
    
    文档字符串支持 [Markdown](https://en.wikipedia.org/wiki/Markdown),能正确解析和显示 Markdown 的内容,但要注意文档字符串的缩进。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  9. docs/es/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial003_py310.py hl[6] *}
    
    ## Descripción avanzada desde el docstring { #advanced-description-from-docstring }
    
    Puedes limitar las líneas usadas del docstring de una *path operation function* para OpenAPI.
    
    Añadir un `\f` (un carácter "form feed" escapado) hace que **FastAPI** trunque la salida usada para OpenAPI en este punto.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  10. docs/ru/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial003_py310.py hl[6] *}
    
    ## Расширенное описание из docstring { #advanced-description-from-docstring }
    
    Вы можете ограничить количество строк из docstring *функции-обработчика пути*, используемых для OpenAPI.
    
    Добавление `\f` (экранированного символа «form feed») заставит **FastAPI** обрезать текст, используемый для OpenAPI, в этой точке.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 10.6K bytes
    - Click Count (0)
Back to Top