form.submissions ================ .. py:module:: form.submissions Attributes ---------- .. autoapisummary:: form.submissions._FormT Functions --------- .. autoapisummary:: form.submissions.prepare_for_submission form.submissions.get_fields Module Contents --------------- .. py:data:: _FormT .. py:function:: prepare_for_submission(form_class: type[_FormT], for_change_request: bool = False, force_simple: bool = True) -> type[_FormT] .. py:function:: get_fields(form_class: type[onegov.form.Form], names_only: Literal[False] = False, exclude: collections.abc.Collection[str] | None = None) -> collections.abc.Iterator[tuple[str, wtforms.fields.core.UnboundField[Any]]] get_fields(form_class: type[onegov.form.Form], names_only: Literal[True], exclude: collections.abc.Collection[str] | None = None) -> collections.abc.Iterator[str] Takes an unbound form and returns the name of the fields