legate.core.task.VariantInvoker.valid_signature#

VariantInvoker.valid_signature(self, func: UserFunction) bool#

Whether the given function’s signature matches the configured function signature.

Parameters:

func (UserFunction) – The Python callable whose signature should be validated.

Returns:

True if the signature of func matches this VariantInvoker``s signature, ``False otherwise.

Return type:

bool