Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(110)  |  Call(110)  |  Derive(0)  |  Import(0)

src/p/r/Products.DigestoContentTypes-1.2a1/Products/DigestoContentTypes/__init__.py   Products.DigestoContentTypes(Download)
ModuleSecurityInfo('Products.DigestoContentTypes').declarePublic('DigestoContentTypesMessageFactory')
 
validation.register(AddressBookValidator('is_address_book'))
validation.register(DossierNumberListValidator('is_dossier_number_list'))
validation.register(CUDAPNumberValidator('is_cudap_number'))
validation.register(AreaSourceValidator('is_source_name'))
validation.register(AreaKindsValidator('is_not_empty_kinds'))

src/p/r/Products.ArchAddOn-1.7/Products/ArchAddOn/__init__.py   Products.ArchAddOn(Download)
from Validators import FormattedUSPhoneValidator, USAddressValidator, \
    LinesAllFloatValidator, LinesAllIntValidator, SimpleDataGridValidator
validation.register(FormattedUSPhoneValidator('isFormattedUSPhone'))
validation.register(USAddressValidator('isUSAddress'))
validation.register(LinesAllFloatValidator('areLinesFloat'))
validation.register(LinesAllIntValidator('areLinesInt'))
validation.register(SimpleDataGridValidator('isValidGrid'))

src/b/i/bika.lims-3.01a/bika/lims/validators.py   bika.lims(Download)
        return True
 
validation.register(UniqueFieldValidator())
 
 
        return True
 
validation.register(ServiceKeywordValidator())
 
 
        return True
 
validation.register(InterimFieldsValidator())
 
 
        return True
 
validation.register(FormulaValidator())
 
 
        return True
 
validation.register(CoordinateValidator())
 
 

src/b/i/Bika-LIMS-HEAD/bika/lims/validators.py   Bika-LIMS(Download)
        return True
 
validation.register(UniqueFieldValidator())
 
 
        return True
 
validation.register(ServiceKeywordValidator())
 
 
        return True
 
validation.register(InterimFieldsValidator())
 
 
        return True
 
validation.register(FormulaValidator())
 
 
        return True
 
validation.register(CoordinateValidator())
 
 

src/p/r/Products.plonehrm-2.14/Products/plonehrm/__init__.py   Products.plonehrm(Download)
from Products.validation import validation
from validator import DateValidator, AgeValidator, BSNValidator
validation.register(DateValidator('isDateBeforeToday'))
validation.register(AgeValidator('checkIfTooYoung'))
validation.register(BSNValidator('isBSNValid'))

src/p/r/Products.DataGridField-1.9.0/Products/DataGridField/validators.py   Products.DataGridField(Download)
    'isDataGridFilled', title='DataGrid has entries',
    description='The DataGridField must have at least one entry.')
validation.register(isDataGridFilled)
 
isColumnFilled = ColumnRequiredDataGridValidator(
    'isColumnFilled', title='Required columns have entries',
    description='All required columns must have data in every rows.')
validation.register(isColumnFilled)

src/p/r/Products.PloneFormGen-HEAD/Products/PloneFormGen/validators/BooleanValidators.py   Products.PloneFormGen(Download)
        return ("Validation failed(%s): must be checked." % self.name)
 
validation.register(IsCheckedValidator('isChecked'))
 
 
        return ("Validation failed(%s): must be unchecked." % self.name)
 
validation.register(IsUncheckedValidator('isUnchecked'))
 

src/p/r/Products.RadioSchedule-1.0a/Products/RadioSchedule/__init__.py   Products.RadioSchedule(Download)
from Products.validation import validation
from validators import TimeValidator, EndTimeValidator
validation.register(TimeValidator('isTime'))
validation.register(EndTimeValidator('isEndTime'))
 

src/p/r/Products.PloneSoftwareCenter-1.6.4/Products/PloneSoftwareCenter/__init__.py   Products.PloneSoftwareCenter(Download)
PSCMessageFactory = MessageFactory('plonesoftwarecenter')
 
validation.register(validators.ProjectIdValidator('isNonConflictingProjectId'))
validation.register(validators.ProjectContactValidator('isValidContact'))
 

src/p/r/Products.PloneOntology-1.0.0/Products/PloneOntology/__init__.py   Products.PloneOntology(Download)
import owl
 
validation.register(keyword.XMLNCNameValidator('isXMLNCName'))
validation.register(keyword.UniqueNameValidator('isUniqueName'))
 

  1 | 2 | 3 | 4 | 5 | 6 | 7  Next