fmeobjects.FMEFeature.removeTraits

FMEFeature.removeTraits(regexp)

Remove all or matching traits from the feature.

Parameters:

regexp (str) – (Optional) All traits matching this regular expression are removed. If no expression is supplied, all traits are removed.

Return type:

None