Skip to content
Browse files

Update docs and README for 1.0 changes

  • Loading branch information...
1 parent cf0a370 commit fd199942b8a8d30187097cbf9fa5623a55d6f603 @thobbs thobbs committed Nov 7, 2011
Showing with 4 additions and 3 deletions.
  1. +2 −1 README.mkd
  2. +1 −1 doc/assorted/pycassa_shell.rst
  3. +1 −1 doc/tutorial.rst
View
3 README.mkd
@@ -10,7 +10,8 @@ with the following features:
* A batch interface
* A class for mapping classes to Cassandra column families
-The latest release is compatible with Cassandra 0.7 and 0.8.
+The latest release is fully compatible with Cassandra 0.8 and 1.0, and
+compatible with data API of 0.7.
*pycassa* is open source under the [MIT license](http://www.opensource.org/licenses/mit-license.php).
View
2 doc/assorted/pycassa_shell.rst
@@ -123,7 +123,7 @@ Example usage:
Index Type: KEYS
Index Name: None
- >>> SYSTEM_MANAGER.create_keyspace('Keyspace1', replication_factor=1)
+ >>> SYSTEM_MANAGER.create_keyspace('Keyspace1', strategy_options={"replication_factor": "1"})
>>> SYSTEM_MANAGER.create_column_family('Keyspace1', 'Users', comparator_type=INT_TYPE)
>>> SYSTEM_MANAGER.alter_column_family('Keyspace1', 'Users', key_cache_size=100)
>>> SYSTEM_MANAGER.create_index('Keyspace1', 'Users', 'birthdate', LONG_TYPE, index_name='bday_index')
View
2 doc/tutorial.rst
@@ -92,7 +92,7 @@ Here's how to create the keyspace and column family:
.. code-block:: python
- >>> SYSTEM_MANAGER.create_keyspace('Keyspace1', replication_factor=1)
+ >>> SYSTEM_MANAGER.create_keyspace('Keyspace1', strategy_options={"replication_factor": "1"})
>>> SYSTEM_MANAGER.create_column_family('Keyspace1', 'ColumnFamily1')
Connecting to Cassandra

0 comments on commit fd19994

Please sign in to comment.
Something went wrong with that request. Please try again.