minor cleanup

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-05-26 11:20:19 +02:00
parent b15002a992
commit 85ea4651e4
No known key found for this signature in database
5 changed files with 5 additions and 5 deletions

View File

@ -68,7 +68,7 @@ class OAuthSource(Source):
# we're using Type[] instead of type[] here since type[] interferes with the property above
@property
def serializer(self) -> Type[Serializer]:
from authentik.sources.oauth.api.source import OAuthSourceSerializer
from authentik.sources.oauth.api.sources import OAuthSourceSerializer
return OAuthSourceSerializer
@ -234,7 +234,7 @@ class UserOAuthSourceConnection(UserSourceConnection):
@property
def serializer(self) -> Serializer:
from authentik.sources.oauth.api.source_connection import (
from authentik.sources.oauth.api.source_connections import (
UserOAuthSourceConnectionSerializer,
)

View File

@ -3,7 +3,7 @@ from django.test import TestCase
from django.urls import reverse
from requests_mock import Mocker
from authentik.sources.oauth.api.source import OAuthSourceSerializer
from authentik.sources.oauth.api.sources import OAuthSourceSerializer
from authentik.sources.oauth.models import OAuthSource

View File

@ -2,8 +2,8 @@
from django.urls import path
from authentik.sources.oauth.api.source import OAuthSourceViewSet
from authentik.sources.oauth.api.source_connection import UserOAuthSourceConnectionViewSet
from authentik.sources.oauth.api.sources import OAuthSourceViewSet
from authentik.sources.oauth.api.source_connections import UserOAuthSourceConnectionViewSet
from authentik.sources.oauth.types.registry import RequestKind
from authentik.sources.oauth.views.dispatcher import DispatcherView