class_docstr: Base strategy for trading
class_docstr_tok: ["Base","strategy","for","trading"]
code: def reset_common_infra(
      self, common_infra: CommonInfrastructure
  ) -> None:
      if not hasattr(self, "common_infra"):
          self.common_infra: CommonInfrastructure = common_infra
      else:
          self.common_infra.update(common_infra)
  
imports: from __future__ import annotations
  from abc import ABCMeta, abstractmethod
  from typing import Any, Generator, Optional, TYPE_CHECKING, Union
  from typing import Tuple
  from ..backtest.decision import BaseTradeDecision
  from ..backtest.utils import CommonInfrastructure, LevelInfrastructure, TradeCalendarManager
  from ..rl.interpreter import ActionInterpreter, StateInterpreter
  from ..utils import init_instance_by_config
label_desc: Use image node_id 7 for calling the BaseStrategy obj's underlying member method code with example usage: obj.reset_common_infra(common_infra) without return types