Skip to content

Commit

Permalink
Merge branch 'yaml-cli2' into issue436-gql-data-factory
Browse files Browse the repository at this point in the history
  • Loading branch information
idiom-bytes committed Dec 14, 2023
2 parents 53e7238 + addf921 commit 174814d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pdr_backend/data_eng/test/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@

@enforce_types
def _mergedohlcv_df_ETHUSDT(tmpdir):
_, _, pq_data_factory, model_data_factory = _data_pp_ss_1feed(
_, _, ohlcv_data_factory, model_data_factory = _data_pp_ss_1feed(
tmpdir, "binanceus h ETH/USDT"
)
mergedohlcv_df = pq_data_factory._merge_rawohlcv_dfs(ETHUSDT_RAWOHLCV_DFS)
mergedohlcv_df = ohlcv_data_factory._merge_rawohlcv_dfs(ETHUSDT_RAWOHLCV_DFS)
return mergedohlcv_df, model_data_factory


Expand All @@ -33,9 +33,9 @@ def _data_pp_ss_1feed(tmpdir, feed, st_timestr=None, fin_timestr=None):
parquet_dir = str(tmpdir)
pp = _data_pp([feed])
ss = _data_ss(parquet_dir, [feed], st_timestr, fin_timestr)
pq_data_factory = OhlcvDataFactory(pp, ss)
ohlcv_data_factory = OhlcvDataFactory(pp, ss)
model_data_factory = ModelDataFactory(pp, ss)
return pp, ss, pq_data_factory, model_data_factory
return pp, ss, ohlcv_data_factory, model_data_factory


@enforce_types
Expand Down

0 comments on commit 174814d

Please sign in to comment.