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

Class PackageFormMock

source code


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

Inherited from object: __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

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...
  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

Inherited from object: __class__

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 0x7fee48855f10>, <wtforms.validators.URL\
 object at 0x7fee48855f50>]})>

scm_branch

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

spec

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

Property Details [hide private]

source_json

Get Method:
unreachable.source_json(self)