Report.move¶
move ¶
move(item_id: str, *, before: str | None = None) -> None
Reorder an item; before can also target another section.
Without before, move the item to the end of its existing section.
Example¶
first = report.add(p.summary('age'))
second = report.add(p.frequency('enctype'))
report.move(second.id, before=first.id)