diff --git a/authentik/core/api/user_directory.py b/authentik/core/api/user_directory.py index 3e41ef6727..61078e83c4 100644 --- a/authentik/core/api/user_directory.py +++ b/authentik/core/api/user_directory.py @@ -1,4 +1,5 @@ """User directory API Views""" + from typing import Any from drf_spectacular.utils import extend_schema, inline_serializer diff --git a/authentik/tenants/models.py b/authentik/tenants/models.py index 38e8c647ce..b6f9e131ab 100644 --- a/authentik/tenants/models.py +++ b/authentik/tenants/models.py @@ -95,7 +95,8 @@ class Tenant(TenantMixin, SerializerModel): blank=True, ) user_directory_attributes = models.JSONField( - help_text=_("Attributes to show in the user directory."), default=list, blank=True) + help_text=_("Attributes to show in the user directory."), default=list, blank=True + ) default_token_duration = models.TextField( help_text=_("Default token duration"), default=DEFAULT_TOKEN_DURATION,