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
Your code is clean, and the codebase should be small, but using pydantic adds extra packages, which might not be ideal for this simple project. You should use attrs instead—no extra package load.
You can check out my SpyIP: https://github.com/Almas-Ali/SpyIP project, where I wrapped ip-api.com with attrs. I initially started with pydantic but later moved to attrs.