forked from dagster-io/dagster
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cli-refactor] Type and validate workspace_opts at entry point (dagst…
…er-io#27540) ## Summary & Motivation dagster-io#27501 added typing and validation of args for all CLI entry points that accept a "python pointer" (i.e. pointer to a single code location). This PR continues that theme for all commands that accept a workspace specification. All commands that operate on a workspace now immediately parse passed workspace-specifyng options into the new typed `WorkspaceOpts` object. All these commands have also had their signatures cleaned up. Many of the helper methods used within these commands (which previously operated on untyped bags of "kwargs") have also been refactored. ## How I Tested These Changes Existing test suite (with some refactors to handle new `WorkspaceOpts`).
- Loading branch information
Showing
26 changed files
with
1,784 additions
and
1,480 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.