- Sort Score
- Result 10 results
- Languages All
Results 41 - 43 of 43 for Chander (0.15 sec)
-
docs/ru/docs/tutorial/handling-errors.md
Можно добавить собственный обработчик исключений с помощью `@app.exception_handler()`: ```Python hl_lines="5-7 13-18 24" {!../../../docs_src/handling_errors/tutorial003.py!} ``` Здесь, если запросить `/unicorns/yolo`, то *операция пути* вызовет `UnicornException`. Но оно будет обработано `unicorn_exception_handler`. Таким образом, вы получите чистую ошибку с кодом состояния HTTP `418` и содержимым JSON:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 14.5K bytes - Viewed (0) -
docs/fr/docs/python-types.md
Mais malheureusement, rien d'utile n'en résulte : <img src="/img/python-types/image01.png"> ### Ajouter des types Modifions une seule ligne de la version précédente. Nous allons changer seulement cet extrait, les paramètres de la fonction, de : ```Python first_name, last_name ``` à : ```Python first_name: str, last_name: str ``` C'est tout.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 10.3K bytes - Viewed (0) -
fastapi/routing.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 170.1K bytes - Viewed (0)