-
Notifications
You must be signed in to change notification settings - Fork 6
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
Annotations for dependecies #413
base: main
Are you sure you want to change the base?
Conversation
b960c44
to
c7697a8
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #413 +/- ##
==========================================
+ Coverage 80.35% 80.40% +0.05%
==========================================
Files 85 85
Lines 5797 5792 -5
==========================================
- Hits 4658 4657 -1
+ Misses 1139 1135 -4 ☔ View full report in Codecov by Sentry. |
@@ -274,9 +269,12 @@ def is_user_a_member( | |||
return user | |||
|
|||
|
|||
MemberUser = Annotated[models_core.CoreUser, Depends(is_user_a_member)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't it be UserMember
to stay consistant with the rest of the code ?
https://fastapi.tiangolo.com/release-notes/#0950