Skip to content

Commit a8abeef

Browse files
committed
RDBC-809 Method get_compare_exchange_values can't require object_type, set as optional
1 parent fab7c11 commit a8abeef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ravendb/documents/session/cluster_transaction_operation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def get_compare_exchange_value(self, key: str, object_type: Type[_T] = None) ->
5555

5656
@abc.abstractmethod
5757
def get_compare_exchange_values(
58-
self, keys: List[str], object_type: Type[_T]
58+
self, keys: List[str], object_type: Type[_T] = None
5959
) -> Dict[str, CompareExchangeValue[_T]]:
6060
pass
6161

@@ -293,7 +293,7 @@ def get_compare_exchange_value(self, key: str, object_type: Type[_T] = None) ->
293293
return self._get_compare_exchange_value_internal(key, object_type)
294294

295295
def get_compare_exchange_values(
296-
self, keys: List[str], object_type: Type[_T]
296+
self, keys: List[str], object_type: Type[_T] = None
297297
) -> Dict[str, CompareExchangeValue[_T]]:
298298
return super()._get_compare_exchange_values_internal(keys, object_type)
299299

0 commit comments

Comments
 (0)