minor: type hint

This commit is contained in:
Chris Milne 2026-05-28 11:06:54 +01:00
parent d8abe17618
commit a86cfea65a

View file

@ -13,6 +13,7 @@ from typing import Annotated
from fastapi import Depends from fastapi import Depends
from src.user.dependencies import user_model_claims_dependency from src.user.dependencies import user_model_claims_dependency
from src.user.models import User
from src.organisation.dependencies import org_model_query_dependency, org_model_body_dependency from src.organisation.dependencies import org_model_query_dependency, org_model_body_dependency
from src.organisation.models import Organisation as Org from src.organisation.models import Organisation as Org
@ -69,4 +70,4 @@ async def user_model_super_admin(user_model: user_model_claims_dependency):
raise UnauthorizedException() raise UnauthorizedException()
super_admin_dependency = Annotated[bool, Depends(user_model_super_admin)] super_admin_dependency = Annotated[type[User], Depends(user_model_super_admin)]