PY-86493 support pyrefly as a type provider

GitOrigin-RevId: 81b44ede0d3602340fb99deb0013f29befcf92b8
This commit is contained in:
Andrey Vokin
2025-12-25 14:03:42 +00:00
committed by intellij-monorepo-bot
parent 7934b877dd
commit b1c85798c8
@@ -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<PyType?>?
companion object {