By default, encode by alias (#168)

This commit is contained in:
Sebastián Ramírez
2019-04-20 20:29:54 +04:00
committed by GitHub
parent cefe6cf92c
commit 9e748dbca4
2 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ def jsonable_encoder(
obj: Any,
include: Set[str] = None,
exclude: Set[str] = set(),
by_alias: bool = False,
by_alias: bool = True,
include_none: bool = True,
custom_encoder: dict = {},
sqlalchemy_safe: bool = True,