-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/sc 245546 add multiple paths write #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Adding batch endpoint
Feature/batch write af
|
Tested with different sizes of streak and batch buffer
|
Co-authored-by: Jane Bellaiche <[email protected]>
| } | ||
| # mark in self.responses that status of this write depends on result of streak X | ||
| if self.current_webid is None: | ||
| logger.info("webid now is {}".format(webid)) |
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.
format a lil bit
also, do we want to show every webid?
| logger.info("webid now is {}".format(webid)) | |
| logger.info("webid : {}".format(webid)) |
| } | ||
| ) | ||
| self.row_number += 1 | ||
| logger.info("Pushed in buffer, now {}".format(len(self.streak_buffer))) |
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.
Could improve this log, it's not very clear what is after "now"
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.
LGTM 👍 Some logs are, I think, some rests of the helpers used to debug. Let's make sure the logs are clear and not too much redondant before merging the PR. Maybe, every X items in the buffer should be logged. Or just at the beginning and the end of the buffer. I let you find the best depending on what's needed for the client in term of log details and clarity
Story details: https://app.shortcut.com/dataiku/story/245546