Hi Matan,
Yes it looks like a syntax error with the missing colon, thanks for reporting! I've fixed the issue as reported here:
github.com/NREL/pysam/issues/47
I'll be releasing a new package version within a few weeks, so will not have fixed stub files available until then.
However, if you would like to have those fixes now, you can copy the updated files in the folder
here
into
python3.7/site-packages/PySAM-stubs
Best,
Darice