Otera.GroupTuple (otera v0.1.0)

Copy Markdown View Source

An item of the result of the groupby filter: a Python named tuple (grouper, list) with the attributes grouper and list. It prints and compares like a tuple.

Summary

Functions

Returns the group as a plain tuple.

Functions

to_tuple(group_tuple)

@spec to_tuple(%Otera.GroupTuple{grouper: term(), list: term()}) :: {term(), list()}

Returns the group as a plain tuple.