Package coprs :: Module forms :: Class PackageFormMock
[hide private]
[frames] | no frames]

FormMeta PackageFormMock

source code


@deprecated

Nested Classes [hide private]

Inherited from wtforms.form.Form: Meta

Instance Methods [hide private]

Inherited from flask_wtf.form.Form: __init__, generate_csrf_token, hidden_tag, is_submitted, validate_csrf_data, validate_csrf_token, validate_on_submit

Inherited from flask_wtf.form.Form (private): _get_translations

Inherited from wtforms.form.Form: __delattr__, __delitem__, __setitem__, validate

Inherited from wtforms.form.BaseForm: __contains__, __getitem__, __iter__, populate_obj, process

Class Variables [hide private]
  scm_type = <UnboundField(SelectField, ('SCM Type',), {'choices...
  scm_url = <UnboundField(StringField, ('SCM URL',), {'validator...
  scm_branch = <UnboundField(StringField, ('Git Branch',), {'val...
  scm_subdir = <UnboundField(StringField, ('Subdirectory',), {'v...
  spec = <UnboundField(StringField, ('Spec File',), {'validators...

Inherited from BasePackageForm: package_name, webhook_rebuild

Inherited from flask_wtf.form.Form: SECRET_KEY, TIME_LIMIT

Inherited from wtforms.ext.csrf.form.SecureForm: csrf_token

Inherited from unreachable.NewBase (private): _unbound_fields, _wtforms_meta

Properties [hide private]
  source_json

Inherited from wtforms.ext.csrf.form.SecureForm: data

Inherited from wtforms.form.BaseForm: errors

Class Variable Details [hide private]

scm_type

Value:
<UnboundField(SelectField, ('SCM Type',), {'choices': [('git', 'Git'),\
 ('svn', 'SVN')]})>

scm_url

Value:
<UnboundField(StringField, ('SCM URL',), {'validators': [<wtforms.vali\
dators.DataRequired object at 0xf54c444c>, <wtforms.validators.URL obj\
ect at 0xf54c446c>]})>

scm_branch

Value:
<UnboundField(StringField, ('Git Branch',), {'validators': [<wtforms.v\
alidators.Optional object at 0xf54c44cc>]})>

scm_subdir

Value:
<UnboundField(StringField, ('Subdirectory',), {'validators': [<wtforms\
.validators.Optional object at 0xf54c452c>]})>

spec

Value:
<UnboundField(StringField, ('Spec File',), {'validators': [<wtforms.va\
lidators.Optional object at 0xf54c458c>, <wtforms.validators.Regexp ob\
ject at 0xf54c45ac>]})>

Property Details [hide private]

source_json