Merge pull request #9 from lnyemba/dev

bug fix: psycopg2 with numpy
This commit is contained in:
Steve L. Nyemba 2024-02-27 12:50:22 -06:00 committed by GitHub
commit 874c380e4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,5 @@
__author__ = 'The Phi Technology'
__version__= '1.9.8.1'
__version__= '1.9.8.20'
__license__="""

View File

@ -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 :

View File

@ -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