keras/src/trainers/data_adapters/py_dataset_adapter.py/PyDatasetAdapter/__init__
class PyDatasetAdapter:    def __init__(
        self,
        x,
        class_weight=None,
        shuffle=False,
    ):
        self.py_dataset = x
        self.class_weight = class_weight
        self.enqueuer = None
        self.shuffle = shuffle
        self._output_signature = None