We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoAuthClient
carto.auth
Documentation suggests there is a class NoAuthClient in carto.auth module. However this yields an ImportError
ImportError
ImportError: cannot import name 'NoAuthClient' from 'carto.auth'
From read-the-docs and the Readme file.
from carto.auth import NoAuthClient
I discovered the class is in pyrestcli.auth but not imported in auth.py. Until the code or documentation is corrected, the following works
pyrestcli.auth
from pyrestcli.auth import NoAuthClient
However it issues the following warning when using the send() method on the SQLClient in carto.sql:
send()
SQLClient
carto.sql
UserWarning: You are using methods other than get with no authentication!!!
Maybe it is best to just use the requests module when doing read only queries on a public database?
requests
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Documentation suggests there is a class
NoAuthClient
incarto.auth
module. However this yields anImportError
From read-the-docs and the Readme file.
I discovered the class is in
pyrestcli.auth
but not imported in auth.py. Until the code or documentation is corrected, the following worksHowever it issues the following warning when using the
send()
method on theSQLClient
incarto.sql
:Maybe it is best to just use the
requests
module when doing read only queries on a public database?The text was updated successfully, but these errors were encountered: