MCPcopy Create free account
hub / github.com/comaps/comaps / __init__

Method __init__

tools/python/categories_converter.py:58–64  ·  view source on GitHub ↗
(self, filepath)

Source from the content-addressed store, hash-verified

56class CategoriesTxt:
57 """For now, let's allow comments only at the beginning of the file."""
58 def __init__(self, filepath):
59 self.translations = defaultdict(lambda: defaultdict(str))
60 self.keys_in_order = []
61 self.comments = []
62 self.filepath = filepath
63 self.all_langs = set()
64 self.parse_file()
65
66
67 def parse_file(self):

Callers

nothing calls this directly

Calls 1

parse_fileMethod · 0.95

Tested by

no test coverage detected