code: def _assert_single_split(splits):
      if len(splits) != 1:
          raise ValueError(
              "Cannot infer how to distribute the examples among splits: "
              f"{splits}. `generate_scene` should return `dict[split_names: ex]`"
          )
  
imports: from __future__ import annotations
  import abc
  import collections
  import dataclasses
  import itertools
  import tempfile
  from typing import Any, Dict, Iterator, List, Optional, TypeVar, Union
  import apache_beam
  from etils import edc
  from etils import epath
  import kubric
  import tensorflow_datasets
label_desc: Use image node_id 1 for calling a global function with example usage: _assert_single_split(splits) without return types