diff --git a/thriftpy2/parser/__init__.py b/thriftpy2/parser/__init__.py index 03c96ce..2f4ff2c 100644 --- a/thriftpy2/parser/__init__.py +++ b/thriftpy2/parser/__init__.py @@ -181,7 +181,7 @@ def get_definition(thrift, name, lineno): def load_fp(source, module_name): """Load thrift file like object as a module. """ - thrift = parse_fp(source, module_name, enable_cache=False) + thrift = parse_fp(source, module_name) sys.modules[module_name] = thrift return thrift