def upsert(self, body, raise_exc=True, headers=False, files=None):
        '''Performs an HTTP PUT to the server. This is an idempotent
        call that will create the resource this navigator is pointing
        to, or will update it if it already exists.

        `body` may either be a string or a dictionary representing json
        `headers` are additional headers to send in the request
        '''
        return self._request(PUT, body, raise_exc, headers, files)
def upsert ( self , body , raise_exc = True , headers = False , files = None ) : return self . _request ( PUT , body , raise_exc , headers , files )
Performs an HTTP PUT to the server. This is an idempotent
        call that will create the resource this navigator is pointing
        to, or will update it if it already exists.

        `body` may either be a string or a dictionary representing json
        `headers` are additional headers to send in the request