code: def folds(
      self,
      folds: _typing.Optional[
          _typing.Iterable[
              _typing.Tuple[
                  _typing.Sequence[int], _typing.Sequence[int]
              ]
          ]
      ],
  ):
      self._folds: _typing.Optional[
          _typing.List[
              _typing.Tuple[
                  _typing.Sequence[int], _typing.Sequence[int]
              ]
          ]
      ] = (list(folds) if isinstance(folds, _typing.Iterable) else None)
      if self._folds is not None and len(self._folds) == 0:
          self._folds = None
  
imports: import typing
label_desc: Use image node_id 3 for calling the _FoldsContainer obj's underlying member method code with example usage: obj.folds(folds) without return types