Commit 7645b803 by Dharam Gollapudi Committed by GitHub

Fix typos in README.mkd

Fix typos
parent 84d88b79
...@@ -104,7 +104,7 @@ register your access credentials. You can do so by calling ...@@ -104,7 +104,7 @@ register your access credentials. You can do so by calling
`parse_rest.connection.register`. `parse_rest.connection.register`.
Before getting to code, a word of caution. You need to consider how your application is Before getting to code, a word of caution. You need to consider how your application is
meant to be deployed. Parse identifies your application though meant to be deployed. Parse identifies your application through
different keys (available from your Parse dashboard) that are used in different keys (available from your Parse dashboard) that are used in
every request done to their servers. every request done to their servers.
...@@ -310,7 +310,7 @@ encountered. For example: ...@@ -310,7 +310,7 @@ encountered. For example:
dupe_object = list(MyClass.Query.all().limit(2))[0] dupe_object = list(MyClass.Query.all().limit(2))[0]
dupe_object2 = list(MyClass.Query.all().limit(2))[1] dupe_object2 = list(MyClass.Query.all().limit(2))[1]
new_object = MyClass(some_column=11111) new_object = MyClass(some_column=11111)
objects = [dupe_object + new_object] objects = [dupe_object, dupe_object2, new_object]
batcher = ParseBatcher() batcher = ParseBatcher()
batcher.batch_save(objects) batcher.batch_save(objects)
...@@ -334,7 +334,7 @@ And `CRUCIALLY`, the objectId field of the NON-duplicate object will be correctl ...@@ -334,7 +334,7 @@ And `CRUCIALLY`, the objectId field of the NON-duplicate object will be correctl
~~~~~ {python} ~~~~~ {python}
>>> #batch_save as above... >>> #batch_save as above...
>>> print objects >>> print objects
[<MyClass:gOHuhPbGZJ>, <MyClass:None>, <MyClass:None>] [<MyClass:None>, <MyClass:None>, <MyClass:gOHuhPbGZJ>]
~~~~~ ~~~~~
Therefore, one way to tell which objects saved successfully after a batch save operation Therefore, one way to tell which objects saved successfully after a batch save operation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment