2012-01-19 33 views
0

以下內容向控制檯輸出「DoubleType(reversed = false)」;我如何告訴pycassa停止這樣做?它也發生在我alter_column。如何使pycassa無聲(使其在創建或更改密鑰或列驗證程序時停止打印到控制檯)

Python 2.7.2+ (default, Nov 30 2011, 19:22:03) 
[GCC 4.6.2] on linux2 
Type "help", "copyright", "credits" or "license" for more information. 
>>> from pycassa.types import CompositeType, UTF8Type, LongType, DoubleType, BooleanType 
>>> from pycassa.system_manager import SystemManager 
>>> SystemManager().create_keyspace('test', strategy_options={"replication_factor": "1"}) 
>>> SystemManager().create_column_family('test', 'testcf', key_validation_class=DoubleType()) 
DoubleType(reversed=false) 

感謝

回答

相關問題