diff --git a/peewee_plus.py b/peewee_plus.py index 6fe4114..60b3e06 100644 --- a/peewee_plus.py +++ b/peewee_plus.py @@ -254,8 +254,8 @@ class JSONField(peewee.TextField): **kwargs, ): super().__init__(*args, **kwargs) - self.dump_params = dump_params or dict() - self.load_params = load_params or dict() + self.dump_params = dump_params or {} + self.load_params = load_params or {} def db_value(self, value: Any) -> str: try: