Field Types

Types of values to be used in cion.Field

cion.types.integer()[source]

An integer type

errors if the value is not an integer

Returns:

InnerValidator – The inner validator

cion.types.string()[source]

A string type

errors if the value is not a string

Returns:

InnerValidator – The inner validator