Commit 5952906e by Adam

Merge pull request #8349 from edx/adam/fix-capa-devstack

disable contracts that were breaking capa problems on devstack (TNL-2…
parents 373d948c 6012a347
......@@ -479,7 +479,7 @@ class UserStateCache(object):
kvs_key.field_name in self._cache[cache_key]
)
@contract(user_id=int, usage_key=UsageKey, score="number|None", max_score="number|None")
# @contract(user_id=int, usage_key=UsageKey, score="number|None", max_score="number|None")
def set_score(self, user_id, usage_key, score, max_score):
"""
UNSUPPORTED METHOD
......@@ -920,7 +920,7 @@ class FieldDataCache(object):
return self.cache[key.scope].has(key)
@contract(user_id=int, usage_key=UsageKey, score="number|None", max_score="number|None")
# @contract(user_id=int, usage_key=UsageKey, score="number|None", max_score="number|None")
def set_score(self, user_id, usage_key, score, max_score):
"""
UNSUPPORTED METHOD
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment