Initial commit: split dlp-io library out of DataPacker
This commit is contained in:
@@ -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]
|
||||
Reference in New Issue
Block a user