Initial commit: split dlp-io library out of DataPacker

This commit is contained in:
2026-07-31 14:58:37 +08:00
commit 3b0c81fd9d
22 changed files with 2509 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
from __future__ import annotations
from dataclasses import dataclass
@dataclass(frozen=True)
class DlpConfig:
python_executable: str | None = None
startup_timeout: float = 60
def python_command(self) -> list[str] | None:
if self.python_executable is None:
return None
return [self.python_executable]