Add doc string to set tempurl key

* added a doc string for setting the tempurl key at the
  container level

Change-Id: Ic55b9a51b834e96b471ce284ae994e3cb4a2dc87
This commit is contained in:
Carlos 'Legionarius' Martinez 2016-02-26 15:38:16 -06:00
parent 412d624c60
commit 68ace5a906
1 changed files with 4 additions and 0 deletions

View File

@ -568,6 +568,10 @@ class ObjectStorageAPIClient(HTTPClient):
def set_temp_url_key(self, container_name=None, headers=None,
requestslib_kwargs=None):
"""
optional container name is for setting the tempurl at the container
level, otherwise key is set at the account level.
"""
url = self.storage_url
if container_name: