Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 950 for docstring (0.28 sec)

  1. docs/de/docs/tutorial/path-operation-configuration.md

        ```
    
    ## Beschreibung mittels Docstring
    
    Da Beschreibungen oft mehrere Zeilen lang sind, können Sie die Beschreibung der *Pfadoperation* im <abbr title="Ein mehrzeiliger String (keiner Variable zugewiesen) als erster Ausdruck in einer Funktion, wird für die Dokumentation derselben verwendet">Docstring</abbr> der Funktion deklarieren, und **FastAPI** wird sie daraus auslesen.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:07:48 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  2. 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>"));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 38.6K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/path-operation-configuration.md

    {!../../../docs_src/path_operation_configuration/tutorial003.py!}
    ```
    
    ## docstringを用いた説明
    
    説明文は長くて複数行におよぶ傾向があるので、関数<abbr title="ドキュメントに使用される関数内の最初の式(変数に代入されていない)としての複数行の文字列">docstring</abbr>内に*path operation*の説明文を宣言できます。すると、**FastAPI** は説明文を読み込んでくれます。
    
    docstringに<a href="https://en.wikipedia.org/wiki/Markdown" class="external-link" target="_blank">Markdown</a>を記述すれば、正しく解釈されて表示されます。(docstringのインデントを考慮して)
    
    ```Python hl_lines="19-27"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 04:38:26 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/path-operation-advanced-configuration.md

    ```Python hl_lines="6"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial003.py!}
    ```
    
    ## Advanced description from docstring
    
    You can limit the lines used from the docstring of a *path operation function* for OpenAPI.
    
    Adding an `\f` (an escaped "form feed" character) causes **FastAPI** to truncate the output used for OpenAPI at this point.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. 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
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/path-operation-advanced-configuration.md

    ```Python hl_lines="6"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial003.py!}
    ```
    
    ## Fortgeschrittene Beschreibung mittels Docstring
    
    Sie können die verwendeten Zeilen aus dem Docstring einer *Pfadoperation-Funktion* einschränken, die für OpenAPI verwendet werden.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:27:23 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  7. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    ```Python hl_lines="6"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial003.py!}
    ```
    
    ## Description avancée de docstring
    
    Vous pouvez limiter le texte utilisé de la docstring d'une *fonction de chemin* qui sera affiché sur OpenAPI.
    
    L'ajout d'un `\f` (un caractère d'échappement "form feed") va permettre à **FastAPI** de tronquer la sortie utilisée pour OpenAPI à ce stade.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  8. docs/en/mkdocs.yml

              show_root_heading: true
              show_if_no_docstring: true
              preload_modules:
              - httpx
              - starlette
              inherited_members: true
              members_order: source
              separate_signature: true
              unwrap_annotated: true
              filters:
              - '!^_'
              merge_init_into_class: true
              docstring_section_style: spacy
              signature_crossrefs: true
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. 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.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  10. 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).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 27.5K bytes
    - Viewed (0)
Back to top