Skip to content

Commit

Permalink
fix: sub module conflict error
Browse files Browse the repository at this point in the history
  • Loading branch information
StellarisW committed Nov 29, 2024
1 parent f5aa4f6 commit 9a9ede8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thriftpy2/parser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
thrift = parse_fp(source, module_name, enable_cache=False)
sys.modules[module_name] = thrift
return thrift

Expand Down

0 comments on commit 9a9ede8

Please sign in to comment.