Module Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias Assign NameStore TupleLoad Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call NameLoad keyword Str Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Call NameLoad keyword NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad keyword Str keyword Call NameLoad Str keyword ListLoad Call NameLoad Str Call NameLoad Str attr ClassDef bases NameLoad body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword Num keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad keyword Num keyword AttributeLoad NameLoad attr decorator_list For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp Call NameLoad NameLoad NameLoad comprehension NameStore SubscriptLoad NameLoad Index Str decorator_list decorator_list
N/A N/A unittest N/A decimal decimal Decimal mongoengine Document connect mongoengine.connection get_db mongoengine.fields StringField DecimalField ListField N/A __all__ N/A ConvertDecimalField ConvertDecimalField N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A connect db mongoenginetest N/A N/A self db N/A get_db N/A test_how_to_convert_decimal_fields N/A N/A self N/A N/A N/A Demonstrates migrating from 0.7 to 0.8
         Person N/A Document N/A N/A name N/A StringField N/A money N/A DecimalField force_string True N/A monies N/A ListField N/A DecimalField force_string True N/A N/A N/A N/A Person drop_collection N/A N/A N/A N/A Person name Wilson Jr money N/A Decimal 2.50 monies N/A N/A Decimal 2.10 N/A Decimal 5.00 save Person N/A Document N/A N/A name N/A StringField N/A money N/A DecimalField precision 2 rounding N/A decimal ROUND_HALF_UP N/A monies N/A ListField N/A DecimalField precision 2 rounding N/A decimal ROUND_HALF_UP N/A N/A p N/A Person objects N/A N/A N/A N/A p _mark_as_changed money N/A N/A N/A p _mark_as_changed monies N/A N/A N/A p save N/A wilson N/A N/A N/A N/A N/A Person objects name Wilson Jr as_pymongo N/A 0 N/A N/A N/A self assertTrue N/A isinstance N/A wilson N/A money float N/A N/A N/A self assertTrue N/A all N/A N/A isinstance m float N/A m N/A wilson N/A monies N/A N/A