From 575931522336b304a7d8be19bc4bd8cac8e10939 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Wed, 19 Mar 2025 09:14:26 +0000 Subject: [PATCH] added a new script --- etl/daily_script.py | 2 +- etl/scis_invoice.py | 9 +++++++++ scis_invoice.sh | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 etl/scis_invoice.py create mode 100644 scis_invoice.sh diff --git a/etl/daily_script.py b/etl/daily_script.py index 7b1ab7e..b2c76d9 100644 --- a/etl/daily_script.py +++ b/etl/daily_script.py @@ -57,7 +57,7 @@ def main(): if b_names: logger.info("Baxter Kelly with wrong date format") logger.info(pformat(b_names)) - logger.info("-------------------------------------------") + logger.info("-") logger.info("------EACH PRE SITE NOTES SUBMISSIONS------") logger.info("-------------------------------------------") logger.info(f"For week commencing: {WEEK_COMMENCING}") diff --git a/etl/scis_invoice.py b/etl/scis_invoice.py new file mode 100644 index 0000000..605c86e --- /dev/null +++ b/etl/scis_invoice.py @@ -0,0 +1,9 @@ +def main(): + print("hello world") + + +if __name__ == "__main__": + """ + Hopefully a very small script to generate a CSV and any othe relevant information to work out the invoice for each work + """ + main() diff --git a/scis_invoice.sh b/scis_invoice.sh new file mode 100644 index 0000000..bf168a0 --- /dev/null +++ b/scis_invoice.sh @@ -0,0 +1,2 @@ +# Example of how to run python code in this environment +poetry run python etl/scis_invoice.py \ No newline at end of file