Skip to content

Conversation

@areese
Copy link
Contributor

@areese areese commented Jul 8, 2019

If --debug is used or if DATABRICKS_DEBUGGING is set in the environment the entire contents of the http requests will be printed to stdout.

Depends on #244

@areese areese force-pushed the oss_patch_add_debug_flag branch from 834b586 to 6ad0646 Compare July 8, 2019 16:13
@codecov-io
Copy link

codecov-io commented Jul 8, 2019

Codecov Report

Merging #248 into master will increase coverage by 0.07%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #248      +/-   ##
==========================================
+ Coverage   82.87%   82.95%   +0.07%     
==========================================
  Files          31       31              
  Lines        2038     2047       +9     
==========================================
+ Hits         1689     1698       +9     
  Misses        349      349
Impacted Files Coverage Δ
databricks_cli/click_types.py 94.2% <100%> (+0.86%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a54a7bf...ba77943. Read the comment docs.

areese added 5 commits July 11, 2019 07:48
    Add a --stdin option to configure, so that the password will always be read from stdin instead of stored in a file.
    If --debug is used or if DATABRICKS_DEBUGGING is set in the environment the entire contents of the http requests will be printed to stdout.
@areese areese force-pushed the oss_patch_add_debug_flag branch from 470b0bc to 9834e6d Compare July 11, 2019 14:49
Move all debug logic into ContextObject.set_debug which is called when --debug is sent to any command
@areese
Copy link
Contributor Author

areese commented Jul 11, 2019

@andrewmchen Updated, using the --debug flag and ContextObject made the code a lot cleaner.

@andrewmchen andrewmchen merged commit f4ab076 into databricks:master Jul 16, 2019
@areese areese deleted the oss_patch_add_debug_flag branch July 16, 2019 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants