Closed simisimon closed 2 years ago
Here is a code string that causes another error:
# AttributeError: 'str' object has no attribute '_fields'
code_str = """step['Model'] = model_name"""
Thanks for raising this. Can you let me know your Python version as I could not reproduce this problem?
I'm using Python 3.9.0. I got the same problems with Python 3.9.5.
The problem has now been fixed. This is due to syntax changes in the latest Python version. Thanks for offering this!.
I found again several problems caused by the vars visitor module when analyzing ML projects. To reproduce the errors, run the following example:
Just change the
code_str
variable, to see the different errors. There are probably more errors. I try to add all the cases that I find.If you need more information, just let me know.