MultiBackfillRepresentation

class MultiBackfillRepresentation(*, max_id: int, partitions: Sequence[Partition], shape: int | Sequence[int] | None = None, backfill: str | Representation | type[Representation] | None = None, backfill_kwargs: Mapping[str, Any] | None = None, **kwargs)[source]

Bases: PartitionRepresentation

Fill missing ids by backfill representation.

Initialize the backfill representation.

Parameters:
  • max_id (int)

  • partitions (Sequence[Partition])

  • shape (tuple[int, ...])

  • backfill (HintOrType[Representation])

  • backfill_kwargs (OptionalKwargs)