Skip to content

Commit

Permalink
Address comment
Browse files Browse the repository at this point in the history
Signed-off-by: Igoshev, Iaroslav <[email protected]>
  • Loading branch information
YarShev committed May 22, 2024
1 parent 53ccafa commit e6b86f6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modin/config/envvars.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,8 +644,6 @@ def put(cls, value: int) -> None:
if value <= 0:
raise ValueError(f"Min partition size should be > 0, passed value {value}")
super().put(value)
MinRowPartitionSize.put(value)
MinColumnPartitionSize.put(value)

@classmethod
def get(cls) -> int:
Expand All @@ -660,7 +658,8 @@ def get(cls) -> int:

ErrorMessage.single_warning(
"`MinPartitionSize` is deprecated and will be removed in a future version. "
+ "Use `MinRowPartitionSize` and `MinColumnPartitionSize` instead.",
+ "This config has no longer effect, "
+ "use `MinRowPartitionSize` and `MinColumnPartitionSize` instead.",
FutureWarning,
)
min_partition_size = super().get()
Expand Down

0 comments on commit e6b86f6

Please sign in to comment.