Enactment Groups

class legislice.groups.EnactmentGroup(**data)

Group of Enactments with comparison methods.

__add__(other)

Combine two EnactmentGroups, consolidating any duplicate Enactments.

Return type

EnactmentGroup

__ge__(other)

Test whether self implies other and self != other.

Return type

bool

__gt__(other)

Test whether self implies other and self != other.

Return type

bool

__hash__ = None
__iter__()

so dict(model) works

__repr__()

Return repr(self).

Return type

str

__str__()

Return str(self).

classmethod consolidate_passages(obj)

Consolidate overlapping EnactmentPassages into fewer objects.

Return type

List[EnactmentPassage]

implies(other)

Determine whether self includes all the text of another Enactment or EnactmentGroup.

Return type

bool

classmethod sort_passages(obj)

Sort federal to state, constitutional to statute to regulation, and then alphabetically.

Return type

List[EnactmentPassage]