mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-04 10:27:45 +08:00
MAINT: Remove call to write_all when initializing db
This commit is contained in:
@@ -139,7 +139,7 @@ class TradingEnvironment(object):
|
||||
self.exchange_tz = exchange_tz
|
||||
|
||||
self.engine = engine = create_engine('sqlite:///:memory:')
|
||||
AssetDBWriterFromDictionary().write_all(engine)
|
||||
AssetDBWriterFromDictionary().init_db(engine)
|
||||
self.asset_finder = AssetFinder(engine)
|
||||
|
||||
def __enter__(self, *args, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user