File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
codegen/aws/core/src/main/java/software/amazon/smithy/python/aws/codegen Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -100,12 +100,13 @@ public void customize(GenerationContext context) {
100100 writer .addDependency (SmithyPythonDependency .SMITHY_HTTP );
101101 writer .addImport ("smithy_core.interfaces.auth" , "AuthOption" , "AuthOptionProtocol" );
102102 writer .addImports ("smithy_core.auth" , Set .of ("AuthOption" , "AuthParams" ));
103+ writer .addImport ("smithy_core.shapes" , "ShapeID" );
103104 writer .pushState ();
104105
105106 writer .write ("""
106107 def $1L(auth_params: AuthParams[Any, Any]) -> AuthOptionProtocol | None:
107108 return AuthOption(
108- scheme_id=$2S,
109+ scheme_id=ShapeID( $2S) ,
109110 identity_properties={}, # type: ignore
110111 signer_properties={} # type: ignore
111112 )
You can’t perform that action at this time.
0 commit comments