-
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-aws] delete dummy Pipes classes #23441
[dagster-aws] delete dummy Pipes classes #23441
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @danielgafni and the rest of your teammates on Graphite |
Curious to hear what @cmpadden thinks, but I think these wrapper classes actually obscure what is actually happening. If we imagine the implementations diverging more, that is another thing. But I think we should be explicit that we are fetching logs from CloudWatch or injecting context via S3 in a standardized way in these cases. |
94be632
to
14cb174
Compare
Deploy preview for dagster-docs ready! Preview available at https://dagster-docs-kdodoyv9t-elementl.vercel.app Direct link to changed pages: |
dc0da1c
to
cf82b96
Compare
I'm in agreement -- I don't see the benefit of the wrapper classes in their current form. It's more clear to have the full context of where logs are being fetched without the added layer of abstraction. |
cf82b96
to
6021a9f
Compare
No idea on your graphite issue. Were these public or in docs? Do we need to go through a deprecation cycle? |
6021a9f
to
89ec8ce
Compare
14cb174
to
679b34c
Compare
They weren't. Also, the Glue client is marked as Experimental. |
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.
Great!
89ec8ce
to
3cf6d49
Compare
679b34c
to
03e7113
Compare
3cf6d49
to
af7fce7
Compare
03e7113
to
c525f3d
Compare
af7fce7
to
afe07d1
Compare
afe07d1
to
b9a5c95
Compare
c525f3d
to
3a2f693
Compare
## Summary & Motivation Deleting dummy Pipes classes from AWS Pipes. These classes didn't provide any functionality and their introduction was questionable from the start. Context: - #23353 (comment) - #22968 I decided to keep `PipesGlueLambdaEventContextInjector`, because unlike the the other classes, it's actually used for a unique purpose: injecting variables into Lambda event input (it might be a bit confusing because it inherits from `PipesEnvContextInjector` but doesn't actually do anything with environment variables). @schrockn let me know if you think if it makes sense ## How I Tested These Changes Nothing was really using these classes
Summary & Motivation
Deleting dummy Pipes classes from AWS Pipes. These classes didn't provide any functionality and their introduction was questionable from the start.
Context:
I decided to keep
PipesGlueLambdaEventContextInjector
, because unlike the the other classes, it's actually used for a unique purpose: injecting variables into Lambda event input (it might be a bit confusing because it inherits fromPipesEnvContextInjector
but doesn't actually do anything with environment variables).@schrockn let me know if you think if it makes sense
How I Tested These Changes
Nothing was really using these classes