From a45c5908f01b56aa5d4bc29a19e70443356eb350 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Fri, 14 May 2021 09:53:19 -0700 Subject: [PATCH] Explain main_log_context *args. --- voussoirkit/operatornotify.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/voussoirkit/operatornotify.py b/voussoirkit/operatornotify.py index 2d1311f..c71441e 100644 --- a/voussoirkit/operatornotify.py +++ b/voussoirkit/operatornotify.py @@ -178,6 +178,9 @@ def main_log_context(argv, subject, *args, **kwargs): that kills your main function. 7. Results are sent at the end of runtime. + Additional *args, **kwargs go to LogHandler init, so you can + pass notify_every_line, etc. + Returns (context, argv) where argv can go into your argparse and context can wrap your main call. '''