You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2022/01/31 18:42:32 UTC

[GitHub] [incubator-teaclave] bigdata-memory commented on a change in pull request #603: Support optional input/output files

bigdata-memory commented on a change in pull request #603:
URL: https://github.com/apache/incubator-teaclave/pull/603#discussion_r795960747



##########
File path: sdk/python/teaclave.py
##########
@@ -222,10 +224,12 @@ class FunctionOutput:
     Args:
         name: Name of output data.
         description: Description of the output data.
+        option: [Default: False] Data owners do not need to register the data.
     """
 
-    def __init__(self, name: str, description: str):
+    def __init__(self, name: str, description: str, option=False):

Review comment:
       Probably using `optional = False` could be clearer and it is also consistent with the usage in TOML files. thanks.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org