Skip to content

Commit

Permalink
better docstrings render
Browse files Browse the repository at this point in the history
  • Loading branch information
jafermarq committed Dec 18, 2024
1 parent eb4043c commit 79a60a5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions datasets/flwr_datasets/partitioner/vertical_size_partitioner.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ class VerticalSizePartitioner(Partitioner):
active_party_columns_mode : Union[Literal[["add_to_first", "add_to_last", "create_as_first", "create_as_last", "add_to_all"], int]
Determines how to assign the active party columns:
- "add_to_first": Append active party columns to the first partition.
- "add_to_last": Append active party columns to the last partition.
- `"add_to_first"`: Append active party columns to the first partition.
- `"add_to_last"`: Append active party columns to the last partition.
- `"create_as_first"`: Create a new partition at the start containing only these columns.
- `"create_as_last"`: Create a new partition at the end containing only these columns.
- `"add_to_all"`: Append active party columns to all partitions.
- int: Append active party columns to the specified partition index.
- "create_as_first": Create a new partition at the start containing only these columns.
- "create_as_last": Create a new partition at the end containing only these columns.
- "add_to_all": Append active party columns to all partitions.
drop_columns : Optional[list[str]]
Columns to remove entirely from the dataset before partitioning.
shared_columns : Optional[list[str]]
Expand Down

0 comments on commit 79a60a5

Please sign in to comment.