diff --git a/python/python-psi-api/src/com/jetbrains/python/psi/types/TypeEvalExternalTypeProvider.kt b/python/python-psi-api/src/com/jetbrains/python/psi/types/TypeEvalExternalTypeProvider.kt index b46fc04f625c..5122eea7cf80 100644 --- a/python/python-psi-api/src/com/jetbrains/python/psi/types/TypeEvalExternalTypeProvider.kt +++ b/python/python-psi-api/src/com/jetbrains/python/psi/types/TypeEvalExternalTypeProvider.kt @@ -11,6 +11,8 @@ import com.jetbrains.python.psi.PyTypedElement * Implementations may return `null` if they cannot provide a type for the given element. */ interface TypeEvalExternalTypeProvider { + fun isAvailable(): Boolean + fun provideType(element: PyTypedElement, context: TypeEvalContext): Ref? companion object {