databricks-cli icon indicating copy to clipboard operation
databricks-cli copied to clipboard

Add expand tasks flag to runs list command

Open nordp opened this issue 4 years ago • 1 comments

Adds support for --expand-tasks and --all options in the databricks runs list command.

From the Jobs API 2.1 docs:

expand_tasks: boolean (Default: false) Whether to include task and cluster details in the response.

The --all command is available in the databricks jobs list command, so I thought it could be useful for the runs list too.

nordp avatar Feb 28 '22 12:02 nordp

@nordp Ping on this. Do you want to continue this PR or abort it?

pietern avatar Jul 01 '22 11:07 pietern

Codecov Report

Base: 75.81% // Head: 75.79% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (3636cf8) compared to base (fd2ad70). Patch coverage: 78.26% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #436      +/-   ##
==========================================
- Coverage   75.81%   75.79%   -0.02%     
==========================================
  Files          55       55              
  Lines        4924     4942      +18     
==========================================
+ Hits         3733     3746      +13     
- Misses       1191     1196       +5     
Impacted Files Coverage Δ
databricks_cli/jobs/cli.py 96.12% <ø> (ø)
databricks_cli/runs/cli.py 93.18% <77.27%> (-3.31%) :arrow_down:
databricks_cli/runs/api.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov-commenter avatar Jan 04 '23 15:01 codecov-commenter