File indexing completed on 2025-01-19 03:59:52

0001 from ..parsers.baseporter import Baseporter, Loader
0002 
0003 
0004 class ImporterLoader(Loader):
0005     def __init__(self):
0006         super().__init__(__file__, __name__, "import")
0007 
0008     @property
0009     def importers(self):
0010         return self.items
0011 
0012     def set_options(self, parser):
0013         group = parser.add_argument_group("Generic input options")
0014 
0015         super().set_options(parser)
0016 
0017         return group
0018 
0019 
0020 importers = ImporterLoader()
0021 importer = importers.decorator