How to Solve NameError: name 'Connect' is not defined -- antispaminc

Solution: Import the 'Connect' module

# Add the following line to the top of your code
from antispaminc.connect import Connect

 

For more information:
antispaminc Connect