From 170f6f1a5b65ec6a9bf8ee8e0cbd03cd144853cc Mon Sep 17 00:00:00 2001 From: Benjamin Simon Date: Mon, 14 Oct 2024 09:27:35 +0200 Subject: [PATCH] revert for Python compat --- localstack-core/localstack/utils/aws/client_types.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/localstack-core/localstack/utils/aws/client_types.py b/localstack-core/localstack/utils/aws/client_types.py index 146585d300fc3..89d0bb6cf79b7 100644 --- a/localstack-core/localstack/utils/aws/client_types.py +++ b/localstack-core/localstack/utils/aws/client_types.py @@ -1,5 +1,4 @@ import abc -from enum import StrEnum from typing import TYPE_CHECKING, Union """ @@ -250,7 +249,7 @@ class TypedServiceClientFactory(abc.ABC): xray: Union["XRayClient", "MetadataRequestInjector[XRayClient]"] -class ServicePrincipal(StrEnum): +class ServicePrincipal(str): """ Class containing defined service principals. To add to this list, please look up the correct service principal name for the service.