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):
255255 def __init__ (self , repository : CosmosDBRepository ):
256256 self .repository = repository
257257
258- def get_all (self , conditions : dict = {}) -> list :
258+ def get_all (self , conditions : dict = {}, ** kwargs ) -> list :
259259 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 )
261261
262262 def get (self , id ):
263263 event_ctx = self .create_event_context ("read" )
Original file line number Diff line number Diff line change 1616
1717class CRUDDao (abc .ABC ):
1818 @abc .abstractmethod
19- def get_all (self , conditions : dict ):
19+ def get_all (self , conditions : dict , ** kwargs ):
2020 raise NotImplementedError # pragma: no cover
2121
2222 @abc .abstractmethod
You can’t perform that action at this time.
0 commit comments