def METHOD_NAME(self, start: int, end: int) -> "AgentAction":
    """
    Returns an AgentAction with the continuous and discrete tensors slices
    from index start to index end.
    """
    _cont = None
    _disc_list = []
    if self.continuous_tensor is not None:
        _cont = self.continuous_tensor[start:end]
    if self.discrete_list is not None and len(self.discrete_list) > 0:
        for _disc in self.discrete_list:
            _disc_list.append(_disc[start:end])
    return AgentAction(_cont, _disc_list)