original_docstring: 
          Synchronous PUT request. There will be no returning output from
          the server, because the request will be made with ``silent``
          parameter. ``data`` must be a JSONable value.
          
docstring: Synchronous PUT request. There will be no returning output from
  the server, because the request will be made with ``silent``
  parameter. ``data`` must be a JSONable value.
docstring_tokens: Synchronous PUT request . There will be no returning output from the server because the request will be made with ` ` silent ` ` parameter . ` ` data ` ` must be a JSONable value .
code: def put(self, url, name, data, auth=True, params=None, headers=None, in_thread=False):
          """
          Synchronous PUT request. There will be no returning output from
          the server, because the request will be made with ``silent``
          parameter. ``data`` must be a JSONable value.
          """
          assert name, 'Snapshot name must be specified'
  
          fireauth = FireAuth(self.session.idToken) \
              if auth and isinstance(self.session, Authenticator) \
              else None
  
          endpoint, params, headers = self.__prepare_request(url, name, params, headers)
          data = json.dumps(data, cls=JSONEncoder)
  
          try:
              if self.logger is not None:
                  shorturl = endpoint.split("?auth=", 1)
                  self.logger.info("PUT {}".format(shorturl))
              return self.session.put(endpoint, data=data, params=params,
                                      headers=headers, auth=fireauth)
          except (ConnectionError, ReadTimeout) as e:
              if not in_thread:
                  raise e
              else:
                  self.buffer.put(e)
code_tokens: def put ( self , url , name , data , auth = True , params = None , headers = None , in_thread = False ) : assert name , 'Snapshot name must be specified' fireauth = FireAuth ( self . session . idToken ) if auth and isinstance ( self . session , Authenticator ) else None endpoint , params , headers = self . __prepare_request ( url , name , params , headers ) data = json . dumps ( data , cls = JSONEncoder ) try : if self . logger is not None : shorturl = endpoint . split ( "?auth=" , 1 ) self . logger . info ( "PUT {}" . format ( shorturl ) ) return self . session . put ( endpoint , data = data , params = params , headers = headers , auth = fireauth ) except ( ConnectionError , ReadTimeout ) as e : if not in_thread : raise e else : self . buffer . put ( e )
short_docstring: Synchronous PUT request.
short_docstring_tokens: Synchronous PUT request .
comment: """
          Synchronous PUT request. There will be no returning output from
          the server, because the request will be made with ``silent``
          parameter. ``data`` must be a JSONable value.
          """