Skip to content

Commit

Permalink
fix: Add missing config
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKevinWeiss committed Feb 20, 2024
1 parent fa46abd commit 4bbcc22
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/inet_nm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,21 @@ class LocationConfig(_ConfigFile):
_LOAD_TYPE = dict


class LocationCache(_ConfigFile):
"""Class for handling the location cache.
Args:
config_dir: Directory for the configuration files.
Attributes:
file_path (Path): Path to the env configuration file.
"""

_FILENAME = "location_cache.json"
_LOAD_TYPE = list


def get_default_path() -> Path:
"""
Return the default path for the configuration files.
Expand Down

0 comments on commit 4bbcc22

Please sign in to comment.