diff options
author | Serhii Tereshchenko <serg.partizan@gmail.com> | 2023-02-28 16:15:05 +0200 |
---|---|---|
committer | Asif Saif Uddin <auvipy@gmail.com> | 2023-03-01 20:54:33 +0600 |
commit | b4c033d5567d71423b4144accaaa6887b532d693 (patch) | |
tree | 56ff6a7dc97a55fba605f7abe38b6503d2f932fe | |
parent | 21d7df29c7d4a1dfb8586f24ca6eaf65b9c8cc16 (diff) | |
download | kombu-b4c033d5567d71423b4144accaaa6887b532d693.tar.gz |
Remove unused `_setupfuns` from serialization.py
Looks like `_setupfuns` is unused and should be removed.
If they're used somehow, please explain how, so i can add comment here to avoid future confusion.
-rw-r--r-- | kombu/serialization.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/kombu/serialization.py b/kombu/serialization.py index f807b2bd..5cddeb0b 100644 --- a/kombu/serialization.py +++ b/kombu/serialization.py @@ -384,18 +384,6 @@ register_msgpack() # Default serializer is 'json' registry._set_default_serializer('json') - -_setupfuns = { - 'json': register_json, - 'pickle': register_pickle, - 'yaml': register_yaml, - 'msgpack': register_msgpack, - 'application/json': register_json, - 'application/x-yaml': register_yaml, - 'application/x-python-serialize': register_pickle, - 'application/x-msgpack': register_msgpack, -} - NOTSET = object() |