Why the invalid type for progress_reporter of ray.train.RunConfig?

The type hint for progress_reporter parameter of ray.train.RunConfig is not valid, see ray/air/config.py#L652-L654.

Some time ago the type hint was correct, until it was changed in this commit. Why is this change needed?

I ask because with correct types, we are able to automatically create highly configurable CLIs from the source code using jsonargparse. Also having correct types is nice when working in an IDE.

For reference see jsonargparse#609 comment

It seems related to the ci pipeline. Can you file an issue on the ray github project?

I am not being allowed to post links here. I commented in the pull request 47138 where this change was made. And also created pull request 48439 with a proposed fix.

Thanks for your contribution. Taking a look.