Skip to content

Commit 8000e36

Browse files
committed
Fix missing deepcopy import for event stream operations
1 parent cb012c0 commit 8000e36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

codegen/core/src/main/java/software/amazon/smithy/python/codegen/ClientGenerator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ raise ExpectationNotMetError("protocol and transport MUST be set on the config t
221221

222222
private void generateEventStreamOperation(PythonWriter writer, OperationShape operation) {
223223
writer.pushState(new OperationSection(service, operation));
224+
writer.addStdlibImport("copy", "deepcopy");
224225
writer.addDependency(SmithyPythonDependency.SMITHY_CORE);
225226
writer.addDependency(SmithyPythonDependency.SMITHY_AWS_CORE.withOptionalDependencies("eventstream"));
226227
var operationSymbol = symbolProvider.toSymbol(operation);

0 commit comments

Comments
 (0)