Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 949 for docstring (0.05 seconds)

  1. CONTRIBUTING.md

        [TensorFlow Builds](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/ci_build)
        for details.
    
    #### Running doctest for testable docstring
    
    There are two ways to test the code in the docstring locally:
    
    1.  If you are only changing the docstring of a class/function/method, then you
        can test it by passing that file's path to
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Jan 11 04:47:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  2. docs/en/docs/alternatives.md

    It is a plug-in for many frameworks (and there's a plug-in for Starlette too).
    
    The way it works is that you write the definition of the schema using YAML format inside the docstring of each function handling a route.
    
    And it generates OpenAPI schemas.
    
    That's how it works in Flask, Starlette, Responder, etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  3. docs/ja/docs/alternatives.md

    しかし、ドキュメントはまだ不足しています。そこでAPISpecが作られました。
    
    これは多くのフレームワーク用のプラグインです (Starlette用のプラグインもあります) 。
    
    仕組みとしては、各ルーティング関数のdocstringにYAML形式でスキーマの定義を記述します。
    
    そして、OpenAPIスキーマを生成してくれます。
    
    Flask, Starlette, Responderなどにおいてはそのように動作します。
    
    しかし、Pythonの文字列 (大きなYAML) の中に、小さな構文があるという問題があります。
    
    エディタでは、この問題を解決することはできません。また、パラメータやMarshmallowスキーマを変更したときに、YAMLのdocstringを変更するのを忘れてしまうと、生成されたスキーマが古くなってしまいます。
    
    /// info | 情報
    
    APISpecは、Marshmallowと同じ開発者により作成されました。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. docs/fr/docs/alternatives.md

    Le principe est le suivant : vous écrivez la définition du schéma au format YAML dans la docstring de chaque fonction gérant une route.
    
    Et il génère des schémas OpenAPI.
    
    C'est ainsi que cela fonctionne dans Flask, Starlette, Responder, etc.
    
    Mais alors, nous avons à nouveau le problème d'avoir une micro-syntaxe, dans une docstring Python (un gros morceau de YAML).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  8. docs/es/docs/alternatives.md

    Es un plug-in para muchos frameworks (y hay un plug-in para Starlette también).
    
    La manera en que funciona es que escribes la definición del esquema usando el formato YAML dentro del docstring de cada función que maneja una ruta.
    
    Y genera esquemas OpenAPI.
    
    Así es como funciona en Flask, Starlette, Responder, etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 24.5K bytes
    - Click Count (0)
  9. docs/pt/docs/alternatives.md

    É um plug-in para muitos frameworks (e há um plug-in para Starlette também).
    
    O jeito como ele funciona é que você escreve a definição do schema usando formato YAML dentro da docstring de cada função que lida com uma rota.
    
    E ele gera schemas OpenAPI.
    
    É assim como funciona no Flask, Starlette, Responder, etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 24.5K bytes
    - Click Count (0)
  10. docs/de/docs/alternatives.md

    Es ist ein Plugin für viele Frameworks (und es gibt auch ein Plugin für Starlette).
    
    Die Funktionsweise besteht darin, dass Sie die Definition des Schemas im YAML-Format im Docstring jeder Funktion schreiben, die eine Route verarbeitet.
    
    Und es generiert OpenAPI-Schemas.
    
    So funktioniert es in Flask, Starlette, Responder, usw.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 26K bytes
    - Click Count (0)
Back to Top