Skip to content

Commit

Permalink
allow quotes around primitive types"
Browse files Browse the repository at this point in the history
  • Loading branch information
shemogumbe committed Nov 9, 2024
1 parent b33eb7e commit e8b1132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ internal string GetTypeFactory(bool isVoid, bool isStream, bool isEnum, string r
{
if (isVoid) return string.Empty;
if (isStream || isEnum) return $" \"{returnType}\",";
if (conventions.IsPrimitiveType(returnType)) return $" {returnType},";
if (conventions.IsPrimitiveType(returnType)) return $" \"{returnType}\",";
return $" {returnType},";
}
private string GetSendRequestMethodName(bool isVoid, bool isStream, bool isCollection, string returnType,
Expand Down

0 comments on commit e8b1132

Please sign in to comment.