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

base_api.py: Implement operators and document them in cli help #2109

Merged
merged 1 commit into from
Oct 3, 2023

Commits on Sep 19, 2023

  1. base_api.py: Implement operators and document them in cli help

    Right now for operators we are using "magic" suffix such as
    __gt, __lt and so on, which is not documented and a bit non-intuitive.
    We can make cli tool more intuitive with this patch, where it will
    hide from user this magic, until we find better mechanism to handle
    operators as mentioned in kernelci/kernelci-api#356
    
    Also raise error if attribute name is used twice, as first one will
    be overwritten and ignored due current implementation.
    
    Signed-off-by: Denys Fedoryshchenko <[email protected]>
    nuclearcat committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    ab63b8a View commit details
    Browse the repository at this point in the history