code: def step(self, step_size: Timedelta=None):
          
          old_step_size = self.clock.step_size
          if step_size is not None:
              if not isinstance(step_size, type(self.clock.step_size)):
                  raise ValueError(f"Provided time must be an instance of {type(self.clock.step_size)}")
              self.clock._step_size = step_size
          super().step()
          self.clock._step_size = old_step_size
docs: Advance the simulation one step.
  
          Parameters
          ----------
          step_size
              An optional size of step to take. Must be the same type as the
              simulation clock's step size (usually a pandas.Timedelta).