From 990bd999215acc1d5bc52056cd8a3997519aa13a Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Tue, 11 Jun 2024 13:52:31 +0200 Subject: [PATCH] lay down high level steps of process --- xexe/processes.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/xexe/processes.py b/xexe/processes.py index bf3dae9..fb6250f 100644 --- a/xexe/processes.py +++ b/xexe/processes.py @@ -56,3 +56,14 @@ def run_get_rates( output: pathlib.Path, ) -> None: logger.info("Getting rates") + + # Create process log object to track everything + # Get rates + ## Derive API calls to run from passed inputs + ## Get hold of proper API client depending on whether we are dry running or acting serious + ## Do our thing and get rates or die tryin' + # Output + ## Create proper output writer depending on parameters + ## Check writeability + ## Do our thing and output or die tryin' + # Call it a day