Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for sargument (0.14 sec)

  1. docs/en/docs/advanced/middleware.md

    from unicorn import UnicornMiddleware
    
    app = FastAPI()
    
    app.add_middleware(UnicornMiddleware, some_config="rainbow")
    ```
    
    `app.add_middleware()` receives a middleware class as the first argument and any additional arguments to be passed to the middleware.
    
    ## Integrated middlewares
    
    **FastAPI** includes several middlewares for common use cases, we'll see next how to use them.
    
    !!! note "Technical Details"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 10 18:27:10 GMT 2023
    - 4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body-fields.md

    ## Recap
    
    You can use Pydantic's `Field` to declare extra validations and metadata for model attributes.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/nosql-databases.md

    ๐Ÿ™† ๐Ÿ”ข ๐Ÿ‘ˆ ๐Ÿšฎ ๐Ÿ”˜ `{}` โ“‚-๐ŸŽป ๐Ÿ”œ โ†” / ๐Ÿ’‰ ๐ŸŽป.
    
    ### `dict` ๐Ÿ—
    
    ๐Ÿšฅ ๐Ÿ‘† ๐Ÿšซ ๐Ÿ˜ฐ โฎ๏ธ `UserInDB(**result.value)`, <a href="https://docs.python.org/3/glossary.html#term-argument" class="external-link" target="_blank">โšซ๏ธ โš™๏ธ `dict` "๐Ÿ—"</a>.
    
    โšซ๏ธ ๐Ÿ”œ โœŠ `dict` `result.value`, &amp; โœŠ ๐Ÿ”  ๐Ÿšฎ ๐Ÿ”‘ &amp; ๐Ÿ’ฒ &amp; ๐Ÿšถโ€โ™€๏ธ ๐Ÿ‘ซ ๐Ÿ”‘-๐Ÿ’ฒ `UserInDB` ๐Ÿ‡จ๐Ÿ‡ป โŒ.
    
    , ๐Ÿšฅ `dict` ๐Ÿ”Œ:
    
    ```Python
    {
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/openapi-callbacks.md

    Das einzig Neue ist `callbacks=invoices_callback_router.routes` als Argument fรผr den *Pfadoperation-Dekorator*. Wir werden als Nรคchstes sehen, was das ist.
    
    ## Dokumentation des Callbacks
    
    Der tatsรคchliche Callback-Code hรคngt stark von Ihrer eigenen API-Anwendung ab.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:23 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/path-params.md

    ```Python hl_lines="6-7"
    {!../../../docs_src/path_params/tutorial001.py!}
    ```
    
    The value of the path parameter `item_id` will be passed to your function as the argument `item_id`.
    
    So, if you run this example and go to <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, you will see a response of:
    
    ```JSON
    {"item_id":"foo"}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/nosql-databases-couchbase.md

    If you are not familiar with the `UserInDB(**result.value)`, <a href="https://docs.python.org/3/glossary.html#term-argument" class="external-link" target="_blank">it is using `dict` "unpacking"</a>.
    
    It will take the `dict` at `result.value`, and take each of its keys and values and pass them as key-values to `UserInDB` as keyword arguments.
    
    So, if the `dict` contains:
    
    ```Python
    {
        "username": "johndoe",
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/background-tasks.md

    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` erhรคlt als Argumente:
    
    * Eine Taskfunktion, die im Hintergrund ausgefรผhrt wird (`write_notification`).
    * Eine beliebige Folge von Argumenten, die der Reihe nach an die Taskfunktion รผbergeben werden sollen (`email`).
    * Alle Schlรผsselwort-Argumente, die an die Taskfunktion รผbergeben werden sollen (`message="some notification"`).
    
    ## Dependency Injection
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 12 14:15:29 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md

    ํŒŒ์ด์ฌ์—์„œ์˜ "**ํ˜ธ์ถœ ๊ฐ€๋Šฅ**"์€ ํŒŒ์ด์ฌ์ด ํ•จ์ˆ˜์ฒ˜๋Ÿผ "ํ˜ธ์ถœ"ํ•  ์ˆ˜ ์žˆ๋Š” ๋ชจ๋“  ๊ฒƒ์ž…๋‹ˆ๋‹ค.
    
    ๋”ฐ๋ผ์„œ, ๋งŒ์•ฝ ๋‹น์‹ ์ด `something`(ํ•จ์ˆ˜๊ฐ€ ์•„๋‹ ์ˆ˜๋„ ์žˆ์Œ) ๊ฐ์ฒด๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ๊ณ ,
    
    ```Python
    something()
    ```
    
    ๋˜๋Š”
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    ์ƒ๊ธฐ์™€ ๊ฐ™์€ ๋ฐฉ์‹์œผ๋กœ "ํ˜ธ์ถœ(์‹คํ–‰)" ํ•  ์ˆ˜ ์žˆ๋‹ค๋ฉด "ํ˜ธ์ถœ ๊ฐ€๋Šฅ"์ด ๋ฉ๋‹ˆ๋‹ค.
    
    ## ์˜์กด์„ฑ์œผ๋กœ์„œ์˜ ํด๋ž˜์Šค
    
    ํŒŒ์ด์ฌ ํด๋ž˜์Šค์˜ ์ธ์Šคํ„ด์Šค๋ฅผ ์ƒ์„ฑํ•˜๊ธฐ ์œ„ํ•ด ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ๊ณผ ๋™์ผํ•œ ๋ฌธ๋ฒ•์„ ์‚ฌ์šฉํ•œ๋‹ค๋Š” ๊ฑธ ์•Œ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ์˜ˆ๋ฅผ ๋“ค์–ด:
    
    ```Python
    class Cat:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:48:31 GMT 2024
    - 8K bytes
    - Viewed (0)
  9. pyproject.toml

    ]
    xfail_strict = true
    junit_family = "xunit2"
    filterwarnings = [
        "error",
        # TODO: needed by asyncio in Python 3.9.7 https://bugs.python.org/issue45097, try to remove on 3.9.8
        'ignore:The loop argument is deprecated since Python 3\.8, and scheduled for removal in Python 3\.10:DeprecationWarning:asyncio',
        'ignore:starlette.middleware.wsgi is deprecated and will be removed in a future release\..*:DeprecationWarning:starlette',
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. docs/de/docs/how-to/custom-docs-ui-assets.md

    Jetzt kรถnnen Sie die *Pfadoperationen* fรผr die benutzerdefinierten Dokumentationen erstellen.
    
    Sie kรถnnen die internen Funktionen von FastAPI wiederverwenden, um die HTML-Seiten fรผr die Dokumentation zu erstellen und ihnen die erforderlichen Argumente zu รผbergeben:
    
    * `openapi_url`: die URL, unter welcher die HTML-Seite fรผr die Dokumentation das OpenAPI-Schema fรผr Ihre API abrufen kann. Sie kรถnnen hier das Attribut `app.openapi_url` verwenden.
    * `title`: der Titel Ihrer API.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:17:36 GMT 2024
    - 9.2K bytes
    - Viewed (0)
Back to top