Skip to content

Commit bd0c1c7

Browse files
committed
Fix parameter warnings by removing unnecessary inspection suppressor and refining argument validation
1 parent dd34e22 commit bd0c1c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/com/koxudaxi/pydantic/PydanticTypeProvider.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,7 @@ class PydanticTypeProvider : PyTypeProviderBase() {
557557

558558
getClassVariables(current, context, false)
559559
.filterNot { isUntouchedClass(it.findAssignedValue(), config, context) }
560+
.filter { isValidField(it, context, pydanticVersion.isV2, true) }
560561
.mapNotNull {
561562
dynamicModelFieldToParameter(
562563
it,

0 commit comments

Comments
 (0)