airstorm.field_lists module

class FieldList(field)[source]

Bases: object

This property like object allow interacting with a field of multiple records.

Parameters

field (airstorm.field.Field) – The field instance.

Returns

airstorm.fields.FieldList – The initatiazed field list object.

class EditableFieldList(field)[source]

Bases: airstorm.field_lists.FieldList

Field list that can be edited.

__set__(instance, value)[source]

Sets the value of the field list.

Args: instance (TYPE): Description value (TYPE): The value to set the field list

to. Takes a single value or a list that is the same size as ModelList this field list is initialized on.

Raises: ValueError: A value error is raised if the value passed is not the right

length.

__delete__(instance)[source]

Reset the local change for this field list.