old_contents: from allauth.socialaccount import providers
  from allauth.socialaccount.providers.base import ProviderAccount
  from allauth.socialaccount.providers.oauth2.provider import OAuth2Provider
  
  
  class TwentyTreeAndMeAccount(ProviderAccount):
      pass
  
  
  class TwentyTreeAndMeProvider(OAuth2Provider):
      id = 'twentytreeandme'
      name = '23andMe'
      account_class = TwentyTreeAndMeAccount
  
      def extract_uid(self, data):
          return data['id']
  
      def get_default_scope(self):
          scope = ['basic',
                   'email'
          ]
          return scope
  
      def extract_common_fields(self, data):
          return dict(
              email=data.get('email'),
          )
  
  providers.registry.register(TwentyTreeAndMeProvider)
  
new_contents: from allauth.socialaccount import providers
  from allauth.socialaccount.providers.base import ProviderAccount
  from allauth.socialaccount.providers.oauth2.provider import OAuth2Provider
  
  
  class TwentyTreeAndMeAccount(ProviderAccount):
      pass
  
  
  class TwentyTreeAndMeProvider(OAuth2Provider):
      id = 'twentytreeandme'
      name = '23andMe'
      account_class = TwentyTreeAndMeAccount
  
      def extract_uid(self, data):
          return data['id']
  
      def get_default_scope(self):
          scope = ['basic']
          return scope
  
      def extract_common_fields(self, data):
          return dict(
              email=data.get('email'),
          )
  
  providers.registry.register(TwentyTreeAndMeProvider)
  
subject: update scopes