timApp.modules.fields package
Contents
timApp.modules.fields package#
Submodules#
timApp.modules.fields.cbcountfield module#
TIM plugin: a checkbox field
- class timApp.modules.fields.cbcountfield.CbAnswerResp[source]#
Bases:
dict
- save: dict[str, Any]#
- tim_info: tim_common.pluginserver_flask.TimInfo#
- class timApp.modules.fields.cbcountfield.CbAnswerWeb[source]#
Bases:
dict
- count: int#
- error: str#
- new: int#
- result: str#
- class timApp.modules.fields.cbcountfield.CbcountfieldAnswerModel(info: tim_common.pluginserver_flask.InfoModel, markup: PluginMarkup, state: Optional[PluginState], taskID: str, input: PluginInput)[source]#
Bases:
tim_common.pluginserver_flask.GenericAnswerModel
[timApp.modules.fields.cbcountfield.TextfieldInputModel
,timApp.modules.fields.cbcountfield.CbcountfieldMarkupModel
,tim_common.common_schemas.TextfieldStateModel
]
- class timApp.modules.fields.cbcountfield.CbcountfieldContext(checked_count: int)[source]#
Bases:
object
- checked_count: int#
- class timApp.modules.fields.cbcountfield.CbcountfieldHtmlModel(info: tim_common.pluginserver_flask.InfoModel | None, markup: ~PluginMarkup, state: Optional[~PluginState], taskID: str, anonymous: bool, current_user_id: str, doLazy: tim_common.pluginserver_flask.Laziness, preview: bool, review: bool, targetFormat: str, taskIDExt: str, user_id: str, userPrint: bool, viewmode: bool, access: str | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
tim_common.pluginserver_flask.GenericHtmlModelWithContext
[timApp.modules.fields.cbcountfield.TextfieldInputModel
,timApp.modules.fields.cbcountfield.CbcountfieldMarkupModel
,tim_common.common_schemas.TextfieldStateModel
,timApp.modules.fields.cbcountfield.CbcountfieldContext
]
- class timApp.modules.fields.cbcountfield.CbcountfieldMarkupModel(accessDuration: int | None | marshmallow.utils._Missing = <marshmallow.missing>, accessEndText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, anonymous: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, answerLimit: int | None | marshmallow.utils._Missing = <marshmallow.missing>, automd: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, buttonNewTask: str | None | marshmallow.utils._Missing = <marshmallow.missing>, cache: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, deadline: Union[tim_common.markupmodels.PluginDateTime, datetime.datetime, NoneType, marshmallow.utils._Missing] = <marshmallow.missing>, fields: list[str] | None | marshmallow.utils._Missing = <marshmallow.missing>, floatHeader: str | None | marshmallow.utils._Missing = <marshmallow.missing>, floatSize: tuple[int, int] | None | marshmallow.utils._Missing = <marshmallow.missing>, header: str | None | marshmallow.utils._Missing = <marshmallow.missing>, headerText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, hideBrowser: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, initNewAnswer: str | None | marshmallow.utils._Missing = <marshmallow.missing>, lazy: bool | marshmallow.utils._Missing = <marshmallow.missing>, maxHeight: str | None | marshmallow.utils._Missing = <marshmallow.missing>, minHeight: str | None | marshmallow.utils._Missing = <marshmallow.missing>, pointsRule: tim_common.markupmodels.PointsRule | None | marshmallow.utils._Missing = <marshmallow.missing>, pointsText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, postprogram: str | marshmallow.utils._Missing = <marshmallow.missing>, postoutput: str | marshmallow.utils._Missing = <marshmallow.missing>, showPoints: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, starttime: Union[tim_common.markupmodels.PluginDateTime, datetime.datetime, NoneType, marshmallow.utils._Missing] = <marshmallow.missing>, showInView: bool | marshmallow.utils._Missing = <marshmallow.missing>, stem: str | None | marshmallow.utils._Missing = <marshmallow.missing>, triesText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, useCurrentUser: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, texafterprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, texbeforeprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, texprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, hidden_keys: list[str] | marshmallow.utils._Missing = <marshmallow.missing>, button: str | None | marshmallow.utils._Missing = <marshmallow.missing>, buttonText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, allowUnsavedLeave: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, disableUnchanged: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, footer: str | marshmallow.utils._Missing = <marshmallow.missing>, forceBrowser: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, globalField: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, readonly: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, lang: str | None | marshmallow.utils._Missing = <marshmallow.missing>, resetText: str | marshmallow.utils._Missing | None = <marshmallow.missing>, connectionErrorMessage: str | marshmallow.utils._Missing = <marshmallow.missing>, undo: tim_common.markupmodels.UndoInfo | marshmallow.utils._Missing | None = <marshmallow.missing>, autosave: bool | marshmallow.utils._Missing = <marshmallow.missing>, autogrow: bool | marshmallow.utils._Missing = <marshmallow.missing>, autoUpdateTables: bool | marshmallow.utils._Missing = True, clearstyles: bool | marshmallow.utils._Missing = <marshmallow.missing>, cols: int | marshmallow.utils._Missing = <marshmallow.missing>, errormessage: str | marshmallow.utils._Missing | None = <marshmallow.missing>, form: bool | marshmallow.utils._Missing = <marshmallow.missing>, rows: int | marshmallow.utils._Missing = <marshmallow.missing>, ignorestyles: bool | marshmallow.utils._Missing = <marshmallow.missing>, initword: str | marshmallow.utils._Missing | None = <marshmallow.missing>, inputplaceholder: str | marshmallow.utils._Missing | None = <marshmallow.missing>, inputstem: str | marshmallow.utils._Missing | None = <marshmallow.missing>, nosave: bool | marshmallow.utils._Missing = <marshmallow.missing>, points_array: list[list[float]] | marshmallow.utils._Missing = <marshmallow.missing>, readOnlyStyle: str | marshmallow.utils._Missing | None = <marshmallow.missing>, showname: int | marshmallow.utils._Missing | None = <marshmallow.missing>, tag: str | marshmallow.utils._Missing | None = <marshmallow.missing>, textarea: bool | marshmallow.utils._Missing = <marshmallow.missing>, validinput: str | marshmallow.utils._Missing | None = <marshmallow.missing>, downloadButton: str | marshmallow.utils._Missing = <marshmallow.missing>, downloadButtonFile: str | marshmallow.utils._Missing = <marshmallow.missing>, groups: list[str] | marshmallow.utils._Missing = <marshmallow.missing>, limit: int | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
timApp.modules.fields.textfield.TextfieldMarkupModel
- groups: list[str] | marshmallow.utils._Missing = <marshmallow.missing>#
- limit: int | marshmallow.utils._Missing = <marshmallow.missing>#
- class timApp.modules.fields.cbcountfield.TextfieldInputModel(c: str, nosave: bool | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
object
Model for the information that is sent from browser (plugin AngularJS component).
- c: str#
- nosave: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- timApp.modules.fields.cbcountfield.cb_answer(args: timApp.modules.fields.cbcountfield.CbcountfieldAnswerModel) timApp.modules.fields.cbcountfield.CbAnswerResp [source]#
- timApp.modules.fields.cbcountfield.cb_reqs() tim_common.pluginserver_flask.PluginReqs [source]#
- timApp.modules.fields.cbcountfield.count_field(user_fields: list[timApp.util.get_fields.UserFieldObj], task_id: str, curr_user: timApp.user.user.User) tuple[int, Union[str, float, NoneType]] [source]#
- timApp.modules.fields.cbcountfield.get_checked_count(markup: timApp.modules.fields.cbcountfield.CbcountfieldMarkupModel, task_id: str, user_id: str) tuple[int, Union[str, float, NoneType]] [source]#
- timApp.modules.fields.cbcountfield.preprocess_multihtml(plugin_list: list[timApp.modules.fields.cbcountfield.CbcountfieldHtmlModel]) None [source]#
- timApp.modules.fields.cbcountfield.render_static_cdfield(m: timApp.modules.fields.cbcountfield.CbcountfieldHtmlModel) str [source]#
timApp.modules.fields.cbfield module#
TIM plugin: a checkbox field
- class timApp.modules.fields.cbfield.CbfieldHtmlModel(info: tim_common.pluginserver_flask.InfoModel | None, markup: ~PluginMarkup, state: Optional[~PluginState], taskID: str, anonymous: bool, current_user_id: str, doLazy: tim_common.pluginserver_flask.Laziness, preview: bool, review: bool, targetFormat: str, taskIDExt: str, user_id: str, userPrint: bool, viewmode: bool, access: str | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
tim_common.pluginserver_flask.GenericHtmlModel
[timApp.modules.fields.textfield.TextfieldInputModel
,timApp.modules.fields.textfield.TextfieldMarkupModel
,tim_common.common_schemas.TextfieldStateModel
]
- timApp.modules.fields.cbfield.cb_answer(args: timApp.modules.fields.textfield.TextfieldAnswerModel) tim_common.pluginserver_flask.PluginAnswerResp [source]#
- timApp.modules.fields.cbfield.cb_reqs() tim_common.pluginserver_flask.PluginReqs [source]#
- timApp.modules.fields.cbfield.render_static_cdfield(m: timApp.modules.fields.cbfield.CbfieldHtmlModel) str [source]#
timApp.modules.fields.dropdown module#
Module for serving dropdown item-plugin.
- class timApp.modules.fields.dropdown.DropdownAnswerModel(info: tim_common.pluginserver_flask.InfoModel, markup: PluginMarkup, state: Optional[PluginState], taskID: str, input: PluginInput)[source]#
Bases:
tim_common.pluginserver_flask.GenericAnswerModel
[timApp.modules.fields.dropdown.DropdownInputModel
,timApp.modules.fields.dropdown.DropdownMarkupModel
,timApp.modules.fields.dropdown.DropdownStateModel
]
- class timApp.modules.fields.dropdown.DropdownHtmlModel(info: tim_common.pluginserver_flask.InfoModel | None, markup: ~PluginMarkup, state: Optional[~PluginState], taskID: str, anonymous: bool, current_user_id: str, doLazy: tim_common.pluginserver_flask.Laziness, preview: bool, review: bool, targetFormat: str, taskIDExt: str, user_id: str, userPrint: bool, viewmode: bool, access: str | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
tim_common.pluginserver_flask.GenericHtmlModel
[timApp.modules.fields.dropdown.DropdownInputModel
,timApp.modules.fields.dropdown.DropdownMarkupModel
,timApp.modules.fields.dropdown.DropdownStateModel
]
- class timApp.modules.fields.dropdown.DropdownInputModel(selectedWord: str, nosave: bool | marshmallow.utils._Missing = <marshmallow.missing>, shuffle: bool | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
object
- nosave: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- selectedWord: str#
- shuffle: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- class timApp.modules.fields.dropdown.DropdownMarkupModel(accessDuration: int | None | marshmallow.utils._Missing = <marshmallow.missing>, accessEndText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, anonymous: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, answerLimit: int | None | marshmallow.utils._Missing = <marshmallow.missing>, automd: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, buttonNewTask: str | None | marshmallow.utils._Missing = <marshmallow.missing>, cache: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, deadline: Union[tim_common.markupmodels.PluginDateTime, datetime.datetime, NoneType, marshmallow.utils._Missing] = <marshmallow.missing>, fields: list[str] | None | marshmallow.utils._Missing = <marshmallow.missing>, floatHeader: str | None | marshmallow.utils._Missing = <marshmallow.missing>, floatSize: tuple[int, int] | None | marshmallow.utils._Missing = <marshmallow.missing>, header: str | None | marshmallow.utils._Missing = <marshmallow.missing>, headerText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, hideBrowser: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, initNewAnswer: str | None | marshmallow.utils._Missing = <marshmallow.missing>, lazy: bool | marshmallow.utils._Missing = <marshmallow.missing>, maxHeight: str | None | marshmallow.utils._Missing = <marshmallow.missing>, minHeight: str | None | marshmallow.utils._Missing = <marshmallow.missing>, pointsRule: tim_common.markupmodels.PointsRule | None | marshmallow.utils._Missing = <marshmallow.missing>, pointsText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, postprogram: str | marshmallow.utils._Missing = <marshmallow.missing>, postoutput: str | marshmallow.utils._Missing = <marshmallow.missing>, showPoints: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, starttime: Union[tim_common.markupmodels.PluginDateTime, datetime.datetime, NoneType, marshmallow.utils._Missing] = <marshmallow.missing>, showInView: bool | marshmallow.utils._Missing = <marshmallow.missing>, stem: str | None | marshmallow.utils._Missing = <marshmallow.missing>, triesText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, useCurrentUser: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, texafterprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, texbeforeprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, texprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, hidden_keys: list[str] | marshmallow.utils._Missing = <marshmallow.missing>, button: str | None | marshmallow.utils._Missing = <marshmallow.missing>, buttonText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, allowUnsavedLeave: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, disableUnchanged: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, footer: str | marshmallow.utils._Missing = <marshmallow.missing>, forceBrowser: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, globalField: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, readonly: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, lang: str | None | marshmallow.utils._Missing = <marshmallow.missing>, resetText: str | marshmallow.utils._Missing | None = <marshmallow.missing>, connectionErrorMessage: str | marshmallow.utils._Missing = <marshmallow.missing>, undo: tim_common.markupmodels.UndoInfo | marshmallow.utils._Missing | None = <marshmallow.missing>, words: list[str] | marshmallow.utils._Missing = <marshmallow.missing>, wordAliases: dict[str, str] | marshmallow.utils._Missing = <marshmallow.missing>, instruction: bool | marshmallow.utils._Missing = <marshmallow.missing>, radio: bool | marshmallow.utils._Missing = <marshmallow.missing>, shuffle: bool | marshmallow.utils._Missing = <marshmallow.missing>, autosave: bool | marshmallow.utils._Missing = <marshmallow.missing>, answers: bool | marshmallow.utils._Missing = <marshmallow.missing>, tag: str | marshmallow.utils._Missing | None = <marshmallow.missing>)[source]#
Bases:
tim_common.markupmodels.GenericMarkupModel
- answers: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- autosave: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- instruction: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- radio: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- shuffle: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- tag: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- wordAliases: dict[str, str] | marshmallow.utils._Missing = <marshmallow.missing>#
- words: list[str] | marshmallow.utils._Missing = <marshmallow.missing>#
- timApp.modules.fields.dropdown.answer(args: timApp.modules.fields.dropdown.DropdownAnswerModel) tim_common.pluginserver_flask.PluginAnswerResp [source]#
- timApp.modules.fields.dropdown.render_static_dropdown(m: timApp.modules.fields.dropdown.DropdownHtmlModel) str [source]#
- timApp.modules.fields.dropdown.reqs() tim_common.pluginserver_flask.PluginReqs [source]#
timApp.modules.fields.field module#
TIM plugin: a field to start other fileds
timApp.modules.fields.goaltable module#
TIM plugin: a radiobutton field
- class timApp.modules.fields.goaltable.GoalTableAnswerModel(info: tim_common.pluginserver_flask.InfoModel, markup: PluginMarkup, state: Optional[PluginState], taskID: str, input: PluginInput)[source]#
Bases:
tim_common.pluginserver_flask.GenericAnswerModel
[timApp.modules.fields.goaltable.GoalTableInputModel
,timApp.modules.fields.goaltable.GoalTableMarkupModel
,timApp.modules.fields.goaltable.GoalTableStateModel
]
- class timApp.modules.fields.goaltable.GoalTableHtmlModel(info: tim_common.pluginserver_flask.InfoModel | None, markup: ~PluginMarkup, state: Optional[~PluginState], taskID: str, anonymous: bool, current_user_id: str, doLazy: tim_common.pluginserver_flask.Laziness, preview: bool, review: bool, targetFormat: str, taskIDExt: str, user_id: str, userPrint: bool, viewmode: bool, access: str | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
tim_common.pluginserver_flask.GenericHtmlModel
[timApp.modules.fields.goaltable.GoalTableInputModel
,timApp.modules.fields.goaltable.GoalTableMarkupModel
,timApp.modules.fields.goaltable.GoalTableStateModel
]
- class timApp.modules.fields.goaltable.GoalTableInputModel(c: dict[str, str] | marshmallow.utils._Missing = <marshmallow.missing>, nosave: bool | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
object
Model for the information that is sent from browser (plugin AngularJS component).
- c: dict[str, str] | marshmallow.utils._Missing = <marshmallow.missing>#
- nosave: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- class timApp.modules.fields.goaltable.GoalTableMarkupModel(accessDuration: int | None | marshmallow.utils._Missing = <marshmallow.missing>, accessEndText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, anonymous: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, answerLimit: int | None | marshmallow.utils._Missing = <marshmallow.missing>, automd: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, buttonNewTask: str | None | marshmallow.utils._Missing = <marshmallow.missing>, cache: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, deadline: Union[tim_common.markupmodels.PluginDateTime, datetime.datetime, NoneType, marshmallow.utils._Missing] = <marshmallow.missing>, fields: list[str] | None | marshmallow.utils._Missing = <marshmallow.missing>, floatHeader: str | None | marshmallow.utils._Missing = <marshmallow.missing>, floatSize: tuple[int, int] | None | marshmallow.utils._Missing = <marshmallow.missing>, header: str | None | marshmallow.utils._Missing = <marshmallow.missing>, headerText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, hideBrowser: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, initNewAnswer: str | None | marshmallow.utils._Missing = <marshmallow.missing>, lazy: bool | marshmallow.utils._Missing = <marshmallow.missing>, maxHeight: str | None | marshmallow.utils._Missing = <marshmallow.missing>, minHeight: str | None | marshmallow.utils._Missing = <marshmallow.missing>, pointsRule: tim_common.markupmodels.PointsRule | None | marshmallow.utils._Missing = <marshmallow.missing>, pointsText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, postprogram: str | marshmallow.utils._Missing = <marshmallow.missing>, postoutput: str | marshmallow.utils._Missing = <marshmallow.missing>, showPoints: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, starttime: Union[tim_common.markupmodels.PluginDateTime, datetime.datetime, NoneType, marshmallow.utils._Missing] = <marshmallow.missing>, showInView: bool | marshmallow.utils._Missing = <marshmallow.missing>, stem: str | None | marshmallow.utils._Missing = <marshmallow.missing>, triesText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, useCurrentUser: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, texafterprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, texbeforeprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, texprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, hidden_keys: list[str] | marshmallow.utils._Missing = <marshmallow.missing>, button: str | None | marshmallow.utils._Missing = <marshmallow.missing>, buttonText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, allowUnsavedLeave: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, disableUnchanged: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, footer: str | marshmallow.utils._Missing = <marshmallow.missing>, forceBrowser: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, globalField: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, readonly: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, lang: str | None | marshmallow.utils._Missing = <marshmallow.missing>, resetText: str | marshmallow.utils._Missing | None = <marshmallow.missing>, connectionErrorMessage: str | marshmallow.utils._Missing = <marshmallow.missing>, undo: tim_common.markupmodels.UndoInfo | marshmallow.utils._Missing | None = <marshmallow.missing>, editText: str | marshmallow.utils._Missing | None = <marshmallow.missing>, goalText: str | marshmallow.utils._Missing | None = <marshmallow.missing>, bloom: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, borders: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, goals: list[str] | marshmallow.utils._Missing | None = <marshmallow.missing>, goalscale: list[str] | marshmallow.utils._Missing | None = <marshmallow.missing>, mingoal: int | marshmallow.utils._Missing | None = <marshmallow.missing>, maxgoal: int | marshmallow.utils._Missing | None = <marshmallow.missing>, initgoal: int | marshmallow.utils._Missing | None = <marshmallow.missing>)[source]#
Bases:
tim_common.markupmodels.GenericMarkupModel
- bloom: bool | marshmallow.utils._Missing | None = <marshmallow.missing>#
- borders: bool | marshmallow.utils._Missing | None = <marshmallow.missing>#
- editText: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- goalText: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- goals: list[str] | marshmallow.utils._Missing | None = <marshmallow.missing>#
- goalscale: list[str] | marshmallow.utils._Missing | None = <marshmallow.missing>#
- initgoal: int | marshmallow.utils._Missing | None = <marshmallow.missing>#
- maxgoal: int | marshmallow.utils._Missing | None = <marshmallow.missing>#
- mingoal: int | marshmallow.utils._Missing | None = <marshmallow.missing>#
- class timApp.modules.fields.goaltable.GoalTableStateModel(c: dict[str, str] | marshmallow.utils._Missing = <marshmallow.missing>, styles: dict[str, str] | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
object
Model for the information that is stored in TIM database for each answer.
- c: dict[str, str] | marshmallow.utils._Missing = <marshmallow.missing>#
- styles: dict[str, str] | marshmallow.utils._Missing = <marshmallow.missing>#
- timApp.modules.fields.goaltable.goaltable_answer(args: timApp.modules.fields.goaltable.GoalTableAnswerModel) tim_common.pluginserver_flask.PluginAnswerResp [source]#
- timApp.modules.fields.goaltable.goaltable_reqs() tim_common.pluginserver_flask.PluginReqs [source]#
- timApp.modules.fields.goaltable.render_md_goaltable(m: timApp.modules.fields.goaltable.GoalTableHtmlModel) str [source]#
- timApp.modules.fields.goaltable.render_static_goaltable(m: timApp.modules.fields.goaltable.GoalTableHtmlModel) str [source]#
timApp.modules.fields.multisave module#
A button plugin to save other plugins on the same page
- class timApp.modules.fields.multisave.MultisaveHtmlModel(info: tim_common.pluginserver_flask.InfoModel | None, markup: ~PluginMarkup, state: Optional[~PluginState], taskID: str, anonymous: bool, current_user_id: str, doLazy: tim_common.pluginserver_flask.Laziness, preview: bool, review: bool, targetFormat: str, taskIDExt: str, user_id: str, userPrint: bool, viewmode: bool, access: str | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
tim_common.pluginserver_flask.GenericHtmlModel
[timApp.modules.fields.multisave.MultisaveInputModel
,timApp.modules.fields.multisave.MultisaveMarkupModel
,timApp.modules.fields.multisave.MultisaveStateModel
]
- class timApp.modules.fields.multisave.MultisaveInputModel[source]#
Bases:
object
Model for the information that is sent from browser (plugin AngularJS component).
- class timApp.modules.fields.multisave.MultisaveMarkupModel(accessDuration: int | None | marshmallow.utils._Missing = <marshmallow.missing>, accessEndText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, anonymous: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, answerLimit: int | None | marshmallow.utils._Missing = <marshmallow.missing>, automd: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, buttonNewTask: str | None | marshmallow.utils._Missing = <marshmallow.missing>, cache: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, deadline: Union[tim_common.markupmodels.PluginDateTime, datetime.datetime, NoneType, marshmallow.utils._Missing] = <marshmallow.missing>, fields: list[str] | marshmallow.utils._Missing = <marshmallow.missing>, floatHeader: str | None | marshmallow.utils._Missing = <marshmallow.missing>, floatSize: tuple[int, int] | None | marshmallow.utils._Missing = <marshmallow.missing>, header: str | None | marshmallow.utils._Missing = <marshmallow.missing>, headerText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, hideBrowser: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, initNewAnswer: str | None | marshmallow.utils._Missing = <marshmallow.missing>, lazy: bool | marshmallow.utils._Missing = <marshmallow.missing>, maxHeight: str | None | marshmallow.utils._Missing = <marshmallow.missing>, minHeight: str | None | marshmallow.utils._Missing = <marshmallow.missing>, pointsRule: tim_common.markupmodels.PointsRule | None | marshmallow.utils._Missing = <marshmallow.missing>, pointsText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, postprogram: str | marshmallow.utils._Missing = <marshmallow.missing>, postoutput: str | marshmallow.utils._Missing = <marshmallow.missing>, showPoints: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, starttime: Union[tim_common.markupmodels.PluginDateTime, datetime.datetime, NoneType, marshmallow.utils._Missing] = <marshmallow.missing>, showInView: bool | marshmallow.utils._Missing = <marshmallow.missing>, stem: str | None | marshmallow.utils._Missing = <marshmallow.missing>, triesText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, useCurrentUser: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, texafterprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, texbeforeprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, texprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, hidden_keys: list[str] | marshmallow.utils._Missing = <marshmallow.missing>, button: str | None | marshmallow.utils._Missing = <marshmallow.missing>, buttonText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, allowUnsavedLeave: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, disableUnchanged: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, footer: str | marshmallow.utils._Missing = <marshmallow.missing>, forceBrowser: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, globalField: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, readonly: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, lang: str | None | marshmallow.utils._Missing = <marshmallow.missing>, resetText: str | marshmallow.utils._Missing | None = <marshmallow.missing>, connectionErrorMessage: str | marshmallow.utils._Missing = <marshmallow.missing>, undo: tim_common.markupmodels.UndoInfo | marshmallow.utils._Missing | None = <marshmallow.missing>, aliases: dict[str, str] | marshmallow.utils._Missing = <marshmallow.missing>, areas: list[str] | marshmallow.utils._Missing = <marshmallow.missing>, autoUpdateDuplicates: bool | marshmallow.utils._Missing = True, autoUpdateTables: bool | marshmallow.utils._Missing = True, allSavedText: str | marshmallow.utils._Missing = <marshmallow.missing>, jumplink: str | marshmallow.utils._Missing | None = <marshmallow.missing>, jumptarget: str | marshmallow.utils._Missing | None = <marshmallow.missing>, listener: bool | marshmallow.utils._Missing = False, livefeed: bool | marshmallow.utils._Missing = False, savedText: str | marshmallow.utils._Missing = <marshmallow.missing>, tags: list[str] | marshmallow.utils._Missing = <marshmallow.missing>, unsavedText: str | marshmallow.utils._Missing = <marshmallow.missing>, destCourse: str | marshmallow.utils._Missing = <marshmallow.missing>, group: str | list[str] | marshmallow.utils._Missing = <marshmallow.missing>, includeUsers: str | marshmallow.utils._Missing = <marshmallow.missing>, testOnly: bool | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
tim_common.markupmodels.GenericMarkupModel
- aliases: dict[str, str] | marshmallow.utils._Missing = <marshmallow.missing>#
- allSavedText: str | marshmallow.utils._Missing = <marshmallow.missing>#
- areas: list[str] | marshmallow.utils._Missing = <marshmallow.missing>#
- autoUpdateDuplicates: bool | marshmallow.utils._Missing = True#
- autoUpdateTables: bool | marshmallow.utils._Missing = True#
- destCourse: str | marshmallow.utils._Missing = <marshmallow.missing>#
- fields: list[str] | marshmallow.utils._Missing = <marshmallow.missing>#
- group: str | list[str] | marshmallow.utils._Missing = <marshmallow.missing>#
- includeUsers: str | marshmallow.utils._Missing = <marshmallow.missing>#
- jumplink: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- jumptarget: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- listener: bool | marshmallow.utils._Missing = False#
- livefeed: bool | marshmallow.utils._Missing = False#
- savedText: str | marshmallow.utils._Missing = <marshmallow.missing>#
- tags: list[str] | marshmallow.utils._Missing = <marshmallow.missing>#
- testOnly: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- unsavedText: str | marshmallow.utils._Missing = <marshmallow.missing>#
- class timApp.modules.fields.multisave.MultisaveStateModel[source]#
Bases:
object
Model for the information that is stored in TIM database for each answer.
- timApp.modules.fields.multisave.render_static_multisave(m: timApp.modules.fields.multisave.MultisaveHtmlModel) str [source]#
- timApp.modules.fields.multisave.reqs() tim_common.pluginserver_flask.PluginReqs [source]#
timApp.modules.fields.numericfield module#
TIM plugin: a numericfield
- class timApp.modules.fields.numericfield.NumericFieldAnswerWeb[source]#
Bases:
dict
- error: str#
- result: str#
- value: str | float | int#
- class timApp.modules.fields.numericfield.NumericfieldAnswerModel(info: tim_common.pluginserver_flask.InfoModel, markup: PluginMarkup, state: Optional[PluginState], taskID: str, input: PluginInput)[source]#
Bases:
tim_common.pluginserver_flask.GenericAnswerModel
[timApp.modules.fields.numericfield.NumericfieldInputModel
,timApp.modules.fields.numericfield.NumericfieldMarkupModel
,tim_common.common_schemas.TextfieldStateModel
]
- class timApp.modules.fields.numericfield.NumericfieldHtmlModel(info: tim_common.pluginserver_flask.InfoModel | None, markup: ~PluginMarkup, state: Optional[~PluginState], taskID: str, anonymous: bool, current_user_id: str, doLazy: tim_common.pluginserver_flask.Laziness, preview: bool, review: bool, targetFormat: str, taskIDExt: str, user_id: str, userPrint: bool, viewmode: bool, access: str | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
tim_common.pluginserver_flask.GenericHtmlModel
[timApp.modules.fields.numericfield.NumericfieldInputModel
,timApp.modules.fields.numericfield.NumericfieldMarkupModel
,tim_common.common_schemas.TextfieldStateModel
]
- class timApp.modules.fields.numericfield.NumericfieldInputModel(c: str | marshmallow.utils._Missing | None = <marshmallow.missing>, nosave: bool | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
object
Model for the information that is sent from browser (plugin AngularJS component).
- c: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- nosave: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- class timApp.modules.fields.numericfield.NumericfieldMarkupModel(accessDuration: int | None | marshmallow.utils._Missing = <marshmallow.missing>, accessEndText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, anonymous: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, answerLimit: int | None | marshmallow.utils._Missing = <marshmallow.missing>, automd: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, buttonNewTask: str | None | marshmallow.utils._Missing = <marshmallow.missing>, cache: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, deadline: Union[tim_common.markupmodels.PluginDateTime, datetime.datetime, NoneType, marshmallow.utils._Missing] = <marshmallow.missing>, fields: list[str] | None | marshmallow.utils._Missing = <marshmallow.missing>, floatHeader: str | None | marshmallow.utils._Missing = <marshmallow.missing>, floatSize: tuple[int, int] | None | marshmallow.utils._Missing = <marshmallow.missing>, header: str | None | marshmallow.utils._Missing = <marshmallow.missing>, headerText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, hideBrowser: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, initNewAnswer: str | None | marshmallow.utils._Missing = <marshmallow.missing>, lazy: bool | marshmallow.utils._Missing = <marshmallow.missing>, maxHeight: str | None | marshmallow.utils._Missing = <marshmallow.missing>, minHeight: str | None | marshmallow.utils._Missing = <marshmallow.missing>, pointsRule: tim_common.markupmodels.PointsRule | None | marshmallow.utils._Missing = <marshmallow.missing>, pointsText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, postprogram: str | marshmallow.utils._Missing = <marshmallow.missing>, postoutput: str | marshmallow.utils._Missing = <marshmallow.missing>, showPoints: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, starttime: Union[tim_common.markupmodels.PluginDateTime, datetime.datetime, NoneType, marshmallow.utils._Missing] = <marshmallow.missing>, showInView: bool | marshmallow.utils._Missing = <marshmallow.missing>, stem: str | None | marshmallow.utils._Missing = <marshmallow.missing>, triesText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, useCurrentUser: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, texafterprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, texbeforeprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, texprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, hidden_keys: list[str] | marshmallow.utils._Missing = <marshmallow.missing>, button: str | None | marshmallow.utils._Missing = <marshmallow.missing>, buttonText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, allowUnsavedLeave: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, disableUnchanged: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, footer: str | marshmallow.utils._Missing = <marshmallow.missing>, forceBrowser: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, globalField: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, readonly: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, lang: str | None | marshmallow.utils._Missing = <marshmallow.missing>, resetText: str | marshmallow.utils._Missing | None = <marshmallow.missing>, connectionErrorMessage: str | marshmallow.utils._Missing = <marshmallow.missing>, undo: tim_common.markupmodels.UndoInfo | marshmallow.utils._Missing | None = <marshmallow.missing>, arrows: bool | marshmallow.utils._Missing = <marshmallow.missing>, autosave: bool | marshmallow.utils._Missing = <marshmallow.missing>, autoUpdateTables: bool | marshmallow.utils._Missing = True, clearstyles: bool | marshmallow.utils._Missing = <marshmallow.missing>, cols: int | marshmallow.utils._Missing = <marshmallow.missing>, errormessage: str | marshmallow.utils._Missing | None = <marshmallow.missing>, form: bool | marshmallow.utils._Missing = <marshmallow.missing>, ignorestyles: bool | marshmallow.utils._Missing = <marshmallow.missing>, initnumber: float | marshmallow.utils._Missing | None = <marshmallow.missing>, inputplaceholder: int | marshmallow.utils._Missing | None = <marshmallow.missing>, inputstem: str | marshmallow.utils._Missing | None = <marshmallow.missing>, nosave: bool | marshmallow.utils._Missing = <marshmallow.missing>, points_array: list[list[str]] | marshmallow.utils._Missing = <marshmallow.missing>, readOnlyStyle: str | marshmallow.utils._Missing | None = <marshmallow.missing>, save: str | marshmallow.utils._Missing | None = <marshmallow.missing>, step: float | marshmallow.utils._Missing | None = <marshmallow.missing>, tag: str | marshmallow.utils._Missing | None = <marshmallow.missing>, validinput: str | marshmallow.utils._Missing | None = <marshmallow.missing>, verticalkeys: bool | marshmallow.utils._Missing = <marshmallow.missing>, wheel: bool | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
tim_common.markupmodels.GenericMarkupModel
- arrows: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- autoUpdateTables: bool | marshmallow.utils._Missing = True#
- autosave: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- clearstyles: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- cols: int | marshmallow.utils._Missing = <marshmallow.missing>#
- errormessage: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- form: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- ignorestyles: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- initnumber: float | marshmallow.utils._Missing | None = <marshmallow.missing>#
- inputplaceholder: int | marshmallow.utils._Missing | None = <marshmallow.missing>#
- inputstem: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- nosave: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- points_array: list[list[str]] | marshmallow.utils._Missing = <marshmallow.missing>#
- readOnlyStyle: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- save: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- step: float | marshmallow.utils._Missing | None = <marshmallow.missing>#
- tag: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- validinput: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- verticalkeys: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- wheel: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- timApp.modules.fields.numericfield.answer(args: timApp.modules.fields.numericfield.NumericfieldAnswerModel) tim_common.pluginserver_flask.PluginAnswerResp [source]#
- timApp.modules.fields.numericfield.render_static_numericfield(m: timApp.modules.fields.numericfield.NumericfieldHtmlModel) str [source]#
- timApp.modules.fields.numericfield.reqs() tim_common.pluginserver_flask.PluginReqs [source]#
timApp.modules.fields.rbfield module#
TIM plugin: a radiobutton field
- class timApp.modules.fields.rbfield.RbfieldHtmlModel(info: tim_common.pluginserver_flask.InfoModel | None, markup: ~PluginMarkup, state: Optional[~PluginState], taskID: str, anonymous: bool, current_user_id: str, doLazy: tim_common.pluginserver_flask.Laziness, preview: bool, review: bool, targetFormat: str, taskIDExt: str, user_id: str, userPrint: bool, viewmode: bool, access: str | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
tim_common.pluginserver_flask.GenericHtmlModel
[timApp.modules.fields.textfield.TextfieldInputModel
,timApp.modules.fields.textfield.TextfieldMarkupModel
,tim_common.common_schemas.TextfieldStateModel
]
- timApp.modules.fields.rbfield.rb_answer(args: timApp.modules.fields.textfield.TextfieldAnswerModel) tim_common.pluginserver_flask.PluginAnswerResp [source]#
- timApp.modules.fields.rbfield.rb_reqs() tim_common.pluginserver_flask.PluginReqs [source]#
- timApp.modules.fields.rbfield.render_static_rbfield(m: timApp.modules.fields.rbfield.RbfieldHtmlModel) str [source]#
timApp.modules.fields.textfield module#
TIM plugin: a textfield
- class timApp.modules.fields.textfield.TextfieldAnswerModel(info: tim_common.pluginserver_flask.InfoModel, markup: PluginMarkup, state: Optional[PluginState], taskID: str, input: PluginInput)[source]#
Bases:
tim_common.pluginserver_flask.GenericAnswerModel
[timApp.modules.fields.textfield.TextfieldInputModel
,timApp.modules.fields.textfield.TextfieldMarkupModel
,tim_common.common_schemas.TextfieldStateModel
]
- class timApp.modules.fields.textfield.TextfieldAnswerWeb[source]#
Bases:
dict
- error: str#
- result: str#
- class timApp.modules.fields.textfield.TextfieldHtmlModel(info: tim_common.pluginserver_flask.InfoModel | None, markup: ~PluginMarkup, state: Optional[~PluginState], taskID: str, anonymous: bool, current_user_id: str, doLazy: tim_common.pluginserver_flask.Laziness, preview: bool, review: bool, targetFormat: str, taskIDExt: str, user_id: str, userPrint: bool, viewmode: bool, access: str | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
tim_common.pluginserver_flask.GenericHtmlModel
[timApp.modules.fields.textfield.TextfieldInputModel
,timApp.modules.fields.textfield.TextfieldMarkupModel
,tim_common.common_schemas.TextfieldStateModel
]
- class timApp.modules.fields.textfield.TextfieldInputModel(c: str, nosave: bool | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
object
Model for the information that is sent from browser (plugin AngularJS component).
- c: str#
- nosave: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- class timApp.modules.fields.textfield.TextfieldMarkupModel(accessDuration: int | None | marshmallow.utils._Missing = <marshmallow.missing>, accessEndText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, anonymous: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, answerLimit: int | None | marshmallow.utils._Missing = <marshmallow.missing>, automd: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, buttonNewTask: str | None | marshmallow.utils._Missing = <marshmallow.missing>, cache: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, deadline: Union[tim_common.markupmodels.PluginDateTime, datetime.datetime, NoneType, marshmallow.utils._Missing] = <marshmallow.missing>, fields: list[str] | None | marshmallow.utils._Missing = <marshmallow.missing>, floatHeader: str | None | marshmallow.utils._Missing = <marshmallow.missing>, floatSize: tuple[int, int] | None | marshmallow.utils._Missing = <marshmallow.missing>, header: str | None | marshmallow.utils._Missing = <marshmallow.missing>, headerText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, hideBrowser: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, initNewAnswer: str | None | marshmallow.utils._Missing = <marshmallow.missing>, lazy: bool | marshmallow.utils._Missing = <marshmallow.missing>, maxHeight: str | None | marshmallow.utils._Missing = <marshmallow.missing>, minHeight: str | None | marshmallow.utils._Missing = <marshmallow.missing>, pointsRule: tim_common.markupmodels.PointsRule | None | marshmallow.utils._Missing = <marshmallow.missing>, pointsText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, postprogram: str | marshmallow.utils._Missing = <marshmallow.missing>, postoutput: str | marshmallow.utils._Missing = <marshmallow.missing>, showPoints: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, starttime: Union[tim_common.markupmodels.PluginDateTime, datetime.datetime, NoneType, marshmallow.utils._Missing] = <marshmallow.missing>, showInView: bool | marshmallow.utils._Missing = <marshmallow.missing>, stem: str | None | marshmallow.utils._Missing = <marshmallow.missing>, triesText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, useCurrentUser: bool | None | marshmallow.utils._Missing = <marshmallow.missing>, texafterprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, texbeforeprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, texprint: str | None | marshmallow.utils._Missing = <marshmallow.missing>, hidden_keys: list[str] | marshmallow.utils._Missing = <marshmallow.missing>, button: str | None | marshmallow.utils._Missing = <marshmallow.missing>, buttonText: str | None | marshmallow.utils._Missing = <marshmallow.missing>, allowUnsavedLeave: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, disableUnchanged: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, footer: str | marshmallow.utils._Missing = <marshmallow.missing>, forceBrowser: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, globalField: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, readonly: bool | marshmallow.utils._Missing | None = <marshmallow.missing>, lang: str | None | marshmallow.utils._Missing = <marshmallow.missing>, resetText: str | marshmallow.utils._Missing | None = <marshmallow.missing>, connectionErrorMessage: str | marshmallow.utils._Missing = <marshmallow.missing>, undo: tim_common.markupmodels.UndoInfo | marshmallow.utils._Missing | None = <marshmallow.missing>, autosave: bool | marshmallow.utils._Missing = <marshmallow.missing>, autogrow: bool | marshmallow.utils._Missing = <marshmallow.missing>, autoUpdateTables: bool | marshmallow.utils._Missing = True, clearstyles: bool | marshmallow.utils._Missing = <marshmallow.missing>, cols: int | marshmallow.utils._Missing = <marshmallow.missing>, errormessage: str | marshmallow.utils._Missing | None = <marshmallow.missing>, form: bool | marshmallow.utils._Missing = <marshmallow.missing>, rows: int | marshmallow.utils._Missing = <marshmallow.missing>, ignorestyles: bool | marshmallow.utils._Missing = <marshmallow.missing>, initword: str | marshmallow.utils._Missing | None = <marshmallow.missing>, inputplaceholder: str | marshmallow.utils._Missing | None = <marshmallow.missing>, inputstem: str | marshmallow.utils._Missing | None = <marshmallow.missing>, nosave: bool | marshmallow.utils._Missing = <marshmallow.missing>, points_array: list[list[float]] | marshmallow.utils._Missing = <marshmallow.missing>, readOnlyStyle: str | marshmallow.utils._Missing | None = <marshmallow.missing>, showname: int | marshmallow.utils._Missing | None = <marshmallow.missing>, tag: str | marshmallow.utils._Missing | None = <marshmallow.missing>, textarea: bool | marshmallow.utils._Missing = <marshmallow.missing>, validinput: str | marshmallow.utils._Missing | None = <marshmallow.missing>, downloadButton: str | marshmallow.utils._Missing = <marshmallow.missing>, downloadButtonFile: str | marshmallow.utils._Missing = <marshmallow.missing>)[source]#
Bases:
tim_common.markupmodels.GenericMarkupModel
- autoUpdateTables: bool | marshmallow.utils._Missing = True#
- autogrow: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- autosave: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- clearstyles: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- cols: int | marshmallow.utils._Missing = <marshmallow.missing>#
- downloadButton: str | marshmallow.utils._Missing = <marshmallow.missing>#
- downloadButtonFile: str | marshmallow.utils._Missing = <marshmallow.missing>#
- errormessage: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- form: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- ignorestyles: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- initword: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- inputplaceholder: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- inputstem: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- nosave: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- points_array: list[list[float]] | marshmallow.utils._Missing = <marshmallow.missing>#
- readOnlyStyle: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- rows: int | marshmallow.utils._Missing = <marshmallow.missing>#
- showname: int | marshmallow.utils._Missing | None = <marshmallow.missing>#
- tag: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- textarea: bool | marshmallow.utils._Missing = <marshmallow.missing>#
- validinput: str | marshmallow.utils._Missing | None = <marshmallow.missing>#
- timApp.modules.fields.textfield.answer(args: timApp.modules.fields.textfield.TextfieldAnswerModel) tim_common.pluginserver_flask.PluginAnswerResp [source]#
- timApp.modules.fields.textfield.render_static_textfield(m: timApp.modules.fields.textfield.TextfieldHtmlModel) str [source]#
- timApp.modules.fields.textfield.reqs() tim_common.pluginserver_flask.PluginReqs [source]#