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 5940409 commit bf18867Copy full SHA for bf18867
web3/_utils/method_formatters.py
@@ -171,11 +171,12 @@ def type_aware_apply_formatters_to_dict(
171
if isinstance(value, BaseModel):
172
value = value.model_dump(by_alias=True)
173
174
- formatted_dict: Dict[str, Any] = apply_formatters_to_dict(formatters, value) # type: ignore [arg-type]
+ formatted: Dict[str, Any]
175
+ formatted = apply_formatters_to_dict(formatters, value) # type: ignore [arg-type]
176
return (
- AttributeDict.recursive(formatted_dict)
177
+ AttributeDict.recursive(formatted)
178
if is_attrdict(value)
- else formatted_dict
179
+ else formatted
180
)
181
182
0 commit comments