(self)
| 538 | return False |
| 539 | |
| 540 | def get_temp_dir(self): |
| 541 | tmp = os.path.realpath(tempfile.gettempdir()) |
| 542 | return tmp if tmp.endswith(os.sep) else tmp + os.sep |
| 543 | |
| 544 | def _ensure_whitelisted_file(self, file_path: str): |
| 545 | sanitized = os.path.realpath(file_path) |
no outgoing calls