Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 84 for thank (4.07 sec)

  1. docs/en/docs/tutorial/body-nested-models.md

    # Body - Nested Models
    
    With **FastAPI**, you can define, validate, document, and use arbitrarily deeply nested models (thanks to Pydantic).
    
    ## List fields
    
    You can define an attribute to be a subtype. For example, a Python `list`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="12"
        {!> ../../../docs_src/body_nested_models/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  2. docs/en/docs/help-fastapi.md

    ## Sponsor the author
    
    You can also financially support the author (me) through <a href="https://github.com/sponsors/tiangolo" class="external-link" target="_blank">GitHub sponsors</a>.
    
    There you could buy me a coffee β˜•οΈ to say thanks. πŸ˜„
    
    And you can also become a Silver or Gold sponsor for FastAPI. πŸ…πŸŽ‰
    
    ## Sponsor the tools that power FastAPI
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/path-params-numeric-validations.md

    λ™μΌν•˜κ²Œ μ μš©λ©λ‹ˆλ‹€:
    
    * `gt`: ν¬κ±°λ‚˜(`g`reater `t`han)
    * `le`: μž‘κ±°λ‚˜ 같은(`l`ess than or `e`qual)
    
    ```Python hl_lines="9"
    {!../../../docs_src/path_params_numeric_validations/tutorial005.py!}
    ```
    
    ## 숫자 검증: λΆ€λ™μ†Œμˆ˜, ν¬κ±°λ‚˜ 및 μž‘κ±°λ‚˜
    
    숫자 검증은 `float` 값에도 λ™μž‘ν•©λ‹ˆλ‹€.
    
    μ—¬κΈ°μ—μ„œ <abbr title="greater than or equal"><code>ge</code></abbr>뿐만 μ•„λ‹ˆλΌ <abbr title="greater than"><code>gt</code></abbr>λ₯Ό μ„ μ–Έ ν•  μˆ˜μžˆλŠ” 것이 μ€‘μš”ν•΄μ§‘λ‹ˆλ‹€. 예λ₯Ό λ“€μ–΄ ν•„μš”ν•œ 경우, 값이 `1`보닀 μž‘λ”λΌλ„ λ°˜λ“œμ‹œ `0`보닀 μ»€μ•Όν•©λ‹ˆλ‹€.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  4. docs_src/body_fields/tutorial001_py310.py

    class Item(BaseModel):
        name: str
        description: str | None = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item = Body(embed=True)):
        results = {"item_id": item_id, "item": item}
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 523 bytes
    - Viewed (0)
  5. docs_src/body_fields/tutorial001_an_py310.py

    class Item(BaseModel):
        name: str
        description: str | None = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]):
        results = {"item_id": item_id, "item": item}
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 563 bytes
    - Viewed (0)
  6. docs_src/body_fields/tutorial001_an_py39.py

    class Item(BaseModel):
        name: str
        description: Union[str, None] = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]):
        results = {"item_id": item_id, "item": item}
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 582 bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

        It might also help avoid confusion for new developers that see an unused parameter in your code and could think it's unnecessary.
    
    !!! info
        In this example we use invented custom headers `X-Key` and `X-Token`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  8. docs/en/docs/history-design-future.md

    I have been avoiding the creation of a new framework for several years. First I tried to solve all the features covered by **FastAPI** using many different frameworks, plug-ins, and tools.
    
    But at some point, there was no other option than creating something that provided all these features, taking the best ideas from previous tools, and combining them in the best way possible, using language features that weren't even available before (Python 3.6+ type hints).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/response-status-code.md

    ## Changing the default
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 4K bytes
    - Viewed (0)
  10. docs/en/docs/fastapi-cli.md

    When you run `fastapi dev`, it will run on development mode.
    
    By default, it will have **auto-reload** enabled, so it will automatically reload the server when you make changes to your code. This is resource intensive and could be less stable than without it, you should only use it for development.
    
    By default it will listen on the IP address `127.0.0.1`, which is the IP for your machine to communicate with itself alone (`localhost`).
    
    ## `fastapi run`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:16 GMT 2024
    - 6.1K bytes
    - Viewed (0)
Back to top