class_docstr: CartPoleMassEnv varies the weights of the cart and the pole.
class_docstr_tok: ["CartPoleMassEnv","varies","the","weights","of","the","cart","and","the","pole","."]
docstr: Returns:
      Tuple[float]: The current mass of the cart- and pole.
docstr_tok: ["Returns",":","Tuple","[","float","]",":","The","current","mass","of","the","cart-","and","pole","."]
code: def get_task(self):
      """
      Returns:
          Tuple[float]: The current mass of the cart- and pole.
      """
      return np.array([self.masscart, self.masspole])
  
file_path: ray/rllib_contrib/maml/src/rllib_maml/envs/cartpole_mass.py
imports: import numpy
  from gymnasium.envs.classic_control.cartpole import CartPoleEnv
  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 CartPoleMassEnv obj's underlying member method code with example usage: obj.get_task() and returns: np