diff --git a/codegen/smithy-dafny-codegen-modules/smithy-python/codegen/smithy-python-codegen/src/main/java/software/amazon/smithy/python/codegen/DirectedPythonCodegen.java b/codegen/smithy-dafny-codegen-modules/smithy-python/codegen/smithy-python-codegen/src/main/java/software/amazon/smithy/python/codegen/DirectedPythonCodegen.java index 9592023fa..c415e0a6f 100644 --- a/codegen/smithy-dafny-codegen-modules/smithy-python/codegen/smithy-python-codegen/src/main/java/software/amazon/smithy/python/codegen/DirectedPythonCodegen.java +++ b/codegen/smithy-dafny-codegen-modules/smithy-python/codegen/smithy-python-codegen/src/main/java/software/amazon/smithy/python/codegen/DirectedPythonCodegen.java @@ -338,6 +338,7 @@ public void customizeAfterIntegrations(CustomizeDirective { writer.writeDocs(() -> { writer.write("Creates a $L from a dictionary.\n", shapeName); - writer.write( - writer.formatDocs( - """ - The dictionary is expected to use the modeled shape names rather \ - than the parameter names as keys to be mostly compatible with boto3.""" - ) - ); }); if (shape.members().isEmpty() && !isError) { @@ -523,13 +516,6 @@ protected void writeAsDict(boolean isError) { "Converts the $L to a dictionary.\n", symbolProvider.toSymbol(shape).getName() ); - writer.write( - writer.formatDocs( - """ - The dictionary uses the modeled shape names rather than the parameter names \ - as keys to be mostly compatible with boto3.""" - ) - ); }); // If there aren't any optional members, it's best to return immediately.