Skip to content
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

Fix type-hint in paginate method #593

Merged
merged 1 commit into from
Jan 7, 2024
Merged

Conversation

jtait
Copy link
Contributor

@jtait jtait commented Jan 6, 2024

The type-hint in the current docs require an instance, not a class. This PR corrects that.

Copy link

codecov bot commented Jan 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4cca4cb) 99.88% compared to head (df15d29) 99.88%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #593   +/-   ##
=======================================
  Coverage   99.88%   99.88%           
=======================================
  Files          14       14           
  Lines         885      885           
  Branches      192      192           
=======================================
  Hits          884      884           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lafrech
Copy link
Member

lafrech commented Jan 7, 2024

Right. We should implement actual type hints + mypy tests. Anyone willing to help with this is welcome.

Thanks for the correction.

@lafrech lafrech merged commit 1b66f53 into marshmallow-code:master Jan 7, 2024
6 checks passed
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