Commit f4ab076
Add a debugging flag (#248)
* Add a debugging flag
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.
* The password provided to configure shouldn't be echo'd.
Add a --stdin option to configure, so that the password will always be read from stdin instead of stored in a file.
* Fix odd whitespace issue
* Fix test failures caused by missing field
* Fix whitespace error
* Remove old style of setting up debug flag.
Move all debug logic into ContextObject.set_debug which is called when --debug is sent to any command
* Use click.echo instead of print
* Remove excess logging configuration that isn't needed
* Remove extra import1 parent 4adfba9 commit f4ab076
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
107 | 124 | | |
108 | 125 | | |
109 | 126 | | |
| |||
0 commit comments