code: def get_config(self, lesson=None):
          
          if not self.data:
              return {}
          if lesson is None:
              lesson = self.lesson_num
          lesson = max(0, min(lesson, self.max_lesson_num))
          config = {}
          parameters = self.data['parameters']
          for key in parameters:
              config[key] = parameters[key][lesson]
          return config
docs: Returns reset parameters which correspond to the lesson.
          :param lesson: The lesson you want to get the config of. If None, the
                 current lesson is returned.
          :return: The configuration of the reset parameters.