code: def _configure_endpoint(self, endpoint):
          
          if not endpoint.startswith('http'):
              endpoint = 'https://' + endpoint
          if not endpoint.endswith('/'):
              endpoint += '/'
          return endpoint
docs: Configure the endpoint with a schema and end slash.