Skip to content

Commit ae00a32

Browse files
committed
Obfuscate country_code field in Location model for enhanced privacy
1 parent f272958 commit ae00a32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyoverkiz/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ class Location:
719719
twilight_offset_enabled: bool = False
720720
dawn_offset: int = 0
721721
dusk_offset: int = 0
722-
country_code: str | None = None
722+
country_code: str | None = field(repr=obfuscate_string, default=None)
723723
tariff_settings: dict[str, Any] | None = None
724724

725725

0 commit comments

Comments
 (0)