Skip to content

Commit

Permalink
Merge pull request #514 from hubmapconsortium/yuanzhou/cache-fix
Browse files Browse the repository at this point in the history
Fix missing :
  • Loading branch information
yuanzhou authored Jul 17, 2023
2 parents 3e6c08e + 7929b02 commit b4b0c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schema/schema_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ def get_complete_entity_result(token, entity_dict, properties_to_skip = []):
# Need both client and prefix when fetching the cache
if _memcached_client and _memcached_prefix:
# Do NOT fetch cache is properties_to_skip is specified
if not properties_to_skip
if not properties_to_skip:
cache_key = f'{_memcached_prefix}_complete_{entity_uuid}'
cache_result = _memcached_client.get(cache_key)

Expand Down

0 comments on commit b4b0c0f

Please sign in to comment.