mkt.databases.config
Environment-variable configuration for cBioPortal, OncoKB, and the requests cache.
Module-level get_*/set_* functions read and write os.environ for the
cBioPortal instance and token, OncoKB token, and requests-cache path, re-exporting the
output-directory helpers from mkt.schema.config.
Module Attributes
Environment variable for cBioPortal instance; if none provided, default is www.cbioportal.org in CLI scripts |
|
Environment variable for cBioPortal token; if none provided, default is None in CLI scripts |
|
Environment variable for request cache file prefix; if none provided, default is requests_cache in CLI scripts |
|
Environment variable for OncoKB token; if none provided, default is None in CLI scripts |
Functions
Get the cBioPortal instance from the environment. |
|
Get the cBioPortal token from the environment. |
|
Get the OncoKB token from the environment. |
|
Get the request cache path from the environment. |
|
Set the cBioPortal instance in the environment variables. |
|
|
Set the cBioPortal token in the environment variables. |
|
Set the OncoKB token in the environment variables. |
|
Set the request cache path in environment variables. |