code: def new_from_json_dict(cls, data):
          
          new_data = {utils.to_snake_case(key): value
                      for key, value in data.items()}
  
          return cls(**new_data)
docs: Create a new instance from a dict.
  
          :param data: JSON dict
          :rtype:
          :return: