diff --git a/.basedpyright/baseline.json b/.basedpyright/baseline.json index 7a492c76f4d..53771751cf3 100644 --- a/.basedpyright/baseline.json +++ b/.basedpyright/baseline.json @@ -611256,6 +611256,3972 @@ } } ], + "./litellm/proxy/guardrails/guardrail_hooks/cisco_ai_defense/__init__.py": [ + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 21, + "endColumn": 34, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 24, + "endColumn": 9, + "lineCount": 3 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 21, + "endColumn": 9, + "lineCount": 3 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 22, + "endColumn": 9, + "lineCount": 3 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 31, + "endColumn": 9, + "lineCount": 3 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 36, + "endColumn": 9, + "lineCount": 3 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 30, + "endColumn": 9, + "lineCount": 3 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 25, + "endColumn": 9, + "lineCount": 3 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 26, + "endColumn": 9, + "lineCount": 3 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 26, + "endColumn": 9, + "lineCount": 3 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 16, + "endColumn": 79, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 4, + "endColumn": 57, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 4, + "endColumn": 65, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 4, + "endColumn": 23, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 24, + "endColumn": 38, + "lineCount": 1 + } + }, + { + "code": "reportMissingParameterType", + "range": { + "startColumn": 24, + "endColumn": 38, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 40, + "endColumn": 55, + "lineCount": 1 + } + }, + { + "code": "reportMissingParameterType", + "range": { + "startColumn": 40, + "endColumn": 55, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 57, + "endColumn": 71, + "lineCount": 1 + } + }, + { + "code": "reportMissingParameterType", + "range": { + "startColumn": 57, + "endColumn": 71, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 23, + "endColumn": 54, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 40, + "endColumn": 55, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 32, + "endColumn": 47, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 49, + "endColumn": 63, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 25, + "endColumn": 39, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 19, + "endColumn": 33, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 35, + "endColumn": 49, + "lineCount": 1 + } + } + ], + "./litellm/proxy/guardrails/guardrail_hooks/cisco_ai_defense/cisco_ai_defense.py": [ + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 4, + "endColumn": 29, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 4, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 4, + "endColumn": 46, + "lineCount": 1 + } + }, + { + "code": "reportPrivateUsage", + "range": { + "startColumn": 34, + "endColumn": 57, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 8, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 14, + "endColumn": 33, + "lineCount": 1 + } + }, + { + "code": "reportIncompatibleMethodOverride", + "range": { + "startColumn": 14, + "endColumn": 33, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 12, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 14, + "endColumn": 18, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 40, + "endColumn": 44, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 19, + "endColumn": 23, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 11, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 19, + "endColumn": 23, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 18, + "endColumn": 43, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 23, + "endColumn": 66, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 23, + "endColumn": 27, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 18, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 15, + "endColumn": 19, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 14, + "endColumn": 35, + "lineCount": 1 + } + }, + { + "code": "reportIncompatibleMethodOverride", + "range": { + "startColumn": 14, + "endColumn": 35, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 12, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 14, + "endColumn": 18, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 40, + "endColumn": 44, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 19, + "endColumn": 23, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 11, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 19, + "endColumn": 23, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 18, + "endColumn": 43, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 23, + "endColumn": 66, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 23, + "endColumn": 27, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 18, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 15, + "endColumn": 19, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 12, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 14, + "endColumn": 18, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 12, + "endColumn": 37, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 27, + "endColumn": 70, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 14, + "endColumn": 32, + "lineCount": 1 + } + }, + { + "code": "reportIncompatibleMethodOverride", + "range": { + "startColumn": 14, + "endColumn": 53, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 22, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 33, + "endColumn": 53, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 12, + "endColumn": 37, + "lineCount": 1 + } + }, + { + "code": "reportUnnecessaryIsInstance", + "range": { + "startColumn": 63, + "endColumn": 82, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 27, + "endColumn": 70, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 18, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnnecessaryIsInstance", + "range": { + "startColumn": 67, + "endColumn": 86, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 17, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 19, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 17, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 32, + "endColumn": 33, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 20, + "endColumn": 22, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 60, + "endColumn": 62, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 30, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 54, + "endColumn": 57, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 19, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 28, + "endColumn": 29, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 35, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 18, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 21, + "endColumn": 67, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 23, + "endColumn": 45, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 24, + "endColumn": 47, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 22, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 16, + "endColumn": 17, + "lineCount": 7 + } + }, + { + "code": "reportUnnecessaryIsInstance", + "range": { + "startColumn": 23, + "endColumn": 45, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 17, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 20, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 18, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 21, + "endColumn": 48, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 17, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 18, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 12, + "endColumn": 30, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 19, + "endColumn": 29, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 12, + "endColumn": 32, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 19, + "endColumn": 31, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 22, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 18, + "endColumn": 42, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 19, + "endColumn": 41, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 15, + "endColumn": 40, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 22, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 24, + "endColumn": 44, + "lineCount": 1 + } + }, + { + "code": "reportUnnecessaryComparison", + "range": { + "startColumn": 54, + "endColumn": 78, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 22, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 12, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 15, + "endColumn": 31, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 35, + "endColumn": 39, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 23, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 26, + "endColumn": 42, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 52, + "endColumn": 67, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 27, + "endColumn": 43, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 21, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 24, + "endColumn": 44, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 44, + "endColumn": 49, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 20, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 21, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 24, + "endColumn": 32, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 27, + "endColumn": 35, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 50, + "endColumn": 62, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 19, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 22, + "endColumn": 30, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 29, + "endColumn": 37, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 22, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 19, + "endColumn": 41, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 8, + "endColumn": 71, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 8, + "endColumn": 38, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 8, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 23, + "endColumn": 44, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 22, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 22, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 25, + "endColumn": 48, + "lineCount": 1 + } + }, + { + "code": "reportUnnecessaryIsInstance", + "range": { + "startColumn": 19, + "endColumn": 41, + "lineCount": 1 + } + }, + { + "code": "reportUnnecessaryIsInstance", + "range": { + "startColumn": 15, + "endColumn": 49, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 53, + "endColumn": 58, + "lineCount": 1 + } + }, + { + "code": "reportUnnecessaryIsInstance", + "range": { + "startColumn": 15, + "endColumn": 49, + "lineCount": 1 + } + }, + { + "code": "reportReturnType", + "range": { + "startColumn": 23, + "endColumn": 28, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 21, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 24, + "endColumn": 34, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 44, + "endColumn": 49, + "lineCount": 1 + } + }, + { + "code": "reportReturnType", + "range": { + "startColumn": 27, + "endColumn": 32, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 27, + "endColumn": 32, + "lineCount": 1 + } + }, + { + "code": "reportUnnecessaryIsInstance", + "range": { + "startColumn": 15, + "endColumn": 49, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 19, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 17, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 20, + "endColumn": 30, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 23, + "endColumn": 28, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 21, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 24, + "endColumn": 34, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 34, + "endColumn": 43, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 34, + "endColumn": 35, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 20, + "endColumn": 28, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 31, + "endColumn": 42, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 38, + "endColumn": 39, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 22, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 19, + "endColumn": 41, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 19, + "endColumn": 42, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 22, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 18, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 21, + "endColumn": 37, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 26, + "endColumn": 42, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 25, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 16, + "endColumn": 32, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 16, + "endColumn": 32, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 16, + "endColumn": 54, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 17, + "endColumn": 33, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 27, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 28, + "endColumn": 31, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 33, + "endColumn": 38, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 23, + "endColumn": 34, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 22, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 34, + "endColumn": 68, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 27, + "endColumn": 43, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 36, + "endColumn": 71, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 20, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 20, + "endColumn": 45, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 33, + "endColumn": 70, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 23, + "endColumn": 39, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 20, + "endColumn": 27, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 40, + "endColumn": 48, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 28, + "endColumn": 39, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 39, + "endColumn": 50, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 22, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnnecessaryIsInstance", + "range": { + "startColumn": 19, + "endColumn": 44, + "lineCount": 1 + } + }, + { + "code": "reportUnnecessaryIsInstance", + "range": { + "startColumn": 16, + "endColumn": 41, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 46, + "endColumn": 58, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 60, + "endColumn": 64, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 16, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 19, + "endColumn": 35, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 19, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 56, + "endColumn": 63, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 47, + "endColumn": 54, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 19, + "endColumn": 55, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 19, + "endColumn": 54, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 19, + "endColumn": 52, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 15, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 17, + "endColumn": 21, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 22, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 22, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 15, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 17, + "endColumn": 21, + "lineCount": 1 + } + }, + { + "code": "reportUnnecessaryIsInstance", + "range": { + "startColumn": 23, + "endColumn": 48, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 18, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 23, + "endColumn": 29, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 18, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 12, + "endColumn": 23, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 14, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 14, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 16, + "endColumn": 22, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 29, + "endColumn": 31, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 39, + "endColumn": 41, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 21, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 12, + "endColumn": 23, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 35, + "endColumn": 48, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 22, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnnecessaryIsInstance", + "range": { + "startColumn": 19, + "endColumn": 38, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 16, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 19, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 30, + "endColumn": 34, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 16, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 20, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 27, + "endColumn": 35, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 40, + "endColumn": 44, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 40, + "endColumn": 44, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 16, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 16, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 29, + "endColumn": 33, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 44, + "endColumn": 48, + "lineCount": 1 + } + }, + { + "code": "reportUnnecessaryIsInstance", + "range": { + "startColumn": 19, + "endColumn": 38, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 67, + "endColumn": 68, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 21, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 29, + "endColumn": 43, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 33, + "endColumn": 42, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 51, + "endColumn": 59, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 23, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 26, + "endColumn": 34, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 27, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 20, + "endColumn": 31, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 39, + "endColumn": 46, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 27, + "endColumn": 31, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 45, + "endColumn": 56, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 54, + "endColumn": 62, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 35, + "endColumn": 44, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 23, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 31, + "endColumn": 45, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 15, + "endColumn": 19, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 33, + "endColumn": 48, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 42, + "endColumn": 50, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 23, + "endColumn": 38, + "lineCount": 1 + } + }, + { + "code": "reportUnnecessaryIsInstance", + "range": { + "startColumn": 19, + "endColumn": 41, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 27, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 31, + "endColumn": 35, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 12, + "endColumn": 75, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 12, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 14, + "endColumn": 18, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 12, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 12, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 23, + "endColumn": 31, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 19, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 16, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 19, + "endColumn": 30, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 16, + "endColumn": 27, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 16, + "endColumn": 38, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 77, + "endColumn": 84, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 65, + "endColumn": 73, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 65, + "endColumn": 82, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 28, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 16, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 16, + "endColumn": 34, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 20, + "endColumn": 73, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 38, + "endColumn": 42, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 44, + "endColumn": 48, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 53, + "endColumn": 61, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 53, + "endColumn": 66, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 57, + "endColumn": 61, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 57, + "endColumn": 61, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 61, + "endColumn": 65, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 23, + "endColumn": 31, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 74, + "endColumn": 80, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 66, + "endColumn": 77, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 25, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 28, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 77, + "endColumn": 85, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 37, + "endColumn": 49, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 22, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 25, + "endColumn": 33, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 24, + "endColumn": 30, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 20, + "endColumn": 25, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 28, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 79, + "endColumn": 84, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 22, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 22, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 31, + "endColumn": 37, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 16, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 15, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 16, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportUnknownLambdaType", + "range": { + "startColumn": 29, + "endColumn": 30, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 40, + "endColumn": 44, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 46, + "endColumn": 47, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 20, + "endColumn": 28, + "lineCount": 1 + } + }, + { + "code": "reportUnknownLambdaType", + "range": { + "startColumn": 33, + "endColumn": 34, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 44, + "endColumn": 48, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 50, + "endColumn": 51, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 20, + "endColumn": 25, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 16, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 18, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 19, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 19, + "endColumn": 31, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 15, + "endColumn": 55, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 18, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 12, + "endColumn": 23, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 21, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 52, + "endColumn": 61, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 21, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 12, + "endColumn": 23, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 56, + "endColumn": 69, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 16, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 12, + "endColumn": 25, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 72, + "endColumn": 80, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 12, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 12, + "endColumn": 29, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 19, + "endColumn": 23, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 45, + "endColumn": 65, + "lineCount": 1 + } + } + ], + "./litellm/proxy/guardrails/guardrail_hooks/cisco_ai_defense/cisco_ai_defense_mcp.py": [ + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 4, + "endColumn": 46, + "lineCount": 1 + } + }, + { + "code": "reportPrivateUsage", + "range": { + "startColumn": 34, + "endColumn": 46, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 20, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportCallIssue", + "range": { + "startColumn": 19, + "endColumn": 54, + "lineCount": 1 + } + }, + { + "code": "reportReturnType", + "range": { + "startColumn": 19, + "endColumn": 54, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 24, + "endColumn": 53, + "lineCount": 1 + } + }, + { + "code": "reportCallIssue", + "range": { + "startColumn": 19, + "endColumn": 37, + "lineCount": 1 + } + }, + { + "code": "reportReturnType", + "range": { + "startColumn": 19, + "endColumn": 37, + "lineCount": 1 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 24, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 18, + "endColumn": 22, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 24, + "endColumn": 28, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 12, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 35, + "endColumn": 39, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 12, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 26, + "endColumn": 30, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 14, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 16, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 12, + "endColumn": 37, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 15, + "endColumn": 40, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 25, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 28, + "endColumn": 38, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 18, + "endColumn": 44, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 36, + "endColumn": 17, + "lineCount": 5 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 48, + "endColumn": 65, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 19, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 18, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 21, + "endColumn": 37, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 13, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 12, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 12, + "endColumn": 21, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 25, + "endColumn": 30, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 17, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 20, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 15, + "endColumn": 59, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 12, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 14, + "endColumn": 18, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 18, + "endColumn": 49, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 19, + "endColumn": 41, + "lineCount": 1 + } + }, + { + "code": "reportPrivateUsage", + "range": { + "startColumn": 38, + "endColumn": 50, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 15, + "endColumn": 40, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 22, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 18, + "endColumn": 50, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 19, + "endColumn": 41, + "lineCount": 1 + } + }, + { + "code": "reportPrivateUsage", + "range": { + "startColumn": 38, + "endColumn": 50, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 15, + "endColumn": 40, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 12, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 14, + "endColumn": 18, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 11, + "endColumn": 19, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 23, + "endColumn": 31, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 41, + "endColumn": 49, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 26, + "endColumn": 34, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 26, + "endColumn": 34, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 17, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 12, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 41, + "endColumn": 49, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 66, + "endColumn": 74, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 17, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 20, + "endColumn": 28, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 21, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 24, + "endColumn": 32, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 18, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 22, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 26, + "endColumn": 57, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 22, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 25, + "endColumn": 41, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 64, + "endColumn": 80, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 27, + "endColumn": 37, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 12, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 15, + "endColumn": 27, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 17, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 20, + "endColumn": 32, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 19, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 22, + "endColumn": 34, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 53, + "endColumn": 57, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 49, + "endColumn": 53, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 44, + "endColumn": 48, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 53, + "endColumn": 62, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 49, + "endColumn": 58, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 55, + "endColumn": 66, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 51, + "endColumn": 62, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 15, + "endColumn": 27, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 28, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 26, + "endColumn": 38, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 26, + "endColumn": 38, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 19, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 22, + "endColumn": 34, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 26, + "endColumn": 38, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 32, + "endColumn": 39, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 48, + "endColumn": 56, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 48, + "endColumn": 52, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 20, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 31, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 39, + "endColumn": 47, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 29, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 32, + "endColumn": 51, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 36, + "endColumn": 49, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 58, + "endColumn": 73, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 76, + "endColumn": 84, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 29, + "endColumn": 37, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 71, + "endColumn": 77, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 26, + "endColumn": 34, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 28, + "endColumn": 35, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 44, + "endColumn": 52, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 17, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 16, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 46, + "endColumn": 54, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 29, + "endColumn": 33, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 55, + "endColumn": 59, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 32, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 48, + "endColumn": 52, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 20, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 23, + "endColumn": 27, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 41, + "endColumn": 53, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 21, + "endColumn": 33, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 24, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 18, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 21, + "endColumn": 37, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 18, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 19, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 48, + "endColumn": 52, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 20, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 29, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 32, + "endColumn": 54, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 37, + "endColumn": 49, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 27, + "endColumn": 40, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 19, + "endColumn": 31, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 34, + "endColumn": 43, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 16, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 23, + "endColumn": 33, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 32, + "endColumn": 36, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 20, + "endColumn": 32, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 35, + "endColumn": 46, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 24, + "endColumn": 28, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 31, + "endColumn": 47, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 40, + "endColumn": 44, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 20, + "endColumn": 26, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 29, + "endColumn": 40, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 36, + "endColumn": 42, + "lineCount": 1 + } + } + ], "./litellm/proxy/guardrails/guardrail_hooks/crowdstrike_aidr/__init__.py": [ { "code": "reportUnknownMemberType", @@ -863209,6 +867175,14 @@ "lineCount": 1 } }, + { + "code": "reportGeneralTypeIssues", + "range": { + "startColumn": 6, + "endColumn": 19, + "lineCount": 1 + } + }, { "code": "reportUnknownParameterType", "range": { @@ -863265,78 +867239,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 8, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 27, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 27, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 27, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 27, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 27, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 27, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 27, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 27, - "endColumn": 33, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { diff --git a/litellm/.mypy-baseline.txt b/litellm/.mypy-baseline.txt index 78e1b350a96..75d942b14da 100644 --- a/litellm/.mypy-baseline.txt +++ b/litellm/.mypy-baseline.txt @@ -206,13 +206,6 @@ models/team.py:0: error: Function is missing a type annotation [no-untyped-def] models/team.py:0: error: Function is missing a type annotation [no-untyped-def] models/tag.py:0: error: Function is missing a type annotation [no-untyped-def] models/end_user.py:0: error: Function is missing a type annotation [no-untyped-def] -types/guardrails.py:0: error: Function is missing a type annotation [no-untyped-def] -types/guardrails.py:0: error: Function is missing a type annotation [no-untyped-def] -types/guardrails.py:0: error: Function is missing a type annotation [no-untyped-def] -types/guardrails.py:0: error: Function is missing a type annotation [no-untyped-def] -types/guardrails.py:0: error: Function is missing a type annotation [no-untyped-def] -types/guardrails.py:0: error: Function is missing a type annotation [no-untyped-def] -types/guardrails.py:0: error: Function is missing a type annotation [no-untyped-def] interactions/litellm_responses_transformation/transformation.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] models/user.py:0: error: Function is missing a type annotation [no-untyped-def] integrations/lunary.py:0: error: Function is missing a type annotation [no-untyped-def] @@ -235,6 +228,13 @@ types/proxy/management_endpoints/scim_v2.py:0: error: Function is missing a type proxy/enterprise/litellm_enterprise/enterprise_callbacks/example_logging_api.py:0: error: Function is missing a return type annotation [no-untyped-def] integrations/focus/transformer.py:0: error: Function is missing a type annotation [no-untyped-def] integrations/focus/transformer.py:0: error: Function is missing a type annotation [no-untyped-def] +types/guardrails.py:0: error: Function is missing a type annotation [no-untyped-def] +types/guardrails.py:0: error: Function is missing a type annotation [no-untyped-def] +types/guardrails.py:0: error: Function is missing a type annotation [no-untyped-def] +types/guardrails.py:0: error: Function is missing a type annotation [no-untyped-def] +types/guardrails.py:0: error: Function is missing a type annotation [no-untyped-def] +types/guardrails.py:0: error: Function is missing a type annotation [no-untyped-def] +types/guardrails.py:0: error: Function is missing a type annotation [no-untyped-def] router_utils/router_callbacks/track_deployment_metrics.py:0: error: Function is missing a return type annotation [no-untyped-def] integrations/opentelemetry_utils/gen_ai_semconv.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] integrations/opentelemetry_utils/gen_ai_semconv.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] @@ -4848,59 +4848,6 @@ proxy/guardrails/guardrail_hooks/custom_guardrail.py:0: error: Function is missi proxy/guardrails/guardrail_hooks/custom_guardrail.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/custom_guardrail.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/custom_guardrail.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/qualifire/qualifire.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/prompt_security/prompt_security.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/pillar/pillar.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/pangea/pangea.py:0: error: Function is missing a type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/pangea/pangea.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/pangea/pangea.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/pangea/pangea.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/pangea/pangea.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/pangea/pangea.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/onyx/onyx.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/noma/noma.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/noma/noma.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/noma/noma.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/noma/noma.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/noma/noma.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/model_armor/model_armor.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/model_armor/model_armor.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/model_armor/model_armor.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/model_armor/model_armor.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/mcp_security/mcp_security_guardrail.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/mcp_end_user_permission/mcp_end_user_permission.py:0: error: Function is missing a type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/mcp_end_user_permission/mcp_end_user_permission.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/mcp_end_user_permission/mcp_end_user_permission.py:0: note: Error code "no-untyped-def" not covered by "type: ignore" comment -proxy/guardrails/guardrail_hooks/javelin/javelin.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/ibm_guardrails/ibm_detector.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/ibm_guardrails/ibm_detector.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/ibm_guardrails/ibm_detector.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/ibm_guardrails/ibm_detector.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/ibm_guardrails/ibm_detector.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/hiddenlayer/hiddenlayer.py:0: error: Function is missing a type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/guardrails_ai/guardrails_ai.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/guardrails_ai/guardrails_ai.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/guardrails_ai/guardrails_ai.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/enkryptai/enkryptai.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/enkryptai/enkryptai.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/enkryptai/enkryptai.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/enkryptai/enkryptai.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/enkryptai/enkryptai.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/dynamoai/dynamoai.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/dynamoai/dynamoai.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/dynamoai/dynamoai.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/dynamoai/dynamoai.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/crowdstrike_aidr/crowdstrike_aidr.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/cato_networks/cato_networks.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/cato_networks/cato_networks.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/cato_networks/cato_networks.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/cato_networks/cato_networks.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/aporia_ai/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/akto/akto.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/aim/aim.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/aim/aim.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/aim/aim.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/aim/aim.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] proxy/google_endpoints/agents_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/google_endpoints/agents_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/google_endpoints/agents_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] @@ -4909,10 +4856,6 @@ proxy/google_endpoints/agents_endpoints.py:0: error: Function is missing a retur proxy/google_endpoints/agents_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/example_config_yaml/custom_handler.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] proxy/example_config_yaml/custom_handler.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/example_config_yaml/custom_guardrail.py:0: error: Function is missing a type annotation [no-untyped-def] -proxy/example_config_yaml/custom_guardrail.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/example_config_yaml/custom_guardrail.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/example_config_yaml/custom_guardrail.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] proxy/example_config_yaml/custom_callbacks1.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/example_config_yaml/custom_callbacks1.py:0: note: Use "-> None" if function does not return a value proxy/example_config_yaml/custom_callbacks1.py:0: error: Function is missing a return type annotation [no-untyped-def] @@ -4954,9 +4897,6 @@ proxy/enterprise/litellm_enterprise/proxy/common_utils/check_batch_cost.py:0: er proxy/enterprise/litellm_enterprise/proxy/common_utils/check_batch_cost.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/enterprise/litellm_enterprise/proxy/common_utils/check_batch_cost.py:0: note: Use "-> None" if function does not return a value proxy/enterprise/litellm_enterprise/proxy/auth/route_checks.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/enterprise/litellm_enterprise/enterprise_callbacks/secret_detection.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/enterprise/litellm_enterprise/enterprise_callbacks/secret_detection.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/enterprise/litellm_enterprise/enterprise_callbacks/secret_detection.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/enterprise/litellm_enterprise/enterprise_callbacks/llm_guard.py:0: error: Function is missing a type annotation [no-untyped-def] proxy/enterprise/litellm_enterprise/enterprise_callbacks/llm_guard.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/enterprise/litellm_enterprise/enterprise_callbacks/llm_guard.py:0: error: Function is missing a return type annotation [no-untyped-def] @@ -5002,11 +4942,6 @@ proxy/enterprise/enterprise_hooks/banned_keywords.py:0: error: Function is missi proxy/enterprise/enterprise_hooks/banned_keywords.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/enterprise/enterprise_hooks/banned_keywords.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] proxy/enterprise/enterprise_hooks/banned_keywords.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/enterprise/enterprise_hooks/aporia_ai.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/enterprise/enterprise_hooks/aporia_ai.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/enterprise/enterprise_hooks/aporia_ai.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/enterprise/enterprise_hooks/aporia_ai.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/enterprise/enterprise_hooks/aporia_ai.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/enterprise/enterprise_hooks/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/db/dynamo_db.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/db/dynamo_db.py:0: note: Use "-> None" if function does not return a value @@ -5075,6 +5010,94 @@ llms/anthropic/files/handler.py:0: error: Function is missing a return type anno llms/anthropic/files/handler.py:0: note: Use "-> None" if function does not return a value llms/anthropic/chat/guardrail_translation/handler.py:0: error: Function is missing a return type annotation [no-untyped-def] llms/anthropic/chat/guardrail_translation/handler.py:0: note: Use "-> None" if function does not return a value +integrations/generic_prompt_management/generic_prompt_manager.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/management_endpoints/usage_endpoints/endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/azure/text_moderation.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/enterprise/litellm_enterprise/enterprise_callbacks/send_emails/smtp_email.py:0: error: Function is missing a type annotation [no-untyped-def] +proxy/enterprise/litellm_enterprise/enterprise_callbacks/send_emails/smtp_email.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/enterprise/litellm_enterprise/enterprise_callbacks/send_emails/sendgrid_email.py:0: error: Function is missing a type annotation [no-untyped-def] +proxy/enterprise/litellm_enterprise/enterprise_callbacks/send_emails/sendgrid_email.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/enterprise/litellm_enterprise/enterprise_callbacks/send_emails/resend_email.py:0: error: Function is missing a type annotation [no-untyped-def] +proxy/enterprise/litellm_enterprise/enterprise_callbacks/send_emails/resend_email.py:0: error: Function is missing a return type annotation [no-untyped-def] +a2a_protocol/streaming_iterator.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/enterprise/litellm_enterprise/proxy/enterprise_routes.py:0: error: Function is missing a return type annotation [no-untyped-def] +a2a_protocol/providers/pydantic_ai_agents/config.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +a2a_protocol/providers/bedrock_agentcore/config.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +a2a_protocol/providers/bedrock_agentcore/config.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +a2a_protocol/providers/langflow/config.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +a2a_protocol/providers/langflow/config.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +rag/utils.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/agent_endpoints/a2a_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/agent_endpoints/a2a_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/agent_endpoints/a2a_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/agent_endpoints/a2a_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/agent_endpoints/a2a_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/qualifire/qualifire.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/prompt_security/prompt_security.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/pillar/pillar.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/pangea/pangea.py:0: error: Function is missing a type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/pangea/pangea.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/pangea/pangea.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/pangea/pangea.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/pangea/pangea.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/pangea/pangea.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/onyx/onyx.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/noma/noma.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/noma/noma.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/noma/noma.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/noma/noma.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/noma/noma.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/model_armor/model_armor.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/model_armor/model_armor.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/model_armor/model_armor.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/model_armor/model_armor.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/mcp_security/mcp_security_guardrail.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/mcp_end_user_permission/mcp_end_user_permission.py:0: error: Function is missing a type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/mcp_end_user_permission/mcp_end_user_permission.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/mcp_end_user_permission/mcp_end_user_permission.py:0: note: Error code "no-untyped-def" not covered by "type: ignore" comment +proxy/guardrails/guardrail_hooks/javelin/javelin.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/ibm_guardrails/ibm_detector.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/ibm_guardrails/ibm_detector.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/ibm_guardrails/ibm_detector.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/ibm_guardrails/ibm_detector.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/ibm_guardrails/ibm_detector.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/hiddenlayer/hiddenlayer.py:0: error: Function is missing a type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/guardrails_ai/guardrails_ai.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/guardrails_ai/guardrails_ai.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/guardrails_ai/guardrails_ai.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/enkryptai/enkryptai.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/enkryptai/enkryptai.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/enkryptai/enkryptai.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/enkryptai/enkryptai.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/enkryptai/enkryptai.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/dynamoai/dynamoai.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/dynamoai/dynamoai.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/dynamoai/dynamoai.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/dynamoai/dynamoai.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/crowdstrike_aidr/crowdstrike_aidr.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/cisco_ai_defense/cisco_ai_defense.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/cato_networks/cato_networks.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/cato_networks/cato_networks.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/cato_networks/cato_networks.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/cato_networks/cato_networks.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/aporia_ai/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/akto/akto.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/aim/aim.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/aim/aim.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/aim/aim.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/aim/aim.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/example_config_yaml/custom_guardrail.py:0: error: Function is missing a type annotation [no-untyped-def] +proxy/example_config_yaml/custom_guardrail.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/example_config_yaml/custom_guardrail.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/example_config_yaml/custom_guardrail.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/enterprise/litellm_enterprise/enterprise_callbacks/secret_detection.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/enterprise/litellm_enterprise/enterprise_callbacks/secret_detection.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/enterprise/litellm_enterprise/enterprise_callbacks/secret_detection.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/enterprise/enterprise_hooks/aporia_ai.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/enterprise/enterprise_hooks/aporia_ai.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/enterprise/enterprise_hooks/aporia_ai.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/enterprise/enterprise_hooks/aporia_ai.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/enterprise/enterprise_hooks/aporia_ai.py:0: error: Function is missing a return type annotation [no-untyped-def] integrations/rubrik.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] integrations/rubrik.py:0: error: Function is missing a return type annotation [no-untyped-def] integrations/rubrik.py:0: note: Use "-> None" if function does not return a value @@ -5086,7 +5109,43 @@ integrations/rubrik.py:0: error: Function is missing a return type annotation [ integrations/rubrik.py:0: note: Use "-> None" if function does not return a value integrations/rubrik.py:0: error: Function is missing a return type annotation [no-untyped-def] integrations/rubrik.py:0: note: Use "-> None" if function does not return a value -integrations/generic_prompt_management/generic_prompt_manager.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/generic_guardrail_api/generic_guardrail_api.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/qohash/qohash.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/enterprise/litellm_enterprise/enterprise_callbacks/pagerduty/pagerduty.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/enterprise/litellm_enterprise/enterprise_callbacks/pagerduty/pagerduty.py:0: error: Function is missing a type annotation [no-untyped-def] +proxy/enterprise/litellm_enterprise/enterprise_callbacks/pagerduty/pagerduty.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/enterprise/litellm_enterprise/enterprise_callbacks/pagerduty/pagerduty.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/enterprise/litellm_enterprise/enterprise_callbacks/pagerduty/pagerduty.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/semantic_guard/semantic_guard.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/semantic_guard/semantic_guard.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/semantic_guard/semantic_guard.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/semantic_guard/semantic_guard.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/openai/moderations.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/openai/moderations.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/openai/moderations.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/litellm_content_filter/content_filter.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_hooks/litellm_content_filter/content_filter.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/azure/prompt_shield.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/zscaler_ai_guard/zscaler_ai_guard.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] proxy/guardrails/guardrail_hooks/zscaler_ai_guard/zscaler_ai_guard.py:0: error: Function is missing a type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/zscaler_ai_guard/zscaler_ai_guard.py:0: error: Function is missing a return type annotation [no-untyped-def] @@ -5094,20 +5153,9 @@ proxy/guardrails/guardrail_hooks/zscaler_ai_guard/zscaler_ai_guard.py:0: error: proxy/guardrails/guardrail_hooks/zscaler_ai_guard/zscaler_ai_guard.py:0: error: Function is missing a type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/zscaler_ai_guard/zscaler_ai_guard.py:0: error: Function is missing a type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/zscaler_ai_guard/zscaler_ai_guard.py:0: error: Function is missing a type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/generic_guardrail_api/generic_guardrail_api.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/enterprise/litellm_enterprise/enterprise_callbacks/pagerduty/pagerduty.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/enterprise/litellm_enterprise/enterprise_callbacks/pagerduty/pagerduty.py:0: error: Function is missing a type annotation [no-untyped-def] -proxy/enterprise/litellm_enterprise/enterprise_callbacks/pagerduty/pagerduty.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/enterprise/litellm_enterprise/enterprise_callbacks/pagerduty/pagerduty.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/enterprise/litellm_enterprise/enterprise_callbacks/pagerduty/pagerduty.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/management_endpoints/usage_endpoints/endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/xecguard/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/vigil_guard/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/tool_policy/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/semantic_guard/semantic_guard.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/semantic_guard/semantic_guard.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/semantic_guard/semantic_guard.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/semantic_guard/semantic_guard.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] proxy/guardrails/guardrail_hooks/qualifire/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/promptguard/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/prompt_security/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] @@ -5115,15 +5163,10 @@ proxy/guardrails/guardrail_hooks/pillar/__init__.py:0: error: Function is missin proxy/guardrails/guardrail_hooks/pillar/__init__.py:0: error: Function is missing a type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/pangea/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/ovalix/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/openai/moderations.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/openai/moderations.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/openai/moderations.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/onyx/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/model_armor/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/mcp_security/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/mcp_end_user_permission/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/litellm_content_filter/content_filter.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/litellm_content_filter/content_filter.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/javelin/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/ibm_guardrails/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/hiddenlayer/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] @@ -5131,26 +5174,16 @@ proxy/guardrails/guardrail_hooks/guardrails_ai/__init__.py:0: error: Function is proxy/guardrails/guardrail_hooks/enkryptai/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/dynamoai/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/crowdstrike_aidr/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/cisco_ai_defense/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/cisco_ai_defense/__init__.py:0: error: Function is missing a type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/cato_networks/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/azure/text_moderation.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/azure/prompt_shield.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] proxy/guardrails/guardrail_hooks/akto/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/aim/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/enterprise/litellm_enterprise/enterprise_callbacks/send_emails/smtp_email.py:0: error: Function is missing a type annotation [no-untyped-def] -proxy/enterprise/litellm_enterprise/enterprise_callbacks/send_emails/smtp_email.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/enterprise/litellm_enterprise/enterprise_callbacks/send_emails/sendgrid_email.py:0: error: Function is missing a type annotation [no-untyped-def] -proxy/enterprise/litellm_enterprise/enterprise_callbacks/send_emails/sendgrid_email.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/enterprise/litellm_enterprise/enterprise_callbacks/send_emails/resend_email.py:0: error: Function is missing a type annotation [no-untyped-def] -proxy/enterprise/litellm_enterprise/enterprise_callbacks/send_emails/resend_email.py:0: error: Function is missing a return type annotation [no-untyped-def] -a2a_protocol/streaming_iterator.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/zscaler_ai_guard/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/qohash/qohash.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] proxy/guardrails/guardrail_hooks/generic_guardrail_api/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/qohash/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/semantic_guard/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/openai/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/openai/__init__.py:0: error: Function is missing a type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/noma/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_hooks/noma/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/microsoft_purview/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/litellm_content_filter/guardrail_benchmarks/test_eval.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] proxy/guardrails/guardrail_hooks/litellm_content_filter/guardrail_benchmarks/test_eval.py:0: error: Function is missing a return type annotation [no-untyped-def] @@ -5201,39 +5234,9 @@ proxy/guardrails/guardrail_hooks/litellm_content_filter/guardrail_benchmarks/tes proxy/guardrails/guardrail_hooks/litellm_content_filter/guardrail_benchmarks/test_eval.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/litellm_content_filter/guardrail_benchmarks/test_eval.py:0: error: Function is missing a type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/litellm_content_filter/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/guardrails/guardrail_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/guardrails/guardrail_hooks/azure/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/enterprise/litellm_enterprise/proxy/enterprise_routes.py:0: error: Function is missing a return type annotation [no-untyped-def] -a2a_protocol/providers/pydantic_ai_agents/config.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -a2a_protocol/providers/bedrock_agentcore/config.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -a2a_protocol/providers/bedrock_agentcore/config.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -proxy/guardrails/guardrail_hooks/qohash/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] -a2a_protocol/providers/langflow/config.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -a2a_protocol/providers/langflow/config.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -rag/utils.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/zscaler_ai_guard/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/noma/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] +proxy/guardrails/guardrail_hooks/noma/__init__.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/management_endpoints/policy_endpoints/endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] proxy/management_endpoints/policy_endpoints/endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/agent_endpoints/a2a_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/agent_endpoints/a2a_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/agent_endpoints/a2a_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/agent_endpoints/a2a_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] -proxy/agent_endpoints/a2a_endpoints.py:0: error: Function is missing a return type annotation [no-untyped-def] diff --git a/pyrightconfig.json b/pyrightconfig.json index 4248caad7d3..d23824dd13b 100644 --- a/pyrightconfig.json +++ b/pyrightconfig.json @@ -2,6 +2,7 @@ "include": ["litellm"], "ignore": [], "exclude": ["**/node_modules", "**/__pycache__", "litellm/types/utils.py", "litellm/proxy/_types.py"], + "pythonVersion": "3.12", "typeCheckingMode": "strict", "enableTypeIgnoreComments": false, "reportMissingImports": false,