SYMBOL INDEX (478 symbols across 39 files) FILE: setup.py function get_version (line 16) | def get_version(): FILE: tests/__init__.py class MultiDict (line 13) | class MultiDict(dict): method getlist (line 14) | def getlist(self, key): class ModelFormTestCase (line 18) | class ModelFormTestCase(FormTestCase): method setup_method (line 21) | def setup_method(self, method): method teardown_method (line 25) | def teardown_method(self, method): method init_model (line 30) | def init_model(self, type_=sa.Unicode(255), **kwargs): method init (line 42) | def init(self, type_=sa.Unicode(255), **kwargs): method init_form (line 46) | def init_form(self): class FormRelationsTestCase (line 54) | class FormRelationsTestCase: method setup_method (line 57) | def setup_method(self, method): method teardown_method (line 69) | def teardown_method(self, method): FILE: tests/conftest.py class _MetaWithInit (line 11) | class _MetaWithInit(FormMeta): method __init__ (line 12) | def __init__(cls, *args, **kwargs): class _MetaWithoutInit (line 20) | class _MetaWithoutInit(FormMeta): function model_form_all (line 28) | def model_form_all(request): function model_form_custom (line 36) | def model_form_custom(request): FILE: tests/test_class_map.py class A (line 6) | class A: class B (line 10) | class B: class A2 (line 14) | class A2(A): class A3 (line 18) | class A3(A2): class A4 (line 22) | class A4(A3): class A5 (line 26) | class A5(A4): class B2 (line 30) | class B2(B): class C (line 34) | class C: function test_contains_with_subclass_check (line 39) | def test_contains_with_subclass_check(key): function test_contains_with_isinstance_check (line 45) | def test_contains_with_isinstance_check(key): function test_getitem_with_classes (line 51) | def test_getitem_with_classes(key, value): function test_getitem_with_objects (line 57) | def test_getitem_with_objects(key, value): function test_getitem_throws_keyerror_for_unknown_key (line 62) | def test_getitem_throws_keyerror_for_unknown_key(): FILE: tests/test_column_aliases.py class TestColumnAliases (line 8) | class TestColumnAliases(ModelFormTestCase): method test_supports_column_aliases (line 9) | def test_supports_column_aliases(self): method test_labels (line 23) | def test_labels(self): method test_unique_indexes (line 39) | def test_unique_indexes(self): method test_meta_field_args (line 57) | def test_meta_field_args(self): method test_additional_validators (line 75) | def test_additional_validators(self): FILE: tests/test_configuration.py class UnknownType (line 14) | class UnknownType(sa.types.UserDefinedType): method get_col_spec (line 15) | def get_col_spec(self): class TestModelFormConfiguration (line 19) | class TestModelFormConfiguration(ModelFormTestCase): method test_skip_unknown_types (line 20) | def test_skip_unknown_types(self): method test_supports_field_exclusion (line 38) | def test_supports_field_exclusion(self): method test_throws_exception_for_unknown_excluded_column (line 49) | def test_throws_exception_for_unknown_excluded_column(self): method test_invalid_exclude_with_attr_errors_as_false (line 59) | def test_invalid_exclude_with_attr_errors_as_false(self): method test_throws_exception_for_unknown_included_column (line 68) | def test_throws_exception_for_unknown_included_column(self): method test_invalid_include_with_attr_errors_as_false (line 78) | def test_invalid_include_with_attr_errors_as_false(self): method test_throws_exception_for_non_column_fields (line 87) | def test_throws_exception_for_non_column_fields(self): method test_supports_field_inclusion (line 97) | def test_supports_field_inclusion(self): method test_supports_only_attribute (line 108) | def test_supports_only_attribute(self): method test_empty_only_attribute (line 124) | def test_empty_only_attribute(self): method test_supports_field_overriding (line 135) | def test_supports_field_overriding(self): method test_supports_assigning_all_fields_as_optional (line 147) | def test_supports_assigning_all_fields_as_optional(self): method test_supports_custom_datetime_format (line 159) | def test_supports_custom_datetime_format(self): method test_supports_additional_validators (line 170) | def test_supports_additional_validators(self): method test_inherits_config_params_from_parent_meta (line 181) | def test_inherits_config_params_from_parent_meta(self): method test_child_classes_override_parents_config_params (line 195) | def test_child_classes_override_parents_config_params(self): method test_strip_strings_fields (line 209) | def test_strip_strings_fields(self): method test_strip_strings_fields_with_empty_values (line 221) | def test_strip_strings_fields_with_empty_values(self): method test_class_meta_regression (line 232) | def test_class_meta_regression(self): FILE: tests/test_country_field.py class TestCountryField (line 11) | class TestCountryField: method init_form (line 14) | def init_form(self, **kwargs): method setup_method (line 21) | def setup_method(self, method): method test_valid_countries (line 27) | def test_valid_countries(self): method test_invalid_countries (line 34) | def test_invalid_countries(self): FILE: tests/test_custom_fields.py class TestSelectField (line 8) | class TestSelectField: method test_understands_none_values (line 9) | def test_understands_none_values(self): FILE: tests/test_deep_form_relations.py class TestDeepFormRelationsOneToManyToOne (line 8) | class TestDeepFormRelationsOneToManyToOne(FormRelationsTestCase): method create_models (line 9) | def create_models(self): method create_forms (line 35) | def create_forms(self): method save (line 56) | def save(self): method test_assigment_and_deletion (line 69) | def test_assigment_and_deletion(self): class TestDeepFormRelationsOneToOneToMany (line 83) | class TestDeepFormRelationsOneToOneToMany(FormRelationsTestCase): method create_models (line 84) | def create_models(self): method create_forms (line 109) | def create_forms(self): method save (line 130) | def save(self): method test_assigment_and_deletion (line 143) | def test_assigment_and_deletion(self): FILE: tests/test_descriptions.py class TestFieldParameters (line 5) | class TestFieldParameters(ModelFormTestCase): method test_assigns_description_from_column_info (line 6) | def test_assigns_description_from_column_info(self): method test_assigns_descriptions_from_form_configuration (line 10) | def test_assigns_descriptions_from_form_configuration(self): FILE: tests/test_field_exclusion.py class TestFieldExclusion (line 9) | class TestFieldExclusion(ModelFormTestCase): method test_does_not_include_datetime_columns_with_default (line 10) | def test_does_not_include_datetime_columns_with_default(self): method test_excludes_surrogate_primary_keys_by_default (line 14) | def test_excludes_surrogate_primary_keys_by_default(self): method test_excludes_column_properties (line 18) | def test_excludes_column_properties(self): class TestTSVectorType (line 27) | class TestTSVectorType(ModelFormTestCase): method test_does_not_include_tsvector_typed_columns_with_default (line 28) | def test_does_not_include_tsvector_typed_columns_with_default(self): FILE: tests/test_field_order.py class TestFieldOrder (line 6) | class TestFieldOrder(ModelFormTestCase): method setup_method (line 7) | def setup_method(self, method): method test_field_definition_order (line 25) | def test_field_definition_order(self): FILE: tests/test_field_parameters.py class TestFieldParameters (line 14) | class TestFieldParameters(ModelFormTestCase): method test_accepts_custom_widgets (line 15) | def test_accepts_custom_widgets(self): method test_accepts_custom_filters (line 20) | def test_accepts_custom_filters(self): method test_assigns_description_from_column_info (line 28) | def test_assigns_description_from_column_info(self): method test_does_not_add_default_value_if_default_is_callable (line 32) | def test_does_not_add_default_value_if_default_is_callable(self): method test_assigns_scalar_defaults (line 36) | def test_assigns_scalar_defaults(self): method test_min_and_max_info_attributes_with_integer_field (line 40) | def test_min_and_max_info_attributes_with_integer_field(self): method test_min_and_max_info_attributes_with_numeric_field (line 46) | def test_min_and_max_info_attributes_with_numeric_field(self): method test_min_and_max_info_attributes_with_float_field (line 52) | def test_min_and_max_info_attributes_with_float_field(self): method test_min_and_max_info_attributes_with_int_range_field (line 58) | def test_min_and_max_info_attributes_with_int_range_field(self): method test_min_and_max_info_attributes_generate_time_range_validator (line 64) | def test_min_and_max_info_attributes_generate_time_range_validator(self): method test_min_and_max_info_attributes_generate_date_range_validator (line 70) | def test_min_and_max_info_attributes_generate_date_range_validator(self): method test_uses_custom_field_class (line 78) | def test_uses_custom_field_class(self): method test_accepts_none_as_custom_field_class (line 101) | def test_accepts_none_as_custom_field_class(self): FILE: tests/test_field_trimming.py class TestStringFieldTrimming (line 5) | class TestStringFieldTrimming(ModelFormTestCase): method test_strip_string_fields_set_for_string_field (line 6) | def test_strip_string_fields_set_for_string_field(self): method test_does_not_trim_fields_when_trim_param_is_false (line 17) | def test_does_not_trim_fields_when_trim_param_is_false(self): FILE: tests/test_form_meta.py class TestModelFormMetaWithInheritance (line 6) | class TestModelFormMetaWithInheritance(ModelFormTestCase): method test_skip_unknown_types (line 7) | def test_skip_unknown_types(self, model_form_all): method test_inheritance_attributes (line 21) | def test_inheritance_attributes(self, model_form_custom): class TestUnboundFieldsInitialization (line 31) | class TestUnboundFieldsInitialization(ModelFormTestCase): method test_skip_unknown_types (line 32) | def test_skip_unknown_types(self, model_form_all): FILE: tests/test_hybrid_properties.py class TestHybridProperties (line 10) | class TestHybridProperties(ModelFormTestCase): method test_hybrid_property_returning_column_property (line 11) | def test_hybrid_property_returning_column_property(self): method test_hybrid_property_returning_expression (line 36) | def test_hybrid_property_returning_expression(self): FILE: tests/test_i18n_extension.py class TestInternationalizationExtension (line 16) | class TestInternationalizationExtension(ModelFormTestCase): method init (line 17) | def init(self): method test_supports_translated_columns (line 40) | def test_supports_translated_columns(self): method test_supports_field_exclusion (line 46) | def test_supports_field_exclusion(self): method test_model_population (line 57) | def test_model_population(self): FILE: tests/test_inheritance.py class TestInheritance (line 7) | class TestInheritance(FormTestCase): class Base (line 8) | class Base(Form): method get_session (line 10) | def get_session(self): method test_default_base (line 13) | def test_default_base(self): method test_custom_base_without_session (line 16) | def test_custom_base_without_session(self): method test_custom_base_with_session (line 20) | def test_custom_base_with_session(self): method test_inherit_with_new_session (line 24) | def test_inherit_with_new_session(self): method test_inherit_without_new_session (line 34) | def test_inherit_without_new_session(self): FILE: tests/test_labels.py class TestFieldLabels (line 5) | class TestFieldLabels(ModelFormTestCase): method test_assigns_labels_from_column_info (line 6) | def test_assigns_labels_from_column_info(self): method test_assigns_labels_from_form_configuration (line 10) | def test_assigns_labels_from_form_configuration(self): FILE: tests/test_model_field_list.py class ModelFieldListTestCase (line 9) | class ModelFieldListTestCase(FormRelationsTestCase): method create_models (line 10) | def create_models(self): method save (line 27) | def save(self, event=None, data=None): class TestReplaceStrategy (line 47) | class TestReplaceStrategy(ModelFieldListTestCase): method create_forms (line 48) | def create_forms(self): method test_assigment_and_deletion (line 62) | def test_assigment_and_deletion(self): class TestUpdateStrategy (line 75) | class TestUpdateStrategy(ModelFieldListTestCase): method create_models (line 76) | def create_models(self): method create_forms (line 102) | def create_forms(self): method test_single_entry_update (line 121) | def test_single_entry_update(self): method test_creates_new_objects_for_entries_with_unknown_identifiers (line 135) | def test_creates_new_objects_for_entries_with_unknown_identifiers(self): method test_replace_entry (line 147) | def test_replace_entry(self): method test_replace_and_update (line 169) | def test_replace_and_update(self): method test_multiple_entries (line 196) | def test_multiple_entries(self): method test_delete_all_field_list_entries (line 216) | def test_delete_all_field_list_entries(self): method test_update_and_remove (line 222) | def test_update_and_remove(self): FILE: tests/test_model_form_factory.py class TestModelFormFactory (line 13) | class TestModelFormFactory(ModelFormTestCase): method test_supports_parameter_overriding (line 14) | def test_supports_parameter_overriding(self): method test_throws_exception_for_unknown_configuration_option (line 35) | def test_throws_exception_for_unknown_configuration_option(self): method test_supports_custom_base_class_with_model_form_factory (line 45) | def test_supports_custom_base_class_with_model_form_factory(self): method test_url_validator (line 57) | def test_url_validator(self): method test_email_validator (line 61) | def test_email_validator(self): method test_length_validator (line 65) | def test_length_validator(self): method test_number_range_validator (line 69) | def test_number_range_validator(self): method test_date_range_validator (line 73) | def test_date_range_validator(self): method test_time_range_validator (line 77) | def test_time_range_validator(self): method test_optional_validator (line 81) | def test_optional_validator(self): method test_unique_validator (line 85) | def test_unique_validator(self): method test_class_meta_wtforms2 (line 89) | def test_class_meta_wtforms2(self): FILE: tests/test_model_form_field.py class TestOneToOneModelFormRelations (line 8) | class TestOneToOneModelFormRelations(FormRelationsTestCase): method create_models (line 9) | def create_models(self): method create_forms (line 25) | def create_forms(self): method save (line 39) | def save(self, event=None, data={}): method test_assigment_and_deletion (line 54) | def test_assigment_and_deletion(self): method test_only_populates_related_if_they_are_obj_attributes (line 66) | def test_only_populates_related_if_they_are_obj_attributes(self): method test_updating_related_object (line 83) | def test_updating_related_object(self): FILE: tests/test_phone_number.py class TestCase (line 12) | class TestCase: method setup_method (line 13) | def setup_method(self, method): method teardown_method (line 23) | def teardown_method(self, method): method create_models (line 28) | def create_models(self): class TestPhoneNumbers (line 39) | class TestPhoneNumbers(TestCase): method setup_method (line 46) | def setup_method(self, method): method test_query_returns_phone_number_object (line 63) | def test_query_returns_phone_number_object(self): method test_phone_number_is_stored_as_string (line 67) | def test_phone_number_is_stored_as_string(self): method test_phone_number_in_form (line 74) | def test_phone_number_in_form(self): method test_empty_phone_number_in_form (line 82) | def test_empty_phone_number_in_form(self): FILE: tests/test_phone_number_field.py class TestPhoneNumberField (line 8) | class TestPhoneNumberField: method setup_method (line 9) | def setup_method(self, method): method init_form (line 21) | def init_form(self, **kwargs): method test_valid_phone_numbers (line 27) | def test_valid_phone_numbers(self): method test_invalid_phone_numbers (line 34) | def test_invalid_phone_numbers(self): method test_render_empty_phone_number_value (line 41) | def test_render_empty_phone_number_value(self): method test_empty_phone_number_value_passed_as_none (line 46) | def test_empty_phone_number_value_passed_as_none(self): method test_default_display_format (line 53) | def test_default_display_format(self): method test_international_display_format (line 58) | def test_international_display_format(self): method test_e164_display_format (line 63) | def test_e164_display_format(self): method test_field_rendering_when_invalid_phone_number (line 68) | def test_field_rendering_when_invalid_phone_number(self): method test_required_phone_number_form (line 83) | def test_required_phone_number_form(self, number, error_msg, check_val... FILE: tests/test_query_select_field.py class DummyPostData (line 15) | class DummyPostData(dict): method getlist (line 16) | def getlist(self, key): class LazySelect (line 23) | class LazySelect: method __call__ (line 24) | def __call__(self, field, **kwargs): class Base (line 31) | class Base: method __init__ (line 32) | def __init__(self, **kwargs): class TestBase (line 37) | class TestBase: method create_models (line 38) | def create_models(self): method _fill (line 56) | def _fill(self, sess): class TestQuerySelectField (line 66) | class TestQuerySelectField(TestBase): method setup_method (line 67) | def setup_method(self): method teardown_method (line 78) | def teardown_method(self): method test_without_factory (line 83) | def test_without_factory(self): method test_with_query_factory (line 112) | def test_with_query_factory(self): class TestQuerySelectMultipleField (line 178) | class TestQuerySelectMultipleField(TestBase): method setup_method (line 179) | def setup_method(self): method teardown_method (line 192) | def teardown_method(self): class F (line 197) | class F(Form): method test_unpopulated_default (line 200) | def test_unpopulated_default(self): method test_single_value_without_factory (line 204) | def test_single_value_without_factory(self): method test_multiple_values_without_query_factory (line 211) | def test_multiple_values_without_query_factory(self): method test_single_default_value (line 223) | def test_single_default_value(self): method test_empty_query (line 239) | def test_empty_query(self): class DatabaseTestCase (line 250) | class DatabaseTestCase: method setup_method (line 251) | def setup_method(self, method): method teardown_method (line 262) | def teardown_method(self, method): method create_models (line 267) | def create_models(self): method create_cities (line 284) | def create_cities(self): class TestGroupedQuerySelectField (line 296) | class TestGroupedQuerySelectField(DatabaseTestCase): method create_form (line 297) | def create_form(self, **kwargs): method test_custom_none_value (line 313) | def test_custom_none_value(self): method test_rendering (line 322) | def test_rendering(self): class TestGroupedQuerySelectMultipleField (line 341) | class TestGroupedQuerySelectMultipleField(DatabaseTestCase): method create_form (line 342) | def create_form(self, **kwargs): method test_unpopulated_default (line 359) | def test_unpopulated_default(self): method test_single_value_without_factory (line 364) | def test_single_value_without_factory(self): method test_multiple_values_without_query_factory (line 374) | def test_multiple_values_without_query_factory(self): method test_rendering (line 402) | def test_rendering(self): FILE: tests/test_select_field.py class MultiDict (line 9) | class MultiDict(dict): method getlist (line 10) | def getlist(self, key): class TestSelectFieldDefaultValue (line 14) | class TestSelectFieldDefaultValue(ModelFormTestCase): method test_option_selected_by_field_default_value (line 15) | def test_option_selected_by_field_default_value(self): class TestSelectFieldCoerce (line 22) | class TestSelectFieldCoerce(ModelFormTestCase): method test_integer_coerces_values_to_integers (line 23) | def test_integer_coerces_values_to_integers(self): method test_nullable_integer_coerces_values_to_integers (line 29) | def test_nullable_integer_coerces_values_to_integers(self): method test_integer_coerces_empty_strings_to_nulls (line 35) | def test_integer_coerces_empty_strings_to_nulls(self): method test_big_integer_coerces_values_to_integers (line 41) | def test_big_integer_coerces_values_to_integers(self): method test_small_integer_coerces_values_to_integers (line 48) | def test_small_integer_coerces_values_to_integers(self): method test_numeric_coerces_values_to_decimals (line 54) | def test_numeric_coerces_values_to_decimals(self): method test_float_coerces_values_to_floats (line 60) | def test_float_coerces_values_to_floats(self): method test_unicode_coerces_values_to_unicode_strings (line 66) | def test_unicode_coerces_values_to_unicode_strings(self): method test_unicode_text_coerces_values_to_unicode_strings (line 73) | def test_unicode_text_coerces_values_to_unicode_strings(self): FILE: tests/test_synonym.py class TestSynonym (line 8) | class TestSynonym(ModelFormTestCase): method test_synonym_returning_column_property_with_include (line 9) | def test_synonym_returning_column_property_with_include(self): method test_synonym_returning_column_property_with_only (line 36) | def test_synonym_returning_column_property_with_only(self): FILE: tests/test_types.py class UnknownType (line 55) | class UnknownType(sa.types.UserDefinedType): method get_col_spec (line 56) | def get_col_spec(self): class CustomUnicodeTextType (line 60) | class CustomUnicodeTextType(sa.types.TypeDecorator): class CustomUnicodeType (line 64) | class CustomUnicodeType(sa.types.TypeDecorator): class CustomNumericType (line 68) | class CustomNumericType(sa.types.TypeDecorator): class TestModelColumnToFormFieldTypeConversion (line 72) | class TestModelColumnToFormFieldTypeConversion(ModelFormTestCase): method test_raises_exception_for_unknown_type (line 73) | def test_raises_exception_for_unknown_type(self): method test_raises_exception_for_array_type (line 78) | def test_raises_exception_for_array_type(self): method test_unicode_converts_to_text_field (line 83) | def test_unicode_converts_to_text_field(self): method test_custom_unicode_converts_to_text_field (line 87) | def test_custom_unicode_converts_to_text_field(self): method test_string_converts_to_text_field (line 91) | def test_string_converts_to_text_field(self): method test_integer_converts_to_integer_field (line 95) | def test_integer_converts_to_integer_field(self): method test_unicode_text_converts_to_text_area_field (line 99) | def test_unicode_text_converts_to_text_area_field(self): method test_custom_unicode_text_converts_to_text_area_field (line 103) | def test_custom_unicode_text_converts_to_text_area_field(self): method test_boolean_converts_to_boolean_field (line 107) | def test_boolean_converts_to_boolean_field(self): method test_datetime_converts_to_datetime_field (line 111) | def test_datetime_converts_to_datetime_field(self): method test_date_converts_to_date_field (line 115) | def test_date_converts_to_date_field(self): method test_float_converts_to_float_field (line 119) | def test_float_converts_to_float_field(self): method test_numeric_converts_to_decimal_field (line 123) | def test_numeric_converts_to_decimal_field(self): method test_numeric_scale_converts_to_decimal_field_scale (line 127) | def test_numeric_scale_converts_to_decimal_field_scale(self): method test_custom_numeric_converts_to_decimal_field (line 132) | def test_custom_numeric_converts_to_decimal_field(self): method test_enum_field_converts_to_select_field (line 136) | def test_enum_field_converts_to_select_field(self): method test_nullable_enum_uses_null_or_unicode_coerce_func_by_default (line 143) | def test_nullable_enum_uses_null_or_unicode_coerce_func_by_default(self): method test_custom_choices_override_enum_choices (line 149) | def test_custom_choices_override_enum_choices(self): method test_column_with_choices_converts_to_select_field (line 156) | def test_column_with_choices_converts_to_select_field(self): method test_assigns_email_validator_for_email_type (line 163) | def test_assigns_email_validator_for_email_type(self): method test_assigns_url_validator_for_url_type (line 167) | def test_assigns_url_validator_for_url_type(self): method test_time_converts_to_time_field (line 171) | def test_time_converts_to_time_field(self): method test_varchar_converts_to_text_field (line 175) | def test_varchar_converts_to_text_field(self): method test_text_converts_to_textarea_field (line 179) | def test_text_converts_to_textarea_field(self): method test_char_converts_to_text_field (line 183) | def test_char_converts_to_text_field(self): method test_real_converts_to_float_field (line 187) | def test_real_converts_to_float_field(self): method test_json_converts_to_textarea_field (line 191) | def test_json_converts_to_textarea_field(self): method test_phone_number_converts_to_phone_number_field (line 196) | def test_phone_number_converts_to_phone_number_field(self): method test_phone_number_country_code_passed_to_field (line 201) | def test_phone_number_country_code_passed_to_field(self): method test_phone_number_type_has_no_length_validation (line 207) | def test_phone_number_type_has_no_length_validation(self): method test_range_type_conversion (line 214) | def test_range_type_conversion(self, type, field): method test_password_type_converts_to_password_field (line 219) | def test_password_type_converts_to_password_field(self): method test_arrow_type_converts_to_datetime_field (line 224) | def test_arrow_type_converts_to_datetime_field(self): method test_url_type_converts_to_string_field (line 228) | def test_url_type_converts_to_string_field(self): method test_uuid_type_converst_to_uuid_type (line 232) | def test_uuid_type_converst_to_uuid_type(self): method test_color_type_converts_to_color_field (line 236) | def test_color_type_converts_to_color_field(self): method test_email_type_converts_to_email_field (line 240) | def test_email_type_converts_to_email_field(self): method test_country_type_converts_to_country_field (line 244) | def test_country_type_converts_to_country_field(self): method test_choice_type_converts_to_select_field (line 248) | def test_choice_type_converts_to_select_field(self): method test_choice_type_uses_custom_coerce_func (line 254) | def test_choice_type_uses_custom_coerce_func(self): method test_choice_type_with_enum (line 262) | def test_choice_type_with_enum(self): method test_choice_type_with_enum_uses_custom_coerce_func (line 275) | def test_choice_type_with_enum_uses_custom_coerce_func(self, type_, im... class TestWeekDaysTypeConversion (line 290) | class TestWeekDaysTypeConversion(ModelFormTestCase): method test_weekdays_type_converts_to_weekdays_field (line 291) | def test_weekdays_type_converts_to_weekdays_field(self): class TestCustomTypeMap (line 296) | class TestCustomTypeMap(ModelFormTestCase): method test_override_type_map_on_class_level (line 297) | def test_override_type_map_on_class_level(self): method test_override_type_map_with_callable (line 312) | def test_override_type_map_with_callable(self): FILE: tests/test_unique_validator.py class Color (line 14) | class Color(base): class User (line 20) | class User(base): class TestUniqueValidator (line 29) | class TestUniqueValidator: method create_models (line 30) | def create_models(self): method setup_method (line 35) | def setup_method(self, method): method teardown_method (line 46) | def teardown_method(self, method): method _test_syntax (line 51) | def _test_syntax(self, column, expected_dict): method test_with_form_obj_unavailable (line 64) | def test_with_form_obj_unavailable(self): method test_columns_as_tuples (line 89) | def test_columns_as_tuples(self, column, expected_dict): method test_columns_as_tuples_classical_mapping (line 92) | def test_columns_as_tuples_classical_mapping(self): method test_raises_exception_if_improperly_configured (line 99) | def test_raises_exception_if_improperly_configured(self, column): method test_raises_exception_string_if_improperly_configured (line 112) | def test_raises_exception_string_if_improperly_configured(self): method test_existing_name_collision (line 125) | def test_existing_name_collision(self): method test_existing_name_collision_multiple (line 138) | def test_existing_name_collision_multiple(self): method test_works_with_flask_sqlalchemy_syntax (line 154) | def test_works_with_flask_sqlalchemy_syntax(self, monkeypatch): method test_existing_name_collision_classical_mapping (line 172) | def test_existing_name_collision_classical_mapping(self): method test_relationship_multiple_collision (line 195) | def test_relationship_multiple_collision(self): method test_relationship_multiple_no_collision (line 235) | def test_relationship_multiple_no_collision(self): method test_without_obj_without_collision (line 275) | def test_without_obj_without_collision(self): method test_without_obj_without_collision_multiple (line 287) | def test_without_obj_without_collision_multiple(self): method test_existing_name_no_collision (line 302) | def test_existing_name_no_collision(self): method test_existing_name_no_collision_multiple (line 314) | def test_existing_name_no_collision_multiple(self): method test_supports_model_query_parameter (line 331) | def test_supports_model_query_parameter(self): FILE: tests/test_utils.py class TestUtils (line 7) | class TestUtils(FormRelationsTestCase): method create_models (line 8) | def create_models(self): method create_forms (line 39) | def create_forms(self): method test_find_entity (line 42) | def test_find_entity(self): FILE: tests/test_validators.py class TestAutoAssignedValidators (line 19) | class TestAutoAssignedValidators(ModelFormTestCase): method test_auto_assigns_length_validators (line 20) | def test_auto_assigns_length_validators(self): method test_assigns_validators_from_info_field (line 24) | def test_assigns_validators_from_info_field(self): method test_assigns_unique_validator_for_unique_fields (line 28) | def test_assigns_unique_validator_for_unique_fields(self): method test_assigns_non_nullable_fields_as_required (line 32) | def test_assigns_non_nullable_fields_as_required(self): method test_type_level_not_nullable_validators (line 37) | def test_type_level_not_nullable_validators(self): method test_not_nullable_validator_with_type_decorator (line 54) | def test_not_nullable_validator_with_type_decorator(self): method test_not_null_validator_as_empty_list (line 71) | def test_not_null_validator_as_empty_list(self): method test_not_null_validator_as_none (line 86) | def test_not_null_validator_as_none(self): method test_not_nullable_booleans_are_required (line 102) | def test_not_nullable_booleans_are_required(self): method test_not_nullable_fields_with_defaults_are_not_required (line 106) | def test_not_nullable_fields_with_defaults_are_not_required(self): method test_assigns_nullable_integers_as_optional (line 110) | def test_assigns_nullable_integers_as_optional(self): method test_override_email_validator (line 114) | def test_override_email_validator(self): method test_override_optional_validator (line 131) | def test_override_optional_validator(self): method test_override_number_range_validator (line 152) | def test_override_number_range_validator(self): method test_override_date_range_validator (line 169) | def test_override_date_range_validator(self): method test_override_time_range_validator (line 188) | def test_override_time_range_validator(self): method test_override_length_validator (line 205) | def test_override_length_validator(self): method test_override_optional_validator_as_none (line 222) | def test_override_optional_validator_as_none(self): method test_override_unique_validator (line 236) | def test_override_unique_validator(self): FILE: tests/test_weekdays_field.py class TestWeekDaysField (line 7) | class TestWeekDaysField: method init_form (line 8) | def init_form(self, **kwargs): method test_valid_weekdays (line 14) | def test_valid_weekdays(self): method test_invalid_weekdays (line 20) | def test_invalid_weekdays(self): FILE: tests/test_widgets.py class TestNumericFieldWidgets (line 8) | class TestNumericFieldWidgets(ModelFormTestCase): method test_converts_numeric_scale_to_steps (line 9) | def test_converts_numeric_scale_to_steps(self): method test_supports_numeric_column_without_scale (line 16) | def test_supports_numeric_column_without_scale(self): method test_supports_step_as_info_arg (line 23) | def test_supports_step_as_info_arg(self): method test_numeric_field_with_scale_and_choices (line 31) | def test_numeric_field_with_scale_and_choices(self): class TestIntegerFieldWidgets (line 42) | class TestIntegerFieldWidgets(ModelFormTestCase): method test_supports_step_as_info_arg (line 43) | def test_supports_step_as_info_arg(self): class TestFloatFieldWidgets (line 52) | class TestFloatFieldWidgets(ModelFormTestCase): method test_supports_step_as_info_arg (line 53) | def test_supports_step_as_info_arg(self): FILE: wtforms_alchemy/__init__.py function model_form_meta_factory (line 61) | def model_form_meta_factory(base=FormMeta): function model_form_factory (line 124) | def model_form_factory(base=Form, meta=ModelFormMeta, **defaults): class ModelCreateForm (line 286) | class ModelCreateForm(ModelForm): class ModelUpdateForm (line 290) | class ModelUpdateForm(ModelForm): class Meta (line 291) | class Meta: class ModelSearchForm (line 296) | class ModelSearchForm(ModelForm): class Meta (line 297) | class Meta: FILE: wtforms_alchemy/exc.py class UnknownTypeException (line 1) | class UnknownTypeException(Exception): method __init__ (line 2) | def __init__(self, column): class InvalidAttributeException (line 8) | class InvalidAttributeException(Exception): method __init__ (line 9) | def __init__(self, attr_name): class AttributeTypeException (line 15) | class AttributeTypeException(Exception): method __init__ (line 16) | def __init__(self, attr_name): class UnknownConfigurationOption (line 22) | class UnknownConfigurationOption(Exception): method __init__ (line 23) | def __init__(self, option): FILE: wtforms_alchemy/fields.py class SkipOperation (line 20) | class SkipOperation(Exception): class ModelFormField (line 24) | class ModelFormField(FormField): method populate_obj (line 25) | def populate_obj(self, obj, name): class ModelFieldList (line 35) | class ModelFieldList(FieldList): method __init__ (line 36) | def __init__(self, unbound_field, population_strategy="update", **kwar... method model (line 41) | def model(self): method _get_bound_field_for_entry (line 44) | def _get_bound_field_for_entry(self, formdata, data, index): method _add_entry (line 55) | def _add_entry(self, formdata=None, data=unset_value, index=None): method populate_obj (line 74) | def populate_obj(self, obj, name): class CountryField (line 98) | class CountryField(SelectField): method __init__ (line 99) | def __init__(self, *args, **kwargs): method _get_choices (line 104) | def _get_choices(self): class QuerySelectField (line 116) | class QuerySelectField(SelectFieldBase): method __init__ (line 145) | def __init__( method _get_data (line 176) | def _get_data(self): method _set_data (line 184) | def _set_data(self, data): method _get_object_list (line 190) | def _get_object_list(self): method iter_choices (line 197) | def iter_choices(self): method process_formdata (line 204) | def process_formdata(self, valuelist): method pre_validate (line 212) | def pre_validate(self, form): class QuerySelectMultipleField (line 224) | class QuerySelectMultipleField(QuerySelectField): method __init__ (line 235) | def __init__(self, label=None, validators=None, default=None, **kwargs): method _get_data (line 247) | def _get_data(self): method _set_data (line 262) | def _set_data(self, data): method iter_choices (line 268) | def iter_choices(self): method process_formdata (line 272) | def process_formdata(self, valuelist): method pre_validate (line 275) | def pre_validate(self, form): function get_pk_from_identity (line 285) | def get_pk_from_identity(obj): class GroupedQuerySelectField (line 290) | class GroupedQuerySelectField(SelectField): method __init__ (line 293) | def __init__( method _get_object_list (line 325) | def _get_object_list(self): method _pre_process_object_list (line 329) | def _pre_process_object_list(self, object_list): method choices (line 335) | def choices(self): method choices (line 356) | def choices(self, value): method data (line 360) | def data(self): method data (line 369) | def data(self, data): method iter_choices (line 373) | def iter_choices(self): method process_formdata (line 389) | def process_formdata(self, valuelist): method pre_validate (line 397) | def pre_validate(self, form): class GroupedQuerySelectMultipleField (line 409) | class GroupedQuerySelectMultipleField(SelectField): method __init__ (line 412) | def __init__( method _get_object_list (line 453) | def _get_object_list(self): method _pre_process_object_list (line 457) | def _pre_process_object_list(self, object_list): method choices (line 463) | def choices(self): method choices (line 484) | def choices(self, value): method data (line 488) | def data(self): method data (line 504) | def data(self, valuelist): method iter_choices (line 508) | def iter_choices(self): method process_formdata (line 521) | def process_formdata(self, valuelist): method pre_validate (line 524) | def pre_validate(self, form): class WeekDaysField (line 535) | class WeekDaysField(SelectMultipleField): method __init__ (line 539) | def __init__(self, *args, **kwargs): method _get_choices (line 544) | def _get_choices(self): method process_data (line 549) | def process_data(self, value): method process_formdata (line 552) | def process_formdata(self, valuelist): method pre_validate (line 555) | def pre_validate(self, form): class PhoneNumberField (line 559) | class PhoneNumberField(StringField): method __init__ (line 576) | def __init__( method _value (line 588) | def _value(self): method process_formdata (line 599) | def process_formdata(self, valuelist): FILE: wtforms_alchemy/generator.py class FormGenerator (line 64) | class FormGenerator: method __init__ (line 125) | def __init__(self, form_class): method create_form (line 137) | def create_form(self, form): method filter_attributes (line 156) | def filter_attributes(self, attrs): method validate_attribute (line 190) | def validate_attribute(self, attr_name): method create_fields (line 218) | def create_fields(self, form, properties): method skip_column_property (line 238) | def skip_column_property(self, column_property): method skip_column (line 249) | def skip_column(self, column): method has_index (line 281) | def has_index(self, column): method create_field (line 295) | def create_field(self, prop, column): method default (line 318) | def default(self, column): method filters (line 330) | def filters(self, column): method date_format (line 346) | def date_format(self, column): method type_specific_parameters (line 360) | def type_specific_parameters(self, column): method widget (line 384) | def widget(self, column): method scale_to_step (line 408) | def scale_to_step(self, scale): method type_agnostic_parameters (line 416) | def type_agnostic_parameters(self, key, column): method select_field_kwargs (line 427) | def select_field_kwargs(self, column): method coerce (line 452) | def coerce(self, column): method create_validators (line 471) | def create_validators(self, prop, column): method required_validator (line 492) | def required_validator(self, column): method get_validator (line 519) | def get_validator(self, name, **kwargs): method additional_validators (line 527) | def additional_validators(self, key, column): method unique_validator (line 548) | def unique_validator(self, key, column): method range_validator (line 562) | def range_validator(self, column): method length_validator (line 580) | def length_validator(self, column): method get_field_class (line 593) | def get_field_class(self, column): FILE: wtforms_alchemy/utils.py function choice_type_coerce_factory (line 11) | def choice_type_coerce_factory(type_): function strip_string (line 34) | def strip_string(value): function is_scalar (line 40) | def is_scalar(value): function null_or_unicode (line 44) | def null_or_unicode(value): function null_or_int (line 48) | def null_or_int(value): function flatten (line 55) | def flatten(list_): function is_number (line 65) | def is_number(type): function is_number_range (line 69) | def is_number_range(type): function is_date_column (line 73) | def is_date_column(column): function table (line 79) | def table(model): function find_entity (line 86) | def find_entity(coll, model, data): function translated_attributes (line 111) | def translated_attributes(model): class ClassMap (line 133) | class ClassMap(OrderedDict): method __init__ (line 145) | def __init__(self, items=None): method __contains__ (line 150) | def __contains__(self, key): method __getitem__ (line 191) | def __getitem__(self, key): FILE: wtforms_alchemy/validators.py class Unique (line 8) | class Unique: method __init__ (line 31) | def __init__(self, column, get_session=None, message=None): method query (line 37) | def query(self): method _check_for_session (line 49) | def _check_for_session(self, model): method _syntaxes_as_tuples (line 53) | def _syntaxes_as_tuples(self, form, field, column): method __call__ (line 69) | def __call__(self, form, field):