You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ego.io now () has it's own config file that is created when egoio.tools.db.connection() is called and no config file exists. Data processing now uses an OEDB connection via egoio.
Tested implementation by following query script
from egoio.tools.db import connection
from egoio.db_tables.scenario import EgoSlpParameter
from sqlalchemy.orm import sessionmaker
import pandas as pd
Session = sessionmaker(bind=connection(section='oep'))
session=Session()
data = session.query(EgoSlpParameter)
print(pd.read_sql_query(data.statement, session.bind))
Move
oemof.db.connection()
to close#13. Then ego.io and add filename keyword argument to it.The text was updated successfully, but these errors were encountered: