from typing import Dict from external_api.base.clients.auth_strategies.Base import AuthStrategy from auth.auth_helpers import get_auth_token APOLLO_AUTH_HEADER = "Authorization" class LegacyApolloAuthStrategy(AuthStrategy): async def authorize(self, headers: Dict[str, str]) -> Dict[str, str]: headers[APOLLO_AUTH_HEADER] = get_auth_token() return headers