-
Notifications
You must be signed in to change notification settings - Fork 30
fix: calling the bentoml's track() with incorrect CliEvent #176
Conversation
# These are internal apis. We will need to make sure update these when BentoML changes. | ||
from bentoml._internal.utils.analytics.schemas import EventMeta |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @ssheng another point we need to consider when discussing about API exposure post 1.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a bentoml_util
project will be needed for common libraries within our projects.
Codecov Report
@@ Coverage Diff @@
## main #176 +/- ##
==========================================
- Coverage 60.27% 59.29% -0.98%
==========================================
Files 24 24
Lines 1110 1113 +3
==========================================
- Hits 669 660 -9
- Misses 441 453 +12
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
initial readthrough lgtm.
Description
Curently bentoctl CliEvent is not defined with attrs and hence does not get serialized completely
when calling
track()
function in bentoml.closes: