semantique.ArrayProxy.apply_custom#
- ArrayProxy.apply_custom(verb, **kwargs)[source]#
Apply a user-defined verb to the array.
The implementation of the user-defined verb needs to be provided through the ``custom_verbs` argument when executing the query recipe. Only use this functionality when you know what you are doing.
- Parameters:
verb (
str
) – Name of the user-defined verb.**kwargs – Additional keyword arguments passed on to
Array.apply_custom
.
- Returns:
Examples
>>> import semantique as sq >>> sq.entity("water").apply_custom("MyCustomVerb")