From 7200be7beb3133b52f97dcf478235e6fb2eb9180 Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Wed, 31 May 2023 14:13:36 -0500 Subject: [PATCH] bug fix: identifier filter --- bin/transport | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/transport b/bin/transport index 7200e72..8103cfe 100755 --- a/bin/transport +++ b/bin/transport @@ -65,6 +65,8 @@ if __name__ == '__main__' : _index = int(SYS_ARGS['index']) _info = [_item for _item in _info if _info.index(_item) == _index] pass + elif 'id' in SYS_ARGS : + _info = [_item for _item in _info if 'id' in _item and _item['id'] == SYS_ARGS['id']] procs = 1 if 'procs' not in SYS_ARGS else int(SYS_ARGS['procs']) jobs = transport.factory.instance(provider='etl',info=_info,procs=procs) diff --git a/setup.py b/setup.py index 483ea87..6a078bc 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() args = { "name":"data-transport", - "version":"1.6.8", + "version":"1.7.0", "author":"The Phi Technology LLC","author_email":"info@the-phi.com", "license":"MIT", "packages":["transport"]}