(self, action: str | dict, cwd: str = "", *, timeout: int | None = None)
| 28 | def _scratch_dir() -> str | None: |
| 29 | """Local scratch dir for staging `docker cp` transfers. Defaults to the system temp dir. |
| 30 | Override with CODECLASH_TMPDIR (e.g. on AWS Batch, where the default temp dir misbehaves).""" |
| 31 | override = os.getenv("CODECLASH_TMPDIR") |
| 32 | if override: |
| 33 | Path(override).mkdir(parents=True, exist_ok=True) |
| 34 | return override |
| 35 | |
| 36 |
no outgoing calls
no test coverage detected