Skip to content
Merged
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 @@ -131,7 +131,6 @@ private void generateOperation(PythonWriter writer, OperationShape operation) {
var outputSymbol = symbolProvider.toSymbol(output);

writer.pushState(new OperationSection(service, operation));
writer.addStdlibImport("copy", "deepcopy");
writer.putContext("input", inputSymbol);
writer.putContext("output", outputSymbol);
writer.putContext("plugin", pluginSymbol);
Expand Down Expand Up @@ -189,6 +188,7 @@ private void writeSharedOperationInit(PythonWriter writer, OperationShape operat
writer.addImport("smithy_core.types", "TypedProperties");
writer.addImport("smithy_core.aio.client", "RequestPipeline");
writer.addImport("smithy_core.exceptions", "ExpectationNotMetError");
writer.addStdlibImport("copy", "deepcopy");

writer.write("""
operation_plugins: list[Plugin] = [
Expand Down
Loading