code: def choices(self):
          
          if not self._choices:
              gandi = self.gandi or GandiContextHelper()
              self._choices = self._get_choices(gandi)
              if not self._choices:
                  api = gandi.get_api_connector()
                  gandi.echo('Please check that you are connecting to the good '
                             "api '%s' and that it's running." % (api.host))
                  sys.exit(1)
  
          return self._choices
docs: Retrieve choices from API if possible