Import haskey from keys module

This patch will fix out gate.

Change-Id: I83061decce22f457e0764f669b7bd9849fb639af
This commit is contained in:
Hardik Parekh 2016-10-05 14:28:03 +05:30
parent e6134eeec0
commit 26f7d62bbf
1 changed files with 1 additions and 1 deletions

View File

@ -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():