Skip to content

Commit b35b8c5

Browse files
Update method_formatters.py
1 parent 34ee49d commit b35b8c5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

web3/_utils/method_formatters.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,7 @@ def type_aware_apply_formatters_to_dict(
173173

174174
formatted: Dict[str, Any]
175175
formatted = apply_formatters_to_dict(formatters, value) # type: ignore [arg-type]
176-
return (
177-
AttributeDict.recursive(formatted)
178-
if is_attrdict(value)
179-
else formatted
180-
)
176+
return AttributeDict.recursive(formatted) if is_attrdict(value) else formatted
181177

182178

183179
def type_aware_apply_formatters_to_dict_keys_and_values(

0 commit comments

Comments
 (0)