Skip to content
New issue

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

Refactor backend services to accept more configuration params in init #98

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

NeonDaniel
Copy link
Member

Description

Refactors configuration handling to pass arbitrary configuration to backend services instead of just api_key
Updates all backend services to use a passed cache_seconds kwarg instead of hard-coded values
Updates all backend services to allow arbitrary kwargs to prevent configuration causing init errors and to enable service-specific configuration in the future

Issues

Other Notes

@NeonDaniel NeonDaniel requested a review from mikejgray August 8, 2024 01:13
@NeonDaniel NeonDaniel merged commit dea9439 into dev Aug 8, 2024
8 checks passed
@NeonDaniel NeonDaniel deleted the FEAT_ConfigurableCacheTimeout branch August 8, 2024 16:10
NeonDaniel added a commit that referenced this pull request Aug 29, 2024
Update config handling to support `api_services` config outside of `keys` since #98 enabled more configuration options
NeonDaniel added a commit that referenced this pull request Sep 12, 2024
* Update warning log to use log_deprecation
Update config handling to support `api_services` config outside of `keys` since #98 enabled more configuration options

* Address review feedback

* Update unit test GHA to resolve failure

* Troubleshooting breaking changes in artifact upload action

---------

Co-authored-by: Daniel McKnight <[email protected]>
@github-actions github-actions bot mentioned this pull request Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants