We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2bdd0e commit 1798bbdCopy full SHA for 1798bbd
python/pyspark/cloudpickle.py
@@ -933,7 +933,7 @@ def _change_cell_value(cell, newval):
933
Note: These can never be renamed due to client compatibility issues"""
934
935
def _getobject(modname, attribute):
936
- mod = __import__(modname)
+ mod = __import__(modname, fromlist=[attribute])
937
return mod.__dict__[attribute]
938
939
def _generateImage(size, mode, str_rep):
0 commit comments