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



##########
File path: python/pyspark/sql/avro/functions.py
##########
@@ -26,7 +26,7 @@
 
 
 @since(3.0)
-def from_avro(data, jsonFormatSchema, options={}):
+def from_avro(data, jsonFormatSchema, options=None):

Review comment:
       FYI I am trying to establish optimal set of flags for mypy config, but 
it is a bit slowish work ‒ unlike standalone stubs, we have to correct for 
internal modules, tests and such, and I'd prefer to avoid atomic options 
(ignoring all errors there).




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to