Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for Tretter (2.1 sec)

  1. docs/en/docs/benchmarks.md

    Specifically, to see Uvicorn, Starlette and FastAPI compared together (among many other tools).
    
    The simpler the problem solved by the tool, the better performance it will get. And most of the benchmarks don't test the additional features provided by the tool.
    
    The hierarchy is like:
    
    * **Uvicorn**: an ASGI server
        * **Starlette**: (uses Uvicorn) a web microframework
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/path-params-numeric-validations.md

    ```Python hl_lines="9"
    {!../../../docs_src/path_params_numeric_validations/tutorial005.py!}
    ```
    
    ## ๐Ÿ”ข ๐Ÿ”ฌ: ๐ŸŽˆ, ๐ŸŒ˜ ๐ŸŒ˜ & ๐ŸŒ˜ ๐ŸŒ˜
    
    ๐Ÿ”ข ๐Ÿ”ฌ ๐Ÿ‘ท `float` ๐Ÿ’ฒ.
    
    ๐Ÿ“ฅ ๐ŸŒโ” โšซ๏ธ โ–ถ๏ธ๏ธ โš  ๐Ÿ’ช ๐Ÿ“ฃ <abbr title="greater than"><code>gt</code></abbr> &amp; ๐Ÿšซ <abbr title="greater than or equal"><code>ge</code></abbr>. โฎ๏ธ โšซ๏ธ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿšš, ๐Ÿ–ผ, ๐Ÿ‘ˆ ๐Ÿ’ฒ ๐Ÿ”œ ๐Ÿ‘‘ ๐ŸŒ˜ `0`, ๐Ÿšฅ โšซ๏ธ ๐ŸŒ˜ ๐ŸŒ˜ `1`.
    
    , `0.5` ๐Ÿ”œ โ˜‘ ๐Ÿ’ฒ. โœ‹๏ธ `0.0` โš–๏ธ `0` ๐Ÿ”œ ๐Ÿšซ.
    
    &amp; ๐ŸŽ <abbr title="less than"><code>lt</code></abbr>.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/manually.md

    ```console
    $ hypercorn main:app --worker-class trio
    ```
    
    </div>
    
    And that will start Hypercorn with your app using Trio as the backend.
    
    Now you can use Trio internally in your app. Or even better, you can use AnyIO, to keep your code compatible with both Trio and asyncio. ๐ŸŽ‰
    
    ## Deployment Concepts
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  4. docs_src/body_fields/tutorial001_an.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
    - 611 bytes
    - Viewed (0)
  5. docs/en/docs/reference/index.md

    # Reference - Code API
    
    Here's the reference or code API, the classes, functions, parameters, attributes, and
    all the FastAPI parts you can use in your applications.
    
    If you want to **learn FastAPI** you are much better off reading the
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Oct 20 08:52:59 GMT 2023
    - 296 bytes
    - Viewed (0)
  6. docs/en/docs/how-to/conditional-openapi.md

    If you want to secure your API, there are several better things you can do, for example:
    
    * Make sure you have well defined Pydantic models for your request bodies and responses.
    * Configure any required permissions and roles using dependencies.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/first-steps.md

        A "bearer" token is not the only option.
    
        But it's the best one for our use case.
    
        And it might be the best for most use cases, unless you are an OAuth2 expert and know exactly why there's another option that suits better your needs.
    
        In that case, **FastAPI** also provides you with the tools to build it.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/path-params-numeric-validations.md

    ```
    
    ## ์ˆซ์ž ๊ฒ€์ฆ: ๋ถ€๋™์†Œ์ˆ˜, ํฌ๊ฑฐ๋‚˜ ๋ฐ ์ž‘๊ฑฐ๋‚˜
    
    ์ˆซ์ž ๊ฒ€์ฆ์€ `float` ๊ฐ’์—๋„ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค.
    
    ์—ฌ๊ธฐ์—์„œ <abbr title="greater than or equal"><code>ge</code></abbr>๋ฟ๋งŒ ์•„๋‹ˆ๋ผ <abbr title="greater than"><code>gt</code></abbr>๋ฅผ ์„ ์–ธ ํ•  ์ˆ˜์žˆ๋Š” ๊ฒƒ์ด ์ค‘์š”ํ•ด์ง‘๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ, ๊ฐ’์ด `1`๋ณด๋‹ค ์ž‘๋”๋ผ๋„ ๋ฐ˜๋“œ์‹œ `0`๋ณด๋‹ค ์ปค์•ผํ•ฉ๋‹ˆ๋‹ค.
    
    ์ฆ‰, `0.5`๋Š” ์œ ํšจํ•œ ๊ฐ’์ž…๋‹ˆ๋‹ค. ๊ทธ๋Ÿฌ๋‚˜ `0.0` ๋˜๋Š” `0`์€ ๊ทธ๋ ‡์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
    
    <abbr title="less than"><code>lt</code></abbr> ์—ญ์‹œ ๋งˆ์ฐฌ๊ฐ€์ง€์ž…๋‹ˆ๋‹ค.
    
    ```Python hl_lines="11"
    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)
  9. 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)
  10. docs_src/dataclasses/tutorial002.py

    @app.get("/items/next", response_model=Item)
    async def read_next_item():
        return {
            "name": "Island In The Moon",
            "price": 12.99,
            "description": "A place to be be playin' and havin' fun",
            "tags": ["breater"],
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 552 bytes
    - Viewed (0)
Back to top