Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 76 for advantages (0.06 seconds)

  1. docs/en/docs/how-to/graphql.md

    You can combine normal FastAPI *path operations* with GraphQL on the same application.
    
    /// tip
    
    **GraphQL** solves some very specific use cases.
    
    It has **advantages** and **disadvantages** when compared to common **web APIs**.
    
    Make sure you evaluate if the **benefits** for your use case compensate the **drawbacks**. πŸ€“
    
    ///
    
    ## GraphQL Libraries { #graphql-libraries }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...or in older code bases you will find:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    ### Advantages of `Annotated` { #advantages-of-annotated }
    
    **Using `Annotated` is recommended** instead of the default value in function parameters, it is **better** for multiple reasons. πŸ€“
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

    import java.util.stream.LongStream;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An immutable array of {@code long} values, with an API resembling {@link List}.
     *
     * <p>Advantages compared to {@code long[]}:
     *
     * <ul>
     *   <li>All the many well-known advantages of immutability (read <i>Effective Java</i>, third
     *       edition, Item 17).
     *   <li>Has the value-based (not identity-based) {@link #equals}, {@link #hashCode}, and {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * An immutable array of {@code double} values, with an API resembling {@link List}.
     *
     * <p>Advantages compared to {@code double[]}:
     *
     * <ul>
     *   <li>All the many well-known advantages of immutability (read <i>Effective Java</i>, third
     *       edition, Item 17).
     *   <li>Has the value-based (not identity-based) {@link #equals}, {@link #hashCode}, and {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

    import java.util.stream.IntStream;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An immutable array of {@code int} values, with an API resembling {@link List}.
     *
     * <p>Advantages compared to {@code int[]}:
     *
     * <ul>
     *   <li>All the many well-known advantages of immutability (read <i>Effective Java</i>, third
     *       edition, Item 17).
     *   <li>Has the value-based (not identity-based) {@link #equals}, {@link #hashCode}, and {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  6. docs/en/docs/history-design-future.md

    ## Requirements { #requirements }
    
    After testing several alternatives, I decided that I was going to use [**Pydantic**](https://docs.pydantic.dev/) for its advantages.
    
    Then I contributed to it, to make it fully compliant with JSON Schema, to support different ways to define constraint declarations, and to improve editor support (type checks, autocompletion) based on the tests in several editors.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/request-files.md

    Define a file parameter with a type of `UploadFile`:
    
    {* ../../docs_src/request_files/tutorial001_an_py310.py hl[14] *}
    
    Using `UploadFile` has several advantages over `bytes`:
    
    * You don't have to use `File()` in the default value of the parameter.
    * It uses a "spooled" file:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7K bytes
    - Click Count (0)
  8. docs/en/docs/python-types.md

    This is just a **quick tutorial / refresher** about Python type hints. It covers only the minimum necessary to use them with **FastAPI**... which is actually very little.
    
    **FastAPI** is all based on these type hints, they give it many advantages and benefits.
    
    But even if you never use **FastAPI**, you would benefit from learning a bit about them.
    
    /// note
    
    If you are a Python expert, and you already know everything about type hints, skip to the next chapter.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/query-params-str-validations.md

    λ”°λΌμ„œ (κ°€λŠ₯ν•˜λ©΄) λ‹€μŒκ³Ό 같이 μ‚¬μš©ν•©λ‹ˆλ‹€:
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...λ˜λŠ” 였래된 μ½”λ“œλ² μ΄μŠ€μ—μ„œλŠ” λ‹€μŒκ³Ό 같은 μ½”λ“œλ₯Ό 찾게 될 κ²ƒμž…λ‹ˆλ‹€:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    ### `Annotated`의 μž₯점 { #advantages-of-annotated }
    
    ν•¨μˆ˜ λ§€κ°œλ³€μˆ˜μ˜ κΈ°λ³Έκ°’ 방식 λŒ€μ‹  **`Annotated`λ₯Ό μ‚¬μš©ν•˜λŠ” 것을 ꢌμž₯**ν•©λ‹ˆλ‹€. μ—¬λŸ¬ 이유둜 **더 μ’‹κΈ°** λ•Œλ¬Έμž…λ‹ˆλ‹€. πŸ€“
    
    **ν•¨μˆ˜ λ§€κ°œλ³€μˆ˜**의 **κΈ°λ³Έκ°’**이 **μ‹€μ œ κΈ°λ³Έκ°’**이 λ˜λ―€λ‘œ, μ „λ°˜μ μœΌλ‘œ Python에 더 μ§κ΄€μ μž…λ‹ˆλ‹€. 😌
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  10. docs/en/docs/deployment/docker.md

    Using Linux containers has several advantages including **security**, **replicability**, **simplicity**, and others.
    
    /// tip
    
    In a hurry and already know this stuff? Jump to the [`Dockerfile` below πŸ‘‡](#build-a-docker-image-for-fastapi).
    
    ///
    
    <details>
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 28.3K bytes
    - Click Count (1)
Back to Top