code: def get_slices(self, ca_as_0th=False):
          
          if self.ndim < 3 and not ca_as_0th:
              return [CubeSlice(self, 0)]
  
          return [CubeSlice(self, i, ca_as_0th) for i, _ in enumerate(self.labels()[0])]
docs: Return list of :class:`.CubeSlice` objects.
  
          The number of slice objects in the returned list depends on the
          dimensionality of this cube. A 1D or 2D cube will return a list
          containing one slice object. A 3D cube will return a list of slices
          the same length as the first dimension.