Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Opt-in to uploading profiles from why.log() (#1571)
## Description Separates the notion of authentication mode (authenticated, anonymous, local) from whether or not `why.log()` should automatically upload profiles. ## Changes - Makes `allow_local` default to `True` - Adds `upload_on_log` configuration parameter orthogonal to session type (aka authentication mode) - Prompts for `upload_on_log` in interactive sessions - `WhyLabsWriter::write()` will warn about possible redundant uploads if called in a session with `update_on_log` enabled <!-- Reference related commits, issues and pull requests. Type `#` and select from the list. --> Closes whlabs/whylogs#1570 - [ ] I have reviewed the [Guidelines for Contributing](CONTRIBUTING.md) and the [Code of Conduct](CODE_OF_CONDUCT.md).
- Loading branch information