HyukjinKwon commented on code in PR #39840:
URL: https://github.com/apache/spark/pull/39840#discussion_r1093012669


##########
python/pyspark/sql/connect/__init__.py:
##########
@@ -17,14 +17,26 @@
 
 """Currently Spark Connect is very experimental and the APIs to interact with
 Spark through this API are can be changed at any time without warning."""
+import sys
 
-from pyspark.sql.connect.dataframe import DataFrame  # noqa: F401
 from pyspark.sql.pandas.utils import (
     require_minimum_pandas_version,
     require_minimum_pyarrow_version,
     require_minimum_grpc_version,
 )
 
-require_minimum_pandas_version()
-require_minimum_pyarrow_version()
-require_minimum_grpc_version()
+
+def check_dependencies(mod_name, file_name):

Review Comment:
   ```suggestion
   def check_dependencies(mod_name: str, file_name: str) -> None:
   ```



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