File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
commons/data_access_layer Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -255,9 +255,9 @@ class CosmosDBDao(CRUDDao):
255
255
def __init__ (self , repository : CosmosDBRepository ):
256
256
self .repository = repository
257
257
258
- def get_all (self , conditions : dict = {}) -> list :
258
+ def get_all (self , conditions : dict = {}, ** kwargs ) -> list :
259
259
event_ctx = self .create_event_context ("read-many" )
260
- return self .repository .find_all (event_ctx , conditions = conditions )
260
+ return self .repository .find_all (event_ctx , conditions = conditions , ** kwargs )
261
261
262
262
def get (self , id ):
263
263
event_ctx = self .create_event_context ("read" )
Original file line number Diff line number Diff line change 16
16
17
17
class CRUDDao (abc .ABC ):
18
18
@abc .abstractmethod
19
- def get_all (self , conditions : dict ):
19
+ def get_all (self , conditions : dict , ** kwargs ):
20
20
raise NotImplementedError # pragma: no cover
21
21
22
22
@abc .abstractmethod
You can’t perform that action at this time.
0 commit comments