Import haskey from keys module
This patch will fix out gate. Change-Id: I83061decce22f457e0764f669b7bd9849fb639af
This commit is contained in:
parent
e6134eeec0
commit
26f7d62bbf
@ -236,7 +236,7 @@ def get_workflow_spec_by_definition_id(wf_def_id, wf_def_updated_at):
|
||||
|
||||
def cache_workflow_spec_by_execution_id(wf_ex_id, wf_spec):
|
||||
with _WF_EX_CACHE_LOCK:
|
||||
_WF_EX_CACHE[cachetools.hashkey(wf_ex_id)] = wf_spec
|
||||
_WF_EX_CACHE[cachetools.keys.hashkey(wf_ex_id)] = wf_spec
|
||||
|
||||
|
||||
def get_wf_execution_spec_cache_size():
|
||||
|
Loading…
Reference in New Issue
Block a user