code: def reset_infra(self, **kwargs: Any) -> None:
      support_infra = self.get_support_infra()
      for k, v in kwargs.items():
          if k in support_infra:
              setattr(self, k, v)
          else:
              warnings.warn(f"{k} is ignored in `reset_infra`!")
  
imports: from __future__ import annotations
  from abc import abstractmethod
  from typing import Any, Set, Tuple, TYPE_CHECKING, Union
  import numpy
  from qlib.utils.time import epsilon_change
  import warnings
  import pandas
  from ..data.data import Cal
label_desc: Use image node_id 3 for calling the BaseInfrastructure obj's underlying member method code with example usage: obj.reset_infra() without return types