-
Notifications
You must be signed in to change notification settings - Fork 32
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
Move config parameters from class to instance #20 #51
Conversation
OK, this does not work. It seems that constants changed in the subclass are somehow lost. You are right - the problem is how to implement the new interface while keeping the old one as they contradict each other |
OK, the current version passes all tests. Maybe you could restart the test suites on your side? |
@svenXY something wrong, the checks have failed again |
ah, yes: https://docs.python.org/3.10/whatsnew/3.10.html#pep-604-new-type-union-operator - i have https://docs.python.org/3.10/library/typing.html#typing.Optional |
@svenXY hmm, do you have any ideas on how to fix that? We need to support at least 3.6+ Python versions |
Should work now. But honestly, maybe it is really better to drop the old approach with class constants as that would also mean that we could drop most of the |
this last failure is something else and has afaiu nothing to do with my code: '{'detail': ErrorDetail(string='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}' |
@svenXY Thank you! Yes, it's something not related to your changes. Will try to investigate that |
Implements a possible solution for #20