chore: initialize containerized Python learning workbook (2026 DevOps/SRE)
This commit is contained in:
commit
ae4c421815
63 files changed
+1273
No files matched your search
@@ -0,0 +1,20 @@
|
||||
import json
|
||||
import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def config_path(base_dir: Path, app_name: str) -> Path:
|
||||
raise NotImplementedError("Zwróć base_dir / app_name / 'config.yaml'")
|
||||
|
||||
|
||||
def run_echo_safely(message: str) -> str:
|
||||
_ = (subprocess, sys)
|
||||
raise NotImplementedError(
|
||||
"Uruchom bezpieczny subprocess (shell=False, timeout=5) i zwróć stdout.strip()"
|
||||
)
|
||||
|
||||
|
||||
def format_json_log(level: str, event: str, **fields: object) -> str:
|
||||
_ = json
|
||||
raise NotImplementedError("Zwróć JSON zawierający level, event oraz **fields")
|
||||
Reference in new issue
Block a user