mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-02 18:23:12 +00:00
document clearly that parser is intended for internal use only
This commit is contained in:
parent
1d23d58bfc
commit
58e5622f10
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue