Skip to content

Commit bd3e28a

Browse files
committed
Update codegen to use StandardRetryStrategy as the default mode
1 parent 6dcd3e9 commit bd3e28a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codegen/core/src/main/java/software/amazon/smithy/python/codegen/generators/ConfigGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ public final class ConfigGenerator implements Runnable {
6262
.nullable(false)
6363
.initialize(writer -> {
6464
writer.addDependency(SmithyPythonDependency.SMITHY_CORE);
65-
writer.addImport("smithy_core.retries", "SimpleRetryStrategy");
66-
writer.write("self.retry_strategy = retry_strategy or SimpleRetryStrategy()");
65+
writer.addImport("smithy_core.retries", "StandardRetryStrategy");
66+
writer.write("self.retry_strategy = retry_strategy or StandardRetryStrategy()");
6767
})
6868
.build(),
6969
ConfigProperty.builder()

0 commit comments

Comments
 (0)