ci: fix pyright errors (#5392)
* ci: fix pyright errors Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix error in oauth 1 source Signed-off-by: Jens Langhammer <jens@goauthentik.io> * remove redundant blueprint fixtures Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
		@ -453,7 +453,6 @@ class NotificationTransport(SerializerModel):
 | 
			
		||||
        try:
 | 
			
		||||
            from authentik.stages.email.tasks import send_mail
 | 
			
		||||
 | 
			
		||||
            # pyright: reportGeneralTypeIssues=false
 | 
			
		||||
            return send_mail(mail.__dict__)  # pylint: disable=no-value-for-parameter
 | 
			
		||||
        except (SMTPException, ConnectionError, OSError) as exc:
 | 
			
		||||
            raise NotificationTransportError(exc) from exc
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user