reddit: pass logger to cachew
so that HPI_LOGS can be used to interact with this module, to check if cachew is working properly
This commit is contained in:
parent
8033b5cdbd
commit
074b8685d6
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ Upvote = dal.Upvote
|
||||||
def _dal() -> dal.DAL:
|
def _dal() -> dal.DAL:
|
||||||
inp = list(inputs())
|
inp = list(inputs())
|
||||||
return dal.DAL(inp)
|
return dal.DAL(inp)
|
||||||
cache = mcachew(depends_on=inputs) # depends on inputs only
|
cache = mcachew(depends_on=inputs, logger=logger) # depends on inputs only
|
||||||
|
|
||||||
|
|
||||||
@cache
|
@cache
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue