tendril.frontend.blueprints.vendors.forms module

Docstring for forms

class tendril.frontend.blueprints.vendors.forms.SourcingIdentSearch(*args, **kwargs)[source]

Bases: flask_wtf.form.Form

ident = <UnboundField(StringField, (), {'label': 'Ident', 'validators': [<wtforms.validators.DataRequired object>]})>
qty = <UnboundField(StringField, (), {'label': 'Quantity', 'validators': [<wtforms.validators.Optional object>]})>
get_all = <UnboundField(BooleanField, (), {'default': False, 'label': 'All Sourceable Candidates'})>
allow_urident = <UnboundField(BooleanField, (), {'default': False, 'label': 'Allow Arbitrary Idents'})>
vendors = <UnboundField(MultiCheckboxField, (), {'default': ['digikey', 'mouser', 'ti', 'csil', 'mehta', 'omega', 'analogdevices', 'iedel', 'unknown'], 'label': 'Vendors', 'choices': [('digikey', 'digikey'), ('mouser', 'mouser'), ('ti', 'ti'), ('csil', 'csil'), ('mehta', 'mehta'), ('omega', 'omega'), ('analogdevices', 'analogdevices'), ('iedel', 'iedel'), ('unknown', 'unknown')]})>
validate_ident(form, field)[source]
validate_qty(form, field)[source]
_unbound_fields = None
_wtforms_meta = None
x = <tendril.sourcing.pricelist.VendorPricelist object>