[fleet] FL-19435 fix usages counter for python

GitOrigin-RevId: f34ee343fd925945934448f06e0408a4dc7b8b10
This commit is contained in:
Anton Lobov
2023-05-17 11:55:53 +00:00
committed by intellij-monorepo-bot
parent 5bde538acb
commit 83bf8ee8f7
@@ -78,7 +78,7 @@ class PyReferencesCodeVisionProvider : ReferencesCodeVisionProvider() {
return CodeVisionInfo(PyBundle.message("inlay.hints.usages.text", min(result, limit), if (result > limit) 1 else 0),
result, result <= limit)
}
return CodeVisionInfo(PyBundle.message("inlay.hints.usages.with.dynamic.text", result, dynamicResult), dynamicResult)
return CodeVisionInfo(PyBundle.message("inlay.hints.usages.with.dynamic.text", result, dynamicResult), result)
}
override fun getHint(element: PsiElement, file: PsiFile): String? {