Skip to content

Construct TableBundle for an iterable of Table objects #91

@jfcorbett

Description

@jfcorbett

Currently TableBundle's constructor requires a BlockIterator = Iterable[Tuple[BlockType, Optional[Any]]].
Could be nice to also allow creating a TableBundle from a plain Iterator[Table].

Currently this requires some bending backwards:

tables = [table1, table2, ...]  # each of these is a Table object
b = TableBundle((BlockType.TABLE, t) for t in tables)  # bit annoying!

Metadata

Metadata

Assignees

No one assigned

    Labels

    ergonomicsImprove usability, API, discoverability

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions