cf.FieldList.getprop

FieldList.getprop(prop, *default)[source]

Get a CF property from each field.

fl.getprop(prop, *default) is equivalent to cf.List(f.getprop(prop, *default) for f in fl).

See cf.Field.getprop for details.

Parameters :
prop :

See cf.Field.getprop.

default : optional

See cf.Field.getprop.

Returns :
out : cf.List

The value of the named property, or the default value, for each field.

Previous topic

cf.FieldList.getattr

Next topic

cf.FieldList.hasprop

This Page