TypeError 'JavaPackage' object is not callable error after upgrading Databricks LTS and Zingg community version
Recently had office hours -- thanks! -- and moved from the old Databricks LTS 10.4 to the current LTS 15.4. After working through some DBR changes,and moving to Zingg community 0.4.0, I'm getting an odd error.
args = setup_args(model_details)Causes the error:
TypeError: 'JavaPackage' object is not callableWhere the details are:
File <command-226341090013129>, line 2, in setup_args(model_details)
1 def setup_args(model_details):
----> 2 args = Arguments()
4 # # Secondary Feedback Layer
5 # feedbackPipe = CsvPipe(name='labeled_data',
6 # location=model_details.feedback_loc,
(...)
10 # feedbackPipe.setHeader('true')
11 # args.setTrainingSamples(feedbackPipe)
13 zinggDir = model_details.directory
File /local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.11/site-packages/zingg/client.py:382, in Arguments.__init__(self)
381 def __init__(self):
--> 382 self.args = getJVM().zingg.common.client.Arguments()