fastapi/fastapi
Rupsi Kaushik 3699e17212
Implement __repr__ methods for path parameters to simplify debugging (#1560)
* repr description added to Depends class

* repr description added to Security subclass

* get rid of __repr__ in security since it will inherit from super

* make code format consistent with rest

* add desc for rest of the classes

* Update fastapi/params.py

remove trailing whitespace

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>

* Implement __repr__

* fix formatting

* formatting again

* ran formatting

* added basic testing

* basic tests added to rest of the classes

* added more test coverage and simplified test file

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Co-authored-by: Jayati Shrivastava <gaurijove@gmail.com>
2020-06-13 01:22:30 +02:00
..
dependencies 🎨 Remove unused f-string (#1526) 2020-06-13 00:56:00 +02:00
middleware Re-export utils from Starlette (#1064) 2020-03-01 21:49:20 +01:00
openapi 🐛 Fix OpenAPI generation when using callbacks with routers including Pydantic models (#1322) 2020-06-12 22:35:59 +02:00
security ✏️ Update doc string with correct class name (#1126) 2020-03-27 17:18:23 +01:00
__init__.py 🔖 Release version 0.56.1 2020-06-13 01:17:06 +02:00
applications.py Add support for ASGI root_path for openapi docs (#1199) 2020-06-11 23:53:19 +02:00
background.py Re-export utils from Starlette (#1064) 2020-03-01 21:49:20 +01:00
concurrency.py Re-export utils from Starlette (#1064) 2020-03-01 21:49:20 +01:00
datastructures.py Add support for UploadFile class annotations (#63) 2019-03-03 20:52:37 +04:00
encoders.py Implement response_model_exclude_defaults and response_model_exclude_none (#1166) 2020-04-05 15:04:46 +02:00
exception_handlers.py 🐛 Fix issue with exotic pydantic error serialization (#748) 2019-11-29 07:02:10 +01:00
exceptions.py 🐛 Admit valid types for Pydantic fields as responses models (#1017) 2020-02-29 14:04:35 +01:00
logger.py 🔊 Refactor logging (#781) 2019-12-09 20:02:44 +01:00
param_functions.py Implement dependency value cache per request (#292) 2019-06-05 21:00:54 +04:00
params.py Implement __repr__ methods for path parameters to simplify debugging (#1560) 2020-06-13 01:22:30 +02:00
py.typed add py.typed to ship typing information (#209) 2019-05-11 13:43:47 +04:00
requests.py Re-export utils from Starlette (#1064) 2020-03-01 21:49:20 +01:00
responses.py Add ORJSONResponse (#1065) 2020-03-01 22:30:58 +01:00
routing.py 🎨 Remove unused f-string (#1526) 2020-06-13 00:56:00 +02:00
staticfiles.py Re-export utils from Starlette (#1064) 2020-03-01 21:49:20 +01:00
templating.py Re-export utils from Starlette (#1064) 2020-03-01 21:49:20 +01:00
testclient.py Re-export utils from Starlette (#1064) 2020-03-01 21:49:20 +01:00
utils.py Optimize regexp pattern in get_path_param_names (#1243) 2020-06-12 21:59:32 +02:00
websockets.py Re-export utils from Starlette (#1064) 2020-03-01 21:49:20 +01:00