Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: swapped _R_co and _P to prevent type error. (Lightning-AI#20508)
When loading a pytorch-lightning model from MLFlow, I get `TypeError: Type parameter +_R_co without a default follows type parameter with a default`. This happens whenever doing `import pytorch_lightning as pl` which is done by packages like MLFlow. Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Luca Antiga <luca.antiga@gmail.com>
- Loading branch information