Thanks @mssun and @qinkunbao , we need to specify the "input" parameter when
register the function and "inputs_ownership" when create the task:
```
function_id = client.register_function(
name="builtin-rustface-detector",
description="Native Face Detection Function",
executor_type="builtin",
inputs=[FunctionInput("image_key", "Input key file.")],
arguments=["image_base64"])
task_id = client.create_task(function_id=function_id,
function_arguments={"image_base64":
image_base64},
inputs_ownership=[OwnerList("image_key",
[self.user_id])],
executor="builtin")
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/329#issuecomment-649258156