class_docstr: PendulumMassEnv varies the weight of the pendulum
  
  Tasks are defined to be weight uniformly sampled between [0.5,2]
class_docstr_tok: ["PendulumMassEnv","varies","the","weight","of","the","pendulum","Tasks","are","defined","to","be","weight","uniformly","sampled","between","[","0.5,2","]"]
docstr: Returns:
      float: The current mass of the pendulum (self.m in the PendulumEnv
          object).
docstr_tok: ["Returns",":","float",":","The","current","mass","of","the","pendulum","(","self.m","in","the","PendulumEnv","object",")","."]
code: def get_task(self):
      """
      Returns:
          float: The current mass of the pendulum (self.m in the PendulumEnv
              object).
      """
      return self.m
  
file_path: ray/rllib_contrib/maml/src/rllib_maml/envs/pendulum_mass.py
imports: import numpy
  from gymnasium.envs.classic_control.pendulum import PendulumEnv
  from gymnasium.utils import EzPickle
  from ray.rllib.env.apis.task_settable_env import TaskSettableEnv
label_desc: Use image node_id 3 for calling the PendulumMassEnv obj's underlying member method code with example usage: obj.get_task() and returns: self