Skip to content

Commit

Permalink
Update naming convention for active_party_column
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-narozniak committed Dec 13, 2024
1 parent 8e14318 commit a73f623
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class VerticalEvenPartitioner(Partitioner):
--------
>>> partitioner = VerticalEvenPartitioner(
... num_partitions=3,
... active_party_column=["income"],
... active_party_column="income",
... active_party_column_mode="add_to_last",
... shuffle=True,
... seed=42
Expand All @@ -81,7 +81,7 @@ class VerticalEvenPartitioner(Partitioner):
def __init__(
self,
num_partitions: int,
active_party_column: Optional[list[str]] = None,
active_party_column: Optional[Union[str, list[str]]] = None,
active_party_column_mode: Union[
Literal[
"add_to_first",
Expand Down

0 comments on commit a73f623

Please sign in to comment.