1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 20:23:12 +00:00

document clearly that parser is intended for internal use only

This commit is contained in:
wlinator 2024-08-27 06:48:16 -04:00
parent 1d23d58bfc
commit 58e5622f10

View file

@ -6,6 +6,8 @@ from functools import lru_cache
class _parser:
"""Internal parser class. Not intended for direct use outside this module."""
@lru_cache(maxsize=1024)
def read_yaml(self, path):
return self._read_file(f"settings/{path}.yaml", yaml.safe_load)