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 hinting for _with_sanity_checks #2286

Merged
merged 2 commits into from Mar 15, 2024

Conversation

dennisbader
Copy link
Collaborator

@dennisbader dennisbader commented Mar 15, 2024

Checklist before merging this PR:

  • Mentioned all issues that this PR fixes or addresses.
  • Summarized the updates of this PR under Summary.
  • Added an entry under Unreleased in the Changelog.

Fixes no reported issues.

Summary

  • fixed type hint warning when calling historical_forecasts(): "Unexpected argument" due to the _with_sanity_checks decorator. The type hinting is now properly configured to expect any input arguments and return the output type of the method for which to perform the sanity checks.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.99%. Comparing base (7986348) to head (5175a4c).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2286      +/-   ##
==========================================
- Coverage   94.00%   93.99%   -0.02%     
==========================================
  Files         136      136              
  Lines       13649    13634      -15     
==========================================
- Hits        12831    12815      -16     
- Misses        818      819       +1     

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

@dennisbader dennisbader merged commit d764bc4 into master Mar 15, 2024
9 checks passed
@dennisbader dennisbader deleted the refactor/hist_fc_sanity_checks branch March 15, 2024 10:55
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.

None yet

3 participants