Often novem code will run in an environment without a config file. The current solution is to supply token as a keyword arg on all object instantiations. From a user perspective it would probably be nicer if there was a way to set global config variables so the token could be specified in one location.
Environment variables is one such choice, but it has certain security implications. Perhaps some inspiration can be taken how requests, urllib3 et al handles ssl certs can be used?
Often novem code will run in an environment without a config file. The current solution is to supply token as a keyword arg on all object instantiations. From a user perspective it would probably be nicer if there was a way to set global config variables so the token could be specified in one location.
Environment variables is one such choice, but it has certain security implications. Perhaps some inspiration can be taken how requests, urllib3 et al handles ssl certs can be used?