grundprinzip commented on code in PR #38037:
URL: https://github.com/apache/spark/pull/38037#discussion_r984793157


##########
python/pyspark/sql/connect/function_builder.py:
##########
@@ -50,7 +53,9 @@ def _build(name: str, *args: ExpressionOrString) -> 
ScalarFunctionExpression:
 class FunctionBuilder:
     """This class is used to build arbitrary functions used in expressions"""
 
-    def __getattr__(self, name):
+    def __getattr__(
+        self, name: str
+    ) -> "Callable[[VarArg(ExpressionOrString)], ScalarFunctionExpression]":

Review Comment:
   Ok, I will follow the examples in protocols.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to