Skip to content

Commit

Permalink
Add default to serde configs
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamtt committed Nov 27, 2023
1 parent 2ba79c1 commit f6fc4ee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion prosper_api/serde/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@
@config_schema
def _schema() -> SchemaType:
return {
Optional("serde"): {
Optional(
"serde",
default={"parse-decimals": True, "parse-dates": True, "parse-enums": True},
): {
Optional("parse-decimals", default=True): bool,
Optional("parse-dates", default=True): bool,
Optional("parse-enums", default=True): bool,
Expand Down

0 comments on commit f6fc4ee

Please sign in to comment.