Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 222 for uvicorn (0.05 sec)

  1. docs/em/docs/tutorial/handling-errors.md

    & 👆 💚 🍵 👉 ⚠ 🌐 ⏮️ FastAPI.
    
    👆 💪 🚮 🛃 ⚠ 🐕‍🦺 ⏮️ `@app.exception_handler()`:
    
    {* ../../docs_src/handling_errors/tutorial003.py hl[5:7,13:18,24] *}
    
    📥, 🚥 👆 📨 `/unicorns/yolo`, *➡ 🛠️* 🔜 `raise` `UnicornException`.
    
    ✋️ ⚫️ 🔜 🍵 `unicorn_exception_handler`.
    
    , 👆 🔜 📨 🧹 ❌, ⏮️ 🇺🇸🔍 👔 📟 `418` & 🎻 🎚:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. docs/uk/docs/tutorial/handling-errors.md

    Ви можете додати власний обробник виключень за допомогою `@app.exception_handler()`:
    
    {* ../../docs_src/handling_errors/tutorial003.py hl[5:7,13:18,24] *}
    
    Тут, якщо Ви звернетеся до `/unicorns/yolo`, то згенерується помилка `UnicornException`.
    
    Але вона буде оброблена функцією-обробником `unicorn_exception_handler`.
    
    Отже, Ви отримаєте зрозумілу помилку зі HTTP-статусом `418` і JSON-відповіддю:
    
    ```JSON
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:31:13 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/handling-errors.md

    Можно добавить собственный обработчик исключений с помощью `@app.exception_handler()`:
    
    {* ../../docs_src/handling_errors/tutorial003.py hl[5:7,13:18,24] *}
    
    Здесь, если запросить `/unicorns/yolo`, то *операция пути* вызовет `UnicornException`.
    
    Но оно будет обработано `unicorn_exception_handler`.
    
    Таким образом, вы получите чистую ошибку с кодом состояния HTTP `418` и содержимым JSON:
    
    ```JSON
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/handling-errors.md

    Podrías agregar un manejador de excepciones personalizado con `@app.exception_handler()`:
    
    {* ../../docs_src/handling_errors/tutorial003.py hl[5:7,13:18,24] *}
    
    Aquí, si solicitas `/unicorns/yolo`, la *path operation* lanzará un `UnicornException`.
    
    Pero será manejado por el `unicorn_exception_handler`.
    
    Así que recibirás un error limpio, con un código de estado HTTP de `418` y un contenido JSON de:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/handling-errors.md

    {* ../../docs_src/handling_errors/tutorial003.py hl[5:7,13:18,24] *}
    
    Nesse cenário, se você fizer uma requisição para `/unicorns/yolo`, a *operação de caminho* vai lançar (`raise`) o `UnicornException`.
    
    Essa exceção será manipulada, contudo, pelo `unicorn_exception_handler`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/handling-errors.md

    Sie könnten einen benutzerdefinierten Exceptionhandler mittels `@app.exception_handler()` hinzufügen:
    
    {* ../../docs_src/handling_errors/tutorial003.py hl[5:7,13:18,24] *}
    
    Wenn Sie nun `/unicorns/yolo` anfragen, `raise`d die *Pfadoperation* eine `UnicornException`.
    
    Aber diese wird von `unicorn_exception_handler` gehandhabt.
    
    Sie erhalten also einen sauberen Error mit einem Statuscode `418` und dem JSON-Inhalt:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/handling-errors.md

    You could add a custom exception handler with `@app.exception_handler()`:
    
    {* ../../docs_src/handling_errors/tutorial003.py hl[5:7,13:18,24] *}
    
    Here, if you request `/unicorns/yolo`, the *path operation* will `raise` a `UnicornException`.
    
    But it will be handled by the `unicorn_exception_handler`.
    
    So, you will receive a clean error, with an HTTP status code of `418` and a JSON content of:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/handling-errors.md

    そして、この例外をFastAPIでグローバルに処理したいと思います。
    
    カスタム例外ハンドラを`@app.exception_handler()`で追加することができます:
    
    {* ../../docs_src/handling_errors/tutorial003.py hl[5,6,7,13,14,15,16,17,18,24] *}
    
    ここで、`/unicorns/yolo`をリクエストすると、*path operation*は`UnicornException`を`raise`します。
    
    しかし、これは`unicorn_exception_handler`で処理されます。
    
    そのため、HTTPステータスコードが`418`で、JSONの内容が以下のような明確なエラーを受け取ることになります:
    
    ```JSON
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Jun 22 14:35:27 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  9. docs/en/data/external_links.yml

    https://aunicorndev.hashnode.dev/series/supafast-api title: "Building an API with FastAPI and Supabase and Deploying on Deta" - author: Navule Pavan Kumar Rao author_link: https://www.linkedin.com/in/navule/ link: https://www.tutlinks.com/deploy-fastapi-on-ubuntu-gunicorn-caddy-2/ title: Deploy FastAPI on Ubuntu and Serve using Caddy 2 Web Server - author: Patrick Ladon author_link: https://dev.to/factorlive link: https://dev.to/factorlive/python-facebook-messenger-webhook-with-fastapi-on-glitch-4n90 title: Python...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 23K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/bootstrap.min.js.map

    el.nodeName.toLowerCase()\n\n    if (whitelistKeys.indexOf(el.nodeName.toLowerCase()) === -1) {\n      el.parentNode.removeChild(el)\n\n      continue\n    }\n\n    const attributeList = [].slice.call(el.attributes)\n    // eslint-disable-next-line unicorn/prefer-spread\n    const whitelistedAttributes = [].concat(whiteList['*'] || [], whiteList[elName] || [])\n\n    attributeList.forEach(attr => {\n      if (!allowedAttribute(attr, whitelistedAttributes)) {\n        el.removeAttribute(attr.nodeName)\n...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 180.9K bytes
    - Viewed (0)
Back to top