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

Try a different approach to typing datastores. #1008

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Try a different approach to typing datastores. #1008

merged 1 commit into from
Jul 12, 2024

Conversation

jwag956
Copy link
Collaborator

@jwag956 jwag956 commented Jul 11, 2024

Rather than define our own User model (just for typing) - change the annotations to use UserMixin and as part of typing define each possible member and type.

Add annotations to view_scaffold.py - as a test for the new datastore annotations.

add pyright config to pyproject.toml - it throws tons of errors - but view_scaffold not passes.

closes #1001

Rather than define our own User model (just for typing) - change the annotations to use UserMixin and as part of typing define each possible member and type.

Add annotations to view_scaffold.py - as a test for the new datastore annotations.

add pyright config to pyproject.toml - it throws tons of errors - but view_scaffold not passes.

closes #1001
Copy link

codecov bot commented Jul 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.40%. Comparing base (394e86c) to head (9ca3f37).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1008   +/-   ##
=======================================
  Coverage   98.40%   98.40%           
=======================================
  Files          37       37           
  Lines        4755     4758    +3     
=======================================
+ Hits         4679     4682    +3     
  Misses         76       76           

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

@jwag956 jwag956 merged commit c17a616 into master Jul 12, 2024
20 checks passed
@jwag956 jwag956 deleted the t7 branch July 12, 2024 02:21
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

User datastore initialisation triggers reportArgumentType
1 participant