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

case_validate: Default inference flag to None rather than "none" #123

Merged
merged 1 commit into from
Aug 23, 2023

Commits on Aug 21, 2023

  1. case_validate: Default to None rather than "none"

    Defaulting to the string `"none"` has a functional consequence in
    downstream pySHACL operations, as encoded at the time of this writing
    (pySHACL version 0.23.0).  `inference` in the `pyshacl.validate(...)`
    arguments is propagated down two code paths that both impact the
    validation operation, but that use different default values.  The
    `--metashacl` (SHACL-SHACL validation graph for reviewing shape syntax)-
    aligned code path defaults to `rdfs` inference, and the `Validator`
    class defaults to the string `"none"`.
    
    Signed-off-by: Alex Nelson <[email protected]>
    ajnelson-nist committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    7353c54 View commit details
    Browse the repository at this point in the history