Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 2,232 for Docstring (0.06 seconds)

  1. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            final String docString = getXmlString(document);
            final String pnString = getXmlString(pruneNode);
            assertTrue(docString.contains("<SCRIPT>"));
            assertTrue(docString.contains("foo"));
            assertTrue(docString.contains("<NOSCRIPT>"));
            assertTrue(docString.contains("bar"));
            assertTrue(pnString.contains("<SCRIPT>"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 62.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. fastapi/routing.py

                str | None,
                Doc(
                    """
                    A description for the *path operation*.
    
                    If not provided, it will be extracted automatically from the docstring
                    of the *path operation function*.
    
                    It can contain Markdown.
    
                    It will be added to the generated OpenAPI (e.g. visible at `/docs`).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  4. fastapi/applications.py

                str | None,
                Doc(
                    """
                    A description for the *path operation*.
    
                    If not provided, it will be extracted automatically from the docstring
                    of the *path operation function*.
    
                    It can contain Markdown.
    
                    It will be added to the generated OpenAPI (e.g. visible at `/docs`).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. docs/de/docs/tutorial/path-operation-configuration.md

    ## Beschreibung mittels Docstring { #description-from-docstring }
    
    Da Beschreibungen oft mehrere Zeilen lang sind, können Sie die Beschreibung der *Pfadoperation* im <dfn title="Ein mehrzeiliger String (keiner Variable zugewiesen) als erster Ausdruck in einer Funktion, wird für die Dokumentation derselben verwendet">Docstring</dfn> der Funktion deklarieren, und **FastAPI** wird sie daraus auslesen.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/path-operation-configuration.md

    ## Utiliser la description depuis la docstring { #description-from-docstring }
    
    Comme les descriptions ont tendance à être longues et à couvrir plusieurs lignes, vous pouvez déclarer la description du *chemin d'accès* dans la <dfn title="une chaîne multilignes comme première expression à l'intérieur d'une fonction (non assignée à une variable) utilisée pour la documentation">docstring</dfn> de la fonction et **FastAPI** la lira à partir de là.
    
    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)
Back to Top