We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31f9780 commit 2bcd248Copy full SHA for 2bcd248
aws_lambda_powertools/event_handler/openapi/encoders.py
@@ -156,6 +156,7 @@ def jsonable_encoder( # noqa: PLR0911
156
exclude_none=exclude_none,
157
exclude_unset=exclude_unset,
158
exclude_defaults=exclude_defaults,
159
+ custom_serializer=custom_serializer,
160
)
161
except ValueError as exc:
162
raise SerializationError(
@@ -287,6 +288,7 @@ def _dump_other(
287
288
exclude_unset: bool = False,
289
exclude_none: bool = False,
290
exclude_defaults: bool = False,
291
+ custom_serializer: Optional[Callable[[Any], str]] = None,
292
) -> Any:
293
"""
294
Dump an object to a hashable object, using the same parameters as jsonable_encoder
@@ -308,6 +310,7 @@ def _dump_other(
308
310
309
311
312
313
314
315
316
0 commit comments