|
|
|
@ -136,7 +136,7 @@ def instance (**_args):
|
|
|
|
|
if 'args' in _args :
|
|
|
|
|
_kwargs['args'] = _kwargs['args']
|
|
|
|
|
# _datatransport = IReader(_agent,_plugins,_logger) if _context == 'read' else IWriter(_agent,_plugins,_logger)
|
|
|
|
|
_datatransport = IReader(_**_kwargs) if _context == 'read' else IWriter(**_kwargs)
|
|
|
|
|
_datatransport = IReader(**_kwargs) if _context == 'read' else IWriter(**_kwargs)
|
|
|
|
|
return _datatransport
|
|
|
|
|
|
|
|
|
|
else:
|
|
|
|
|