From 81c218ffcde0ec8b50d69427dfdfe24d927ea821 Mon Sep 17 00:00:00 2001 From: Praneeth Bedapudi Date: Wed, 13 Dec 2023 12:30:08 +0530 Subject: [PATCH] update Signed-off-by: Praneeth Bedapudi --- smartdash/setup.py | 2 +- smartlog/README.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/smartdash/setup.py b/smartdash/setup.py index f60e966..397d500 100644 --- a/smartdash/setup.py +++ b/smartdash/setup.py @@ -18,7 +18,7 @@ EMAIL = "praneeth@bpraneeth.com" AUTHOR = "BEDAPUDI PRANEETH" REQUIRES_PYTHON = ">=3.6.0" -VERSION = "0.0.1.dev21" +VERSION = "0.0.1.dev22" # What packages are required for this module to be executed? REQUIRED = ["requests", "liteindex", "streamlit", "plotly", "gevent", "falcon", "gunicorn"] diff --git a/smartlog/README.md b/smartlog/README.md index 8905935..5c6021c 100644 --- a/smartlog/README.md +++ b/smartlog/README.md @@ -4,7 +4,7 @@ ```python from smartlogger import SmartLogger -logger = SmartLogger("examplePipelineName", save_to_dir="OPTIONAL_SAVE_DIR, defaults to ./") +logger = SmartLogger("examplePipelineName", dir="OPTIONAL_SAVE_DIR, defaults to ./", log_to_console=False (defaults to False)) stage = logger.Stage(unique_id, stage_name, tags=optional_list_of_tags) # code block you want to log and time, eg: model inference/ db call/ pre/post processing code @@ -12,6 +12,8 @@ stage = logger.Stage(unique_id, stage_name, tags=optional_list_of_tags) # depending on whether it succeeded or not stage.success() stage.failed() + +stage.key_value(string_key, any_value, name=None default None, tags=[] default []) ``` ```bash