fmeobjects.FMEFeature.setAttributes
- FMEFeature.setAttributes(attributes)
Supply multiple attributes for the feature.
For details on setting attribute values, see
setAttribute. If an attribute cannot be set, a Python UserWarning is issued and that attribute is skipped.- Parameters:
attributes (dict[str, bool | int | str | list[str] | float | bytearray | list[bytearray] | bytes | list[bytes]]) – A dictionary mapping attribute names to values.
- Return type:
None
Warning
UserWarning is issued for each attribute that raised an exception when being set.