Add can_short param to base env

This commit is contained in:
Emre
2022-12-16 22:16:19 +03:00
parent 439914caef
commit dde363343c
3 changed files with 6 additions and 2 deletions

View File

@@ -133,6 +133,7 @@ class IFreqaiModel(ABC):
self.live = strategy.dp.runmode in (RunMode.DRY_RUN, RunMode.LIVE)
self.dd.set_pair_dict_info(metadata)
self.data_provider = strategy.dp
self.can_short = strategy.can_short
if self.live:
self.inference_timer('start')