jerryshao commented on code in PR #8841:
URL: https://github.com/apache/gravitino/pull/8841#discussion_r2443687566
##########
clients/client-python/gravitino/api/rel/expressions/transforms/transforms.py:
##########
@@ -241,21 +241,31 @@ def apply(name: str, arguments: List[Expression]) ->
"Transforms.ApplyTransform"
return Transforms.ApplyTransform(name=name, arguments=arguments)
+ @overload
+ @staticmethod
+ def list(*field_names: List[str]) -> "Transforms.ListTransform": ...
+
+ @overload
@staticmethod
def list(
- *field_names: List[str], assignments: Optional[List[ListPartition]] =
None
- ) -> "Transforms.ListTransform":
- """Create a transform that includes multiple fields in a list.
+ *, field_names: List[List[str]], assignments: List[ListPartition]
Review Comment:
Hi @tsungchih , what is the meaning of `*` here?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]