-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add feature (#704) Check if args/kwargs are JSON Serializable while r…
…unning locally (#1154) * ✨ add feature (#705) - JSON unserializable content passed to asyncronous task during local develop will raise exception on purpose to allow developers to catch JSON unserializable errors during development. :white_check_mark: add `test_async_call_arg_not_json_seralizable` testcase :fire: remove unnecessary coding comment in `test_async.py` * :art: fix flake8 * :pencil: fix typo :wrench: add specific `UnserializableJsonError` exception for clarity * :white_check_mark: expand testcase to include custome exception, `UnserializableJsonError`. * :art: run isort/black * :fire: remove unnecessary assert Co-authored-by: javulticat <[email protected]> * :recycle: simplify `validate_json_serializable()` to accept *args, **kwargs as per review comment * :fire: remove unnecessary import and use `object()` as unserializable_object sample. Co-authored-by: javulticat <[email protected]>
- Loading branch information
1 parent
bef5c5a
commit c048ea2
Showing
3 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters