class Meta: """Metadata class.""" model = Group type_map = ClassMap({ChoiceType: RadioField}) exclude = [ 'is_managed', 'privacy_policy', 'subscription_policy', ]
class Meta: model = ModelTest not_null_validator_type_map = ClassMap() not_null_validator = None
class Meta: model = ModelTest not_null_validator_type_map = ClassMap( [(sa.String, validator)] ) not_null_validator = []
class Meta: type_map = ClassMap({Boolean: ToggleButtonsField}) model = TranscriptSettings
class Meta: type_map = ClassMap({CountryType: CustomCountryField})
class Meta: model = Group type_map = ClassMap({ChoiceType: RadioField}) exclude = [ 'is_managed', ]