Skip to content

Commit

Permalink
map file is reformatted.
Browse files Browse the repository at this point in the history
  • Loading branch information
feysahin committed Aug 17, 2022
1 parent 6fcd854 commit f89cadf
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions hazelcast/proxy/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
map_put_if_absent_with_max_idle_codec,
map_put_transient_with_max_idle_codec,
map_set_with_max_idle_codec,
map_remove_interceptor_codec, map_remove_all_codec,
map_remove_interceptor_codec,
map_remove_all_codec,
)
from hazelcast.proxy.base import (
Proxy,
Expand Down Expand Up @@ -1286,11 +1287,11 @@ def remove(self, key: KeyType) -> Future[typing.Optional[ValueType]]:
def remove_all(self, predicate: Predicate) -> Future[None]:
"""Removes all entries which match with the supplied predicate
Args:
predicate: Used to select entries to be removed from map.
Args:
predicate: Used to select entries to be removed from map.
Returns:
None
Returns:
None
"""

check_not_none(predicate, "predicate can't be None")
Expand Down Expand Up @@ -2237,10 +2238,7 @@ def remove( # type: ignore[override]
) -> typing.Optional[ValueType]:
return self._wrapped.remove(key).result()

def remove_all( # type: ignore[override]
self,
predicate: Predicate
) -> None:
def remove_all(self, predicate: Predicate) -> None: # type: ignore[override]
return self._wrapped.remove_all(predicate).result()

def remove_if_same( # type: ignore[override]
Expand Down

0 comments on commit f89cadf

Please sign in to comment.