code: def activate(self, profile_name=NotSet):
          
          if profile_name is NotSet:
              profile_name = self.profile_name
          self._active_profile_name = profile_name
docs: Sets <PROFILE_ROOT>_PROFILE environment variable to the name of the current profile.