Closed sshoaie closed 4 years ago
I recommend you using environment variables for credentials. much easier. I think I see the problem.
In the code there is a bug:
auth=self.auth['user']
should be
auth=self.auth
I just tested this and indeed, it should be self.auth
.
Thanks a lot.
Could you merge that back to master?
The script
See here that a random ROI is found:
now if I want to remove this through
it will results in
What will resolve the issue is by changing the following:
into
However, when the code is ran again the following issue results in the requests.models.py script:
because the variable
auth
is no longer a<class 'requests.auth.HTTPBasicAuth'>
but simplysshoaie@vandersat.com
.Any idea on how to resolve the first
TypeError
?