MCPcopy Create free account
hub / github.com/EASY233/Finger / __init__

Method __init__

lib/identify.py:14–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12
13class Identify:
14 def __init__(self):
15 filepath = os.path.join(path.library, 'finger.json')
16 with open(filepath, 'r', encoding='utf-8') as file:
17 finger = json.load(file)
18 for name, value in finger.items():
19 self.obj = value
20 # 初始化指纹库
21 self._prepare_app()
22
23 def run(self, datas):
24 self.datas = datas

Callers

nothing calls this directly

Calls 1

_prepare_appMethod · 0.95

Tested by

no test coverage detected