code: def safe_url(self):
          
          ret = str(self.endpoint_url)
          if self.params:
              ret += '?' + '&'.join(
                  ['%s=%s' % (k, [v, '[%s]' % k.upper()][
                      k in ['A', 'token', 'password', 'session']]) for k, v in
                   self.params.items()])
          return ret
docs: This will generate a url equivalent call without private parameters
          :return: str