Note: The version on [PyPI](http://pypi.python.org/pypi) is not
Note: The version on [PyPI](http://pypi.python.org/pypi) is not
up-to-date. The code is still under lots of changes and the stability
up-to-date. The code is still under lots of changes and the stability
...
@@ -211,6 +211,29 @@ collectedItem.save() # we have to save it before it can be referenced
...
@@ -211,6 +211,29 @@ collectedItem.save() # we have to save it before it can be referenced
gameScore.item = collectedItem
gameScore.item = collectedItem
~~~~~
~~~~~
Batch Operations
----------------
For the sake of efficiency, Parse also supports creating, updating or deleting objects in batches using a single query, which saves on network round trips. You can perform such batch operations using the `connection.ParseBatcher` object:
@@ -327,6 +350,14 @@ or log in an existing user with
...
@@ -327,6 +350,14 @@ or log in an existing user with
u = User.login("dhelmet", "12345")
u = User.login("dhelmet", "12345")
~~~~~
~~~~~
If you'd like to log in a user with Facebook or Twitter, and have already obtained an access token (including a user ID and expiration date) to do so, you can log in like this: