Skip to content

Commit

Permalink
add it to schema as well
Browse files Browse the repository at this point in the history
  • Loading branch information
DenizYil committed Aug 17, 2023
1 parent 767928b commit 6e59710
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terracotta/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ class SettingSchema(Schema):

USE_MULTIPROCESSING = fields.Boolean()

MAX_POST_METADATA_KEYS = fields.Integer(validate=validate.Range(min=1))

@pre_load
def decode_lists(self, data: Dict[str, Any], **kwargs: Any) -> Dict[str, Any]:
for var in (
Expand Down

0 comments on commit 6e59710

Please sign in to comment.