class CollectionTest(Collection): string_attr = StringField() integer_attr = IntegerField() bool_attr = BooleanField() float_attr = FloatField() list_attr = ListField() object_attr = ObjectField() object_id_attr = ObjectIdField() unknow_object = StringField()
class CollectionTest(Collection): __collection__ = "collection_test" _id = ObjectIdField() string_attr = StringField()
class CollectionTest(Collection): should_be_value = StringField()
class CollectionTest(Collection): string_attr = StringField()