From 2578bde8a366b82152325f3bfabf454c5f83c120 Mon Sep 17 00:00:00 2001 From: Marcela Bonell Date: Tue, 21 Jun 2016 16:24:53 -0500 Subject: [PATCH] MyFirstApp: Durability section with shade (RST file) Adding list of objects after clean up (step-9), fixing typos and removing extra note. Change-Id: Ie0a5d0a59af38c73c242b4dda90c8b62adac5267 --- firstapp/source/durability.rst | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/firstapp/source/durability.rst b/firstapp/source/durability.rst index 03f72e04e..4a037daed 100644 --- a/firstapp/source/durability.rst +++ b/firstapp/source/durability.rst @@ -220,7 +220,7 @@ all containers in your account: Munch({u'count': 0, u'bytes': 0, u'name': u'fractals_segments'})] The next logical step is to upload an object. Find a photo of a goat -on line, name it :code:`goat.jpg`, and upload it to your +online, name it :code:`goat.jpg`, and upload it to your :code:`fractals` container: .. only:: fog @@ -411,6 +411,16 @@ Finally, clean up by deleting the test object: u'tx46c83fa41030422493110-0057427af3', u'date': u'Mon, 23 May 2016 03:37:23 GMT', u'content-type': u'text/plain; charset=utf-8'}) + Now, no more objects are available in the :code:`fractals` container. + + .. literalinclude:: ../samples/shade/durability.py + :start-after: step-9 + :end-before: step-10 + + :: + + [] + Back up the Fractals from the database on the Object Storage ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -475,7 +485,6 @@ A simple loop takes care of that: - .. note:: Replace :code:`IP_API_1` with the IP address of the API instance. .. note:: The example code uses the awesome `Requests library `_. @@ -488,8 +497,6 @@ A simple loop takes care of that: :start-after: step-11 :end-before: step-12 - .. note:: Replace :code:`IP_API_1` with the IP address of the API instance. - .. note:: The example code uses the awesome `Requests library `_. Before you try to run the previous script, make sure that @@ -591,6 +598,7 @@ your SDK. :start-after: step-13 :end-before: step-14 + Large objects ~~~~~~~~~~~~~