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 8, 2024
1 parent 57b6bdd commit 031b84b
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 @@ -171,7 +171,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 031b84b

Please sign in to comment.