Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -197,4 +197,4 @@ public void append(PythonWriter pythonWriter, UnionMemberSection section) {
});
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ private void writeSharedOperationInit(PythonWriter writer, OperationShape operat

private void generateEventStreamOperation(PythonWriter writer, OperationShape operation) {
writer.pushState();
writer.addDependency(SmithyPythonDependency.SMITHY_EVENT_STREAM);
writer.addDependency(SmithyPythonDependency.SMITHY_CORE);
var operationSymbol = symbolProvider.toSymbol(operation);
writer.putContext("operation", operationSymbol);
var operationMethodSymbol = operationSymbol.expectProperty(OPERATION_METHOD);
Expand Down Expand Up @@ -963,7 +963,7 @@ raise NotImplementedError()
writer.consumer(w -> writeSharedOperationInit(w, operation, input)),
outputStreamSymbol.expectProperty(SymbolProperties.DESERIALIZER));
} else {
writer.addImport("smithy_event_stream.aio.interfaces", "InputEventStream");
writer.addImport("smithy_core.aio.eventstream", "InputEventStream");
writer.write("""
async def ${operationName:L}(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,6 @@ public final class SmithyPythonDependency {
Type.DEPENDENCY,
false);

/**
* Core interfaces for event streams.
*/
public static final PythonDependency SMITHY_EVENT_STREAM = new PythonDependency(
"smithy_event_stream",
"==0.0.1",
Type.DEPENDENCY,
false);

/**
* EventStream implementations for application/vnd.amazon.eventstream.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ protected void writeDefaultHeaders(GenerationContext context, PythonWriter write
}
}


@Override
protected void serializePayloadBody(
GenerationContext context,
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ members = ["packages/*"]

[tool.uv.sources]
smithy_core = { workspace = true }
smithy_event_stream = { workspace = true }
smithy_http = { workspace = true }
smithy_json = { workspace = true }
smithy_aws_core = { workspace = true }
Expand Down