-
Notifications
You must be signed in to change notification settings - Fork 21
Pure python request pipeline #429
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
base: develop
Are you sure you want to change the base?
Changes from all commits
2cacaf3
a07082b
6df2d87
f9d6bdb
1c65e4b
e477381
754ed2d
618d663
58e2192
92a3056
7e34bde
fdf7ee2
2dce401
038ae87
ac9c6dd
63b71a7
0a24ac4
924e169
b011eb8
e409916
423dc9e
d375432
e831bdf
c14a0dd
16f4b32
3a2dff9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ | |
import software.amazon.smithy.model.shapes.StructureShape; | ||
import software.amazon.smithy.model.shapes.TimestampShape; | ||
import software.amazon.smithy.model.shapes.UnionShape; | ||
import software.amazon.smithy.model.traits.StreamingTrait; | ||
import software.amazon.smithy.python.codegen.GenerationContext; | ||
import software.amazon.smithy.python.codegen.SymbolProperties; | ||
import software.amazon.smithy.python.codegen.writer.PythonWriter; | ||
|
@@ -100,7 +101,11 @@ private void writeSchema() { | |
|
||
@Override | ||
public Void blobShape(BlobShape shape) { | ||
writeDeserializer(shape); | ||
if (shape.hasTrait(StreamingTrait.class)) { | ||
writeDeserializer("data_stream"); | ||
} else { | ||
writeDeserializer(shape); | ||
} | ||
Comment on lines
+104
to
+108
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's unique with the data_stream here that shape isn't accounting for? Just that it's an unknown length/shape? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
return null; | ||
} | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.