934c745a91d6a4ae15e686da13aaf7441c4dda30,src/pudl/extract/ferc1.py,,dbf2sqlite,#Any#Any#Any#Any#Any#,482
Before Change
None
if pudl_settings is None:
pudl_settings = pudl.settings.init()
// Read in the structure of the DB, if it exists
logger.info("Dropping the old FERC Form 1 SQLite DB if it exists.")
sqlite_engine = connect_db(pudl_settings=pudl_settings)
try:
// So that we can wipe it out
After Change
// Read in the structure of the DB, if it exists
logger.info("Dropping the old FERC Form 1 SQLite DB if it exists.")
sqlite_engine = sa.create_engine(pudl_settings["ferc1_db"])
try:
// So that we can wipe it out
drop_tables(sqlite_engine)
except sa.exc.OperationalError:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: catalyst-cooperative/pudl
Commit Name: 934c745a91d6a4ae15e686da13aaf7441c4dda30
Time: 2019-08-15
Author: zane.selvans@catalyst.coop
File Name: src/pudl/extract/ferc1.py
Class Name:
Method Name: dbf2sqlite
Project Name: catalyst-cooperative/pudl
Commit Name: ed374e43783ff6cb58850aef22e4fa447ebbde61
Time: 2019-08-20
Author: cgosnell@catalyst.coop
File Name: src/pudl/extract/ferc1.py
Class Name:
Method Name: dbf2sqlite
Project Name: HazyResearch/fonduer
Commit Name: a9eb629bcfc8239e86916661f80f0bee9ca26b79
Time: 2018-03-29
Author: lwhsiao@stanford.edu
File Name: fonduer/snorkel/models/meta.py
Class Name:
Method Name: new_sessionmaker