-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add componentOp warning for unused configuration (#551)
Addresses #518 Separating the ComponentOp for different runners is not ideal since it would require changing the class names when switching runners. Instead, it's best to return warning logs if a certain configuration is set but not valid for a certain runner (e.g. nodepool for docker runner). This PR modifies the `set_configuration` method of the Compiler to handle this.
- Loading branch information
1 parent
06493c9
commit cfb01c7
Showing
6 changed files
with
175 additions
and
183 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
from .pipeline import ( # noqa | ||
ComponentOp, | ||
Pipeline, | ||
Resources, | ||
VALID_ACCELERATOR_TYPES, | ||
VALID_VERTEX_ACCELERATOR_TYPES, | ||
) |
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.