Remove stringify from primitive types #12795
Annotations
10 warnings
Build and analyze:
src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L395
Define a constant instead of using this literal 'Optional[' 7 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build and analyze:
src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L116
Make 'WriteRawUrlBuilderBody' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
Build and analyze:
src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L44
Loop should be simplified by calling Select(parameter => parameter.Name)) (https://rules.sonarsource.com/csharp/RSPEC-3267)
|
Build and analyze:
src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L139
Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build and analyze:
src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L168
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build and analyze:
src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L329
Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build and analyze:
src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L378
Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build and analyze:
src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L432
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build and analyze:
src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L504
Make 'WriteDeserializerBodyForUnionModel' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
Build and analyze:
src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L520
Make 'WriteDeserializerBodyForIntersectionModel' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
Loading