def endpoint(self):
    'Return the endpoint for API requests.'
    return '/v{}/{}'.format(self.endpoint_version, self.objects_name)
Return the endpoint for API requests.
def endpoint(self):
    
    return '/v{}/{}'.format(self.endpoint_version, self.objects_name)