code: def list(cls, **kwargs):
          
          conn = Qubole.agent()
          params = {}
          for k in kwargs:
              if kwargs[k]:
                  params[k] = kwargs[k]
          params = None if not params else params
          return conn.get(cls.rest_entity_path, params=params)
docs: List a command by issuing a GET request to the /command endpoint
  
          Args:
              `**kwargs`: Various parameters can be used to filter the commands such as:
                          * command_type - HiveQuery, PrestoQuery, etc. The types should be in title case.
                          * status - failed, success, etc
                          * name
                          * command_id
                          * qbol_user_id
                          * command_source
                          * page
                          * cluster_label
                          * session_id, etc
  
              For example - Command.list(command_type = "HiveQuery", status = "success")