问题描述
class Test(cqlengineModel):
@classmethod
@cql_engine_connector
@functools.lru_cache(maxsize=1000)
def is_not_analyzable(cls,x,y):
if mic:
query_result = ...
mic_list = cls._to_list(query_result)
return True if mic_list else False
else:
return False
Test.is_not_analyzable.cache_clear()
AttributeError: 'function' object has no attribute 'cache_clear
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)