I was trying to do this
response = cotter.login_with_phone_otp(api_key, port)
got this error
Traceback (most recent call last):
File "scripts/2021.04_add_public_directory_docs.py", line 5, in
response = cotter.login_with_email_link(api_key, port)
File "/home/vamshi/omrx/env/lib/python3.8/site-packages/cotter/init.py", line 135, in login_with_email_link
return login(api_key, port, "EMAIL", "MAGIC_LINK")
File "/home/vamshi/omrx/env/lib/python3.8/site-packages/cotter/init.py", line 106, in login
url = constants.CotterJSURL + "/app"
NameError: name 'constants' is not defined
I was trying to do this
got this error