Skip to content

Conversation

@SeanNaren
Copy link
Contributor

@SeanNaren SeanNaren commented Oct 31, 2020

What does this PR do?

Type checking is broken on master due to a properties type not being inferred properly:

https://github.com/PyTorchLightning/pytorch-lightning/pull/4453/checks?check_run_id=1335530408

Adds explicit cast in the properties file for type checker to work correctly.

PR review

  • Is this pull request ready for review? (if not, please submit in draft mode)

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

@codecov
Copy link

codecov bot commented Oct 31, 2020

Codecov Report

Merging #4457 into master will increase coverage by 0%.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master   #4457   +/-   ##
======================================
  Coverage      93%     93%           
======================================
  Files         113     113           
  Lines        8191    8192    +1     
======================================
+ Hits         7623    7624    +1     
  Misses        568     568           

@SeanNaren SeanNaren changed the title Fix type checker issue with explicit cast of ref_model object [Fix] type checker issue with explicit cast of ref_model object Oct 31, 2020
@SeanNaren SeanNaren self-assigned this Oct 31, 2020
@SeanNaren SeanNaren added this to the 1.0.x milestone Oct 31, 2020
@williamFalcon williamFalcon merged commit 6211fd4 into master Oct 31, 2020
@rohitgr7 rohitgr7 deleted the fix/type-checking branch October 31, 2020 21:16
Borda pushed a commit that referenced this pull request Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants