From 6fc8ee287e49f67a958fe02a88770d08fa8417f1 Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Fri, 24 Jan 2025 21:21:27 +0200 Subject: [PATCH] Make `Geolocation` frozen to use less memory And it can be cached later if that intended in the future --- pythonlib/camoufox/locale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonlib/camoufox/locale.py b/pythonlib/camoufox/locale.py index 173b986..7a0662a 100644 --- a/pythonlib/camoufox/locale.py +++ b/pythonlib/camoufox/locale.py @@ -61,7 +61,7 @@ class Locale: return data -@dataclass +@dataclass(frozen=True) class Geolocation: """ Stores geolocation information.