feat: add global working dir config params by amadeusz-ds · Pull Request #347 · Unstructured-IO/unstructured-inference
Conversation
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
|
||
|
|
||
| @lru_cache(maxsize=1) | ||
| def _get_tempdir(dir: str) -> str: |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one thing - dir is reserved as std function name. Just replace with dirname or smth.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters