zero323 commented on a change in pull request #34238:
URL: https://github.com/apache/spark/pull/34238#discussion_r725992924



##########
File path: python/pyspark/files.py
##########
@@ -30,23 +35,23 @@ class SparkFiles(object):
     instances.
     """
 
-    _root_directory = None
+    _root_directory = None  # type: str
     _is_running_on_worker = False
-    _sc = None
+    _sc = None  # type: SparkContext

Review comment:
       Should we use PEP 526 syntax for these?




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