@Override
    protected void onSuccess(@NotNull ProblemDescriptor descriptor) {
      PsiElement element = descriptor.getPsiElement();
      if (element == null) return;
      WriteCommandAction.writeCommandAction(element.getProject())
        .withName(PyPsiBundle.message("INSP.package.requirements.add.import"))
        .withGroupId("Add import")
        .run(() -> {
          AddImportHelper.addImportStatement(element.getContainingFile(), myPackageName, myAsName,
                                             AddImportHelper.ImportPriority.THIRD_PARTY, element);
        });
    }
@Override
    protected void onSuccess(@NotNull ProblemDescriptor descriptor)