Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ def load_executor_definition(self, code: str) -> type(Operator):
f"{Path(self.fs.getsyspath('/')).joinpath(file_name)}."
)

# Clear importlib's directory listing cache so freshly written
# temporary modules are discoverable on systems with coarse mtime.
importlib.invalidate_caches()
# gen_module_file_name guarantees module_name is unique across
# the process, so import_module will always cleanly load source
# from the tmp fs we just wrote — no re-import / reload dance.
Expand Down
Loading