ueshin commented on a change in pull request #34893:
URL: https://github.com/apache/spark/pull/34893#discussion_r769145327
##########
File path: python/pyspark/pandas/utils.py
##########
@@ -464,20 +464,12 @@ def is_testing() -> bool:
return "SPARK_TESTING" in os.environ
-def default_session(conf: Optional[Dict[str, Any]] = None) -> SparkSession:
- if conf is None:
- conf = dict()
+def default_session() -> SparkSession:
Review comment:
I'm not sure we can remove the `conf` argument here?
I guess we should show a deprecation warning if it's not `None` for now and
remove it in the future?
--
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]