EnkaNetwork.py icon indicating copy to clipboard operation
EnkaNetwork.py copied to clipboard

Unexpected Replacement of `icon` Field Type to `IconAsset` After Executing `EnkaNetworkResponse.parse_obj(data)`

Open luoshuijs opened this issue 9 months ago • 1 comments

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: photo_2023-10-21_18-20-58

After: photo_2023-10-21_18-21-11

luoshuijs avatar Oct 22 '23 13:10 luoshuijs