Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 1,291 for EXAMPLE (0.22 seconds)

  1. docs/en/docs/management-tasks.md

    * The docs should include a source example file, not write Python directly in Markdown.
    * If the source example(s) file can have different syntax for different Python versions, there should be different versions of the file, and they should be shown in tabs in the docs.
    * There should be tests testing the source example.
    * Before the PR is applied, the new tests should fail.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/templates.md

    For example, with an ID of `42`, this would render:
    
    ```html
    <a href="/items/42">
    ```
    
    ## Templates and static files { #templates-and-static-files }
    
    You can also use `url_for()` inside of the template, and use it, for example, with the `StaticFiles` you mounted with the `name="static"`.
    
    ```jinja hl_lines="4"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/metadata.md

    ### Create metadata for tags { #create-metadata-for-tags }
    
    Let's try that in an example with tags for `users` and `items`.
    
    Create metadata for your tags and pass it to the `openapi_tags` parameter:
    
    {* ../../docs_src/metadata/tutorial004_py310.py hl[3:16,18] *}
    
    Notice that you can use Markdown inside of the descriptions, for example "login" will be shown in bold (**login**) and "fancy" will be shown in italics (_fancy_).
    
    /// tip
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  4. docs/en/docs/deployment/versions.md

    /// tip
    
    The "PATCH" is the last number, for example, in `0.2.3`, the PATCH version is `3`.
    
    ///
    
    So, you should be able to pin to a version like:
    
    ```txt
    fastapi>=0.45.0,<0.46.0
    ```
    
    Breaking changes and new features are added in "MINOR" versions.
    
    /// tip
    
    The "MINOR" is the number in the middle, for example, in `0.2.3`, the MINOR version is `2`.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java

     * A {@code PathType} can identify the Java class-path, the Java module path,
     * or another kind of path for another programming language for example.
     * Path types are often exclusive. For example, a dependency should not be
     * both on the Java class path and on the Java module path.
     *
     * @see org.apache.maven.api.services.DependencyResolverResult#getDispatchedPaths()
     *
     * @since 4.0.0
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Jan 07 12:02:00 GMT 2025
    - 5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/net/InternetDomainName.java

     * but was not itself a public suffix. However, this test is no longer accurate. There are many
     * domains which are both public suffixes and addressable as hosts; {@code "uk.com"} is one example.
     * Using the subset of public suffixes that are {@linkplain #isRegistrySuffix() registry suffixes},
     * one can get a better result, as only a few registry suffixes are addressable. However, the most
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 26.2K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/extra-data-types.md

    ## Example { #example }
    
    Here's an example *path operation* with parameters using some of the above types.
    
    {* ../../docs_src/extra_data_types/tutorial001_an_py310.py hl[1,3,12:16] *}
    
    Note that the parameters inside the function have their natural data type, and you can, for example, perform normal date manipulations, like:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/encoder.md

    For example, if you need to store it in a database.
    
    For that, **FastAPI** provides a `jsonable_encoder()` function.
    
    ## Using the `jsonable_encoder` { #using-the-jsonable-encoder }
    
    Let's imagine that you have a database `fake_db` that only receives JSON compatible data.
    
    For example, it doesn't receive `datetime` objects, as those are not compatible with JSON.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Splitter.java

       * empty strings from the results. For example, {@code
       * Splitter.on(',').omitEmptyStrings().split(",a,,,b,c,,")} returns an iterable containing only
       * {@code ["a", "b", "c"]}.
       *
       * <p>If either {@code trimResults} option is also specified when creating a splitter, that
       * splitter always trims results first before checking for emptiness. So, for example, {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  10. scripts/general-llm-prompt.md

    Source (English):
    
    ```
    ### Example { #example }
    ```
    
    Result (German):
    
    ```
    ### Beispiel { #example }
    ```
    
    ### Links
    
    Use the following rules for links (apply both to Markdown-style links ([text](url)) and to HTML-style <a href="url">text</a> tags):
    
    - For relative URLs, only translate the link text. Do not translate the URL or its parts.
    
    Example:
    
    Source (English):
    
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Mar 18 10:55:36 GMT 2026
    - 14.6K bytes
    - Click Count (0)
Back to Top