plugin handling ...

This commit is contained in:
Steve Nyemba 2022-11-15 11:01:11 -06:00
parent d469a4904f
commit e196991c54
1 changed files with 11 additions and 1 deletions

View File

@ -589,4 +589,14 @@ class factory :
pthread= Trainer(**_args)
if 'start' in _args and _args['start'] == True :
pthread.start()
return pthread
return pthread
class plugins:
@staticmethod
def load(_config):
"""
This function attempts to load the plugins to insure they are valid
_config configuration for plugin specifications {pre:{pipeline,path},post:{pipeline,path}}
"""