Is it possible to get an option's implied volatility in Python?

For example BasicTemplateOptionsHistoryAlgorithm.cs works fine in C#,  printing out option Greeks and IV, but BasicTemplateOptionsHistoryAlgorithm.py is giving the following: Runtime Error: Python.Runtime.PythonException: KeyError : 'Level symbol must be same as name (None)'

It also looks like option.PriceModel cannot be set in the Python code.