EnkaNetwork.py
EnkaNetwork.py copied to clipboard
Unexpected Replacement of `icon` Field Type to `IconAsset` After Executing `EnkaNetworkResponse.parse_obj(data)`
When executing the function EnkaNetworkResponse.parse_obj(data)
, an unintended behavior was observed where the icon
field type in the original data
is being replaced with IconAsset
. This issue is unexpected and should not occur.
code:
result = EnkaNetworkResponse.parse_obj(data)
Before:
After: