Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for agent (0.12 sec)

  1. docs_src/header_params/tutorial001_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(user_agent: Annotated[Union[str, None], Header()] = None):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 230 bytes
    - Viewed (0)
  2. docs_src/header_params/tutorial001_an.py

    from typing import Union
    
    from fastapi import FastAPI, Header
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(user_agent: Annotated[Union[str, None], Header()] = None):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 259 bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/header-params.md

    `Header` โœ”๏ธ ๐Ÿฅ โž• ๐Ÿ› ๏ธ ๐Ÿ”› ๐Ÿ” โšซ๏ธโ” `Path`, `Query` & `Cookie` ๐Ÿšš.
    
    ๐ŸŒ… ๐Ÿฉ ๐ŸŽš ๐ŸŽ "๐Ÿ” " ๐Ÿฆน, ๐Ÿ’ญ "โž– ๐Ÿ”ฃ" (`-`).
    
    โœ‹๏ธ ๐Ÿ”ข ๐Ÿ’– `user-agent` โŒ ๐Ÿ.
    
    , ๐Ÿ”ข, `Header` ๐Ÿ”œ ๐Ÿ—œ ๐Ÿ”ข ๐Ÿ“› ๐Ÿฆน โšช๏ธโžก๏ธ ๐ŸŽฆ (`_`) ๐Ÿ”  (`-`) โš— & ๐Ÿ“„ ๐ŸŽš.
    
    , ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” ๐ŸŽš ๐Ÿ’ผ-๐Ÿ˜›,, ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“ฃ ๐Ÿ‘ซ โฎ๏ธ ๐Ÿฉ ๐Ÿ ๐Ÿ‘— (๐Ÿ’ญ "๐Ÿ”ก").
    
    , ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ `user_agent` ๐Ÿ‘† ๐Ÿ›Ž ๐Ÿ”œ ๐Ÿ ๐Ÿ“Ÿ, โ†ฉ๏ธ ๐Ÿ’†โ€โ™‚ ๐ŸŽฏ ๐Ÿฅ‡ ๐Ÿ”ค `User_Agent` โš–๏ธ ๐Ÿ•ณ ๐ŸŽ.
    
    ๐Ÿšฅ ๐Ÿค” ๐Ÿ‘† ๐Ÿ’ช โŽ ๐Ÿง ๐Ÿ› ๏ธ ๐ŸŽฆ ๐Ÿ” , โš’ ๐Ÿ”ข `convert_underscores` `Header` `False`:
    
    === "๐Ÿ 3๏ธโƒฃ.6๏ธโƒฃ & ๐Ÿ”›"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/header-params.md

    Portanto, vocรช pode usar `user_agent` como faria normalmente no cรณdigo Python, em vez de precisar colocar as primeiras letras em maiรบsculas como `User_Agent` ou algo semelhante.
    
    Se por algum motivo vocรช precisar desabilitar a conversรฃo automรกtica de sublinhados para hรญfens, defina o parรขmetro `convert_underscores` de `Header` para `False`:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/header-params.md

    But a variable like `user-agent` is invalid in Python.
    
    So, by default, `Header` will convert the parameter names characters from underscore (`_`) to hyphen (`-`) to extract and document the headers.
    
    Also, HTTP headers are case-insensitive, so, you can declare them with standard Python style (also known as "snake_case").
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/header-params.md

    Aber eine Variable wie `user-agent` ist in Python nicht gรผltig.
    
    Darum wird `Header` standardmรครŸig in Parameternamen den Unterstrich (`_`) zu einem Bindestrich (`-`) konvertieren.
    
    HTTP-Header sind auรŸerdem unabhรคngig von GroรŸ-/Kleinschreibung, darum kรถnnen Sie sie mittels der Standard-Python-Schreibweise deklarieren (auch bekannt als "snake_case").
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:00:50 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  7. docs/en/docs/img/tutorial/bigger-applications/package.drawio

    <mxfile host="65bd71144e" modified="2020-11-28T18:13:19.199Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.51.1 Chrome/83.0.4103.122 Electron/9.3.3 Safari/537.36" etag="KPHuXUeExV3PdWouu_3U" version="13.6.5">
        <diagram id="zB4-QXJZ7ScUzHSLnJ1i" name="Page-1">
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  8. docs/en/data/external_links.yml

      - author: New Relic
        author_link: https://newrelic.com
        link: https://newrelic.com/instant-observability/fastapi/e559ec64-f765-4470-a15f-1901fcebb468
        title: How to monitor FastAPI application performance using Python agent
      - author: Jean-Baptiste Rocher
        author_link: https://hashnode.com/@jibrocher
        link: https://dev.indooroutdoor.io/series/fastapi-react-poll-app
        title: Building the Poll App From Django Tutorial With FastAPI And React
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 21 20:57:27 GMT 2024
    - 21.3K bytes
    - Viewed (2)
  9. docs/en/docs/release-notes.md

    * ๐Ÿ“ Add link to New Relic article: "How to monitor FastAPI application performance using Python agent". PR [#5260](https://github.com/tiangolo/fastapi/pull/5260) by [@sjyothi54](https://github.com/sjyothi54).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  10. docs/fr/docs/tutorial/background-tasks.md

    ## Avertissement
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 5.7K bytes
    - Viewed (0)
Back to top