Spaces:
Running on Zero
Running on Zero
File size: 330 Bytes
f1ef7e2 | 1 2 3 4 5 6 7 8 9 10 11 12 | import os
class BatchFileService:
def __init__(self, watch_dir: str = "/data"):
self.watch_dir = watch_dir
def scan_records(self):
# Reads local AppTek records and maps metadata keys from disk
if not os.path.exists(self.watch_dir):
return []
return os.listdir(self.watch_dir)
|