MCPcopy Create free account
hub / github.com/daniel2005d/mapXplore / __init__

Method __init__

console/modules/importCommand.py:10–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

8@with_default_category('Import Category')
9class ImportCommand(CommandSet):
10 def __init__(self) -> None:
11 super().__init__()
12 self._core = DataImporter()
13 if hasattr(cmd2.Cmd,'do_set'):
14 delattr(cmd2.Cmd, 'do_set')
15
16 if SqlMapSetting().file_input == '':
17 AnsiPrint.print_locale("import.input_required")
18
19
20 def do_run(self, arg):

Callers

nothing calls this directly

Calls 3

DataImporterClass · 0.90
SqlMapSettingClass · 0.90
print_localeMethod · 0.80

Tested by

no test coverage detected