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

Improve forward/backward compatibility of OpenEoBackendConfig #322

Open
soxofaan opened this issue Nov 5, 2024 · 0 comments
Open

Improve forward/backward compatibility of OpenEoBackendConfig #322

soxofaan opened this issue Nov 5, 2024 · 0 comments
Assignees

Comments

@soxofaan
Copy link
Member

soxofaan commented Nov 5, 2024

Current OpenEoBackendConfig system is quite strict at the moment:
passing unknown config values to the constructor cause an "unexpected keyword argument" exception. This is fine as default behavior (e.g. to catch config value typo's as early as possible), but can cause problems in practice. For example, sometimes we have to run older images (that don't know yet about config field X) with newer configs (that define config X). It's not ideal that this fails as hard as it currently does.

It should be possible to skip unknown config values (and trigger warning/error logs instead of failing hard)

@soxofaan soxofaan self-assigned this Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant