-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rename `config_from_log_file` -> `project_info` + add docstring Avoid overuse of the word `config` * Better variable name for resources path The path doesn't contain only parquet files and we might use something else in the future. * Move `APIConfig` class to `cli._config` Keep the config stuff together * Get queue API config values form `.env` instead of `pixl_config.yaml` * Better variable name * Get service settings from env variables instead of `pixl_config.yml` Also use better naming: `cli_config` -> `SERVICE_SETTINGS` * Update sample env file * Replace more refrences to `cli_config` * Remove `pixl_config.yml` files * Build config objects in place * Add missing env variable * docs: Remove references to `pixl_config.yml`, describe config with env vars * Fix `API_CONFIGS` dict keys * Make API_CONFIG dict in one go * Remove default values for env variables and update tests * Rate should be a float, also update docstrings * Add missing `.env` vars to sample and remove another default * Add default for `PIXL_QUERY_TIMEOUT` back in * Make sure `.env` is loaded prior to setting API configs * Use `decouple` to load local `.env` file * Load local .env file only if it exists Avoids import errors during tests * Revert default query timeout for tests back to 10
- Loading branch information
Showing
13 changed files
with
161 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.