mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 21:32:05 -08:00
Make Geolocation frozen to use less memory
And it can be cached later if that intended in the future
This commit is contained in:
parent
b5a248707e
commit
6fc8ee287e
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ class Locale:
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass(frozen=True)
|
||||||
class Geolocation:
|
class Geolocation:
|
||||||
"""
|
"""
|
||||||
Stores geolocation information.
|
Stores geolocation information.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue