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
Hi, According to the docs, the KEY_LOCATION is read from
sunlight.config.KEY_LOCATION
Unfortunately, init.py calls import sunlight.config, and then calls
_attempt_to_load_apikey
on import of sunlight.
As a practical matter, this means that you cannot do something like
import sunlight sunlight.config.KEY_LOCATION="mykey.txt"
..do something with sunlight.
It would be nice if sunlight either deferred its check for the api key, or used a variable not in the sunlight package.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
According to the docs, the KEY_LOCATION is read from
sunlight.config.KEY_LOCATION
Unfortunately,
init.py calls import sunlight.config, and then calls
on import of sunlight.
As a practical matter, this means that you cannot do something like
import sunlight
sunlight.config.KEY_LOCATION="mykey.txt"
..do something with sunlight.
It would be nice if sunlight either deferred its check for the api key, or used a variable not in the sunlight package.
The text was updated successfully, but these errors were encountered: