You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed than in consumer.py there are duplicate JSON deserialization operation via json.loads.
First time it happens in _is_json function and then repeats if it is indeed convertible to dict.
It seems reasonable to inline _is_json to avoid duplicate operations.
I noticed than in
consumer.py
there are duplicate JSON deserialization operation viajson.loads
.First time it happens in
_is_json
function and then repeats if it is indeed convertible to dict.It seems reasonable to inline
_is_json
to avoid duplicate operations.References:
The text was updated successfully, but these errors were encountered: