-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dagster-ssh] Update to Pythonic resources #15180
Conversation
Current dependencies on/for this PR: This stack of pull requests is managed by Graphite. |
f29ff8c
to
7051ff8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple small qs, but looks good! TY for doing this so quickly!
args = init_context.resource_config | ||
args = merge_dicts(init_context.resource_config, {"logger": init_context.log}) | ||
return SSHResource(**args) | ||
return SSHResource.from_resource_context(init_context) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the config for the function resource different from the ConfigurableResource so we cant do SSHResource.to_config_schema()
bump on this PR! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
before merge, the SSHResource
should be added to the API docs. And a PR into dagster-website to update the integration code snippet would be great!
@jamiedemaria @benpankow anything I can do to help get this finished? We're hoping to use the new pythonic resource soon |
7051ff8
to
54ed8ae
Compare
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit 54ed8ae. |
Deploy preview for dagit-storybook ready! ✅ Preview Built with commit 54ed8ae. |
Deploy preview for dagster-university ready! ✅ Preview Built with commit 54ed8ae. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Summary
Updates the
SSHResource
to be aConfigurableResource
.Resolves #15108.
Test Plan
Existing unit tests. New unit test param which uses the Pythonic resource.