Skip to content

Improve documentation on Postponed Annotations #487

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 24, 2019

Conversation

theenglishway
Copy link
Contributor

Change Summary

Update paragraph on Postponed Annotations in the documentation, with a more relevant example and emphasis on the bits of code that are required to make it work (pushing technical-only notes into ... notes).

Related issue number

#486

Checklist

  • [ x] Unit tests for the changes exist
  • [ x] Tests pass on CI and coverage remains at 100%
  • [ x] Documentation reflects the changes where applicable
  • [ x] HISTORY.rst has been updated
    • if this is the first change since a release, please add a new section
    • include the issue number or this pull request number #<number>
    • include your github username @<whomever>

@theenglishway
Copy link
Contributor Author

I'm still completely unclear about the ForwardRef section but I guess the documentation would be clearer if it was removed altogether ...

@codecov
Copy link

codecov bot commented Apr 23, 2019

Codecov Report

Merging #487 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #487   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          14     14           
  Lines        2251   2251           
  Branches      443    443           
=====================================
  Hits         2251   2251

@samuelcolvin
Copy link
Member

samuelcolvin commented Apr 23, 2019

See my comment on #486, think you might need to read PEP0563.

@theenglishway
Copy link
Contributor Author

PR updated after our discussion on #486

@samuelcolvin samuelcolvin merged commit e5b8ec7 into pydantic:master Apr 24, 2019
@samuelcolvin
Copy link
Member

thanks a lot.

@theenglishway
Copy link
Contributor Author

Thanks for that very nice library 👍

alexdrydew pushed a commit to alexdrydew/pydantic that referenced this pull request Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants