diff --git a/info/__init__.py b/info/__init__.py index 9ffaa4d..57f7289 100644 --- a/info/__init__.py +++ b/info/__init__.py @@ -1,5 +1,5 @@ __author__ = 'The Phi Technology' -__version__= '1.9.8.1' +__version__= '1.9.8.20' __license__=""" diff --git a/setup.py b/setup.py index df12cb4..40ba3fb 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ args = { "license":"MIT", "packages":["transport","info"]} args["keywords"]=['mongodb','couchdb','rabbitmq','file','read','write','s3','sqlite'] -args["install_requires"] = ['pyncclient','pymongo','sqlalchemy','pandas','typer','pandas-gbq','numpy','cloudant','pika','nzpy','boto3','boto','pyarrow','google-cloud-bigquery','google-cloud-bigquery-storage','flask-session','smart_open','botocore','psycopg2-binary','mysql-connector-python'] +args["install_requires"] = ['pyncclient','pymongo','sqlalchemy','pandas','typer','pandas-gbq','numpy','cloudant','pika','nzpy','boto3','boto','pyarrow','google-cloud-bigquery','google-cloud-bigquery-storage','flask-session','smart_open','botocore','psycopg2-binary','mysql-connector-python','numpy'] args["url"] = "https://healthcareio.the-phi.com/git/code/transport.git" args['scripts'] = ['bin/transport'] if sys.version_info[0] == 2 : diff --git a/transport/__init__.py b/transport/__init__.py index c820978..9e12b3f 100644 --- a/transport/__init__.py +++ b/transport/__init__.py @@ -52,6 +52,11 @@ else: import etl from info import __version__,__author__ import providers + +import numpy as np +from psycopg2.extensions import register_adapter, AsIs +register_adapter(np.int64, AsIs) + # import psycopg2 as pg # import mysql.connector as my # from google.cloud import bigquery as bq