Skip to content

Commit b8f54a0

Browse files
committed
Remove options in extraction identifier
1 parent 3ce616a commit b8f54a0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/trainable_entity_extractor/domain/ExtractionIdentifier.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@
1010

1111
from trainable_entity_extractor.config import DATA_PATH
1212

13-
OPTIONS_FILE_NAME = "options.json"
14-
MULTI_VALUE_FILE_NAME = "multi_value.json"
15-
METHOD_USED_FILE_NAME = "method_used.json"
16-
PROCESSING_FINISHED_FILE_NAME = "processing_finished.json"
17-
EXTRACTOR_USED_FILE_NAME = "extractor_used.json"
18-
1913

2014
class ExtractionIdentifier(BaseModel):
2115
run_name: str = "default"
@@ -55,9 +49,6 @@ def save_content(self, file_name: str, content: Any, use_json: bool = True):
5549
else:
5650
path.write_text(json.dumps(content))
5751

58-
def get_options_path(self):
59-
return Path(self.get_path(), OPTIONS_FILE_NAME)
60-
6152
def is_old(self):
6253
path = self.get_path()
6354
return exists(path) and os.path.isdir(path) and os.path.getmtime(path) < (time() - (2 * 24 * 3600))

0 commit comments

Comments
 (0)