from pathlib import Path from ingestion.processor import process_file def main() -> None: try: # Works in scripts / debugger / pytest ROOT_DIR = Path(__file__).resolve().parents[1] except NameError: # __file__ is not defined in notebooks ROOT_DIR = Path.cwd() path: Path = ROOT_DIR / "condition" / "sample_data" lbwf_path: Path = path / "lbwf" / "LBWF - Example Asset Data September 2025.xlsx" # TODO: get this from s3 as part of devcontainer init with lbwf_path.open("rb") as f: process_file( file_stream=f, source_key=lbwf_path.as_posix(), ) if __name__ == "__main__": main()