Make Geolocation frozen to use less memory

And it can be cached later if that intended in the future
This commit is contained in:
Karim shoair 2025-01-24 21:21:27 +02:00
parent b5a248707e
commit 6fc8ee287e

View file

@ -61,7 +61,7 @@ class Locale:
return data
@dataclass
@dataclass(frozen=True)
class Geolocation:
"""
Stores geolocation information.