You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
"""
|
|
|
|
from datetime import datetime
|
|
|
|
"etl":{"class":{"read":etl.instance,"write":etl.instance}},
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# get default values from
|
|
|
|
|
|
|
|
return _classPointer(**_args)
|
|
|
|
#
|
|
|
|
# Let us determine the category of the provider that has been given
|
|
|
|
def _get_alchemyEngine(**_args):
|
|
|
|
"""
|
|
|
|
This function returns the SQLAlchemy engine associated with parameters, This is only applicable for SQL _items
|
|
|
|
:_args arguments passed to the factory {provider and other}
|
|
|
|
"""
|
|
|
|
_provider = _args['provider']
|
|
|
|
_engine = sqlalchemy.create_engine (uri,future=True)
|
|
|
|
if 'class' in factory.PROVIDERS[provider]:
|
|
|
|
|