wtfs.fields.hint

Classes

HintWidget

HintField

Field base class

Module Contents

class wtfs.fields.hint.HintWidget[source]
__call__(field: HintField, **kwargs: Any) markupsafe.Markup[source]
class wtfs.fields.hint.HintField(label: str | None = None, validators: Validators[_FormT, Self] | None = None, filters: Sequence[_Filter] = (), description: str = '', id: str | None = None, default: None = None, widget: _Widget[Self] | None = None, render_kw: dict[str, Any] | None = None, name: str | None = None, _form: BaseForm | None = None, _prefix: str = '', _translations: _SupportsGettextAndNgettext | None = None, _meta: DefaultMeta | None = None, *, macro: str | None = None, fieldset: str | None = None, depends_on: Sequence[Any] | None = None, pricing: PricingRules | None = None)[source]

Bases: wtforms.fields.Field

Field base class

widget[source]
populate_obj(obj: object, name: str) None[source]

Populates obj.<name> with the field’s data.

Note:

This is a destructive operation. If obj.<name> already exists, it will be overridden. Use with caution.