remove_properties method

remove_properties

Removes metadata properties satisfying the specified predicate.

def remove_properties(self, predicate):
    ...
Parameter Type Description
predicate Func[MetadataProperty, bool] A function to test each metadata property for a condition.

Returns: int: The number of affected properties.

See Also