From 98c9348f9c1db16ab58645f4ea01b52d97824269 Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Wed, 14 Dec 2022 16:48:40 -0600 Subject: [PATCH] bug fix: mongodb read --- README.md | 2 +- setup.py | 2 +- transport/mongo.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 87e5b1e..eaa176d 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Mostly data scientists that don't really care about the underlying database and Within the virtual environment perform the following : - pip install git+https://dev.the-phi.com/git/steve/data-transport.git + pip install git+https://github.com/lnyemba/data-transport.git Once installed **data-transport** can be used as a library in code or a command line interface (CLI), as a CLI it is used for ETL and requires a configuration file. diff --git a/setup.py b/setup.py index b9dbb37..adbea05 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.2", + "version":"1.6.3", "author":"The Phi Technology LLC","author_email":"info@the-phi.com", "license":"MIT", "packages":["transport"]} diff --git a/transport/mongo.py b/transport/mongo.py index e3dbaff..dc72598 100644 --- a/transport/mongo.py +++ b/transport/mongo.py @@ -92,7 +92,7 @@ class MongoReader(Mongo,Reader): Mongo.__init__(self,**args) def read(self,**args): - if 'mongo' in args or 'cmd' : + if 'mongo' in args or 'cmd' in args: # # @TODO: cmd = args['mongo'] if 'mongo' in args else args['cmd']