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

set up library so it can run a suite standalone in python #9

Open
jeanetteclark opened this issue Nov 10, 2022 · 1 comment
Open

set up library so it can run a suite standalone in python #9

jeanetteclark opened this issue Nov 10, 2022 · 1 comment
Assignees

Comments

@jeanetteclark
Copy link
Contributor

jeanetteclark commented Nov 10, 2022

similar to what the R package does, this should include methods for

  • runCheck
  • runSuite

runCheck might instead be implemented as a decorator such that a user could write a check that looks like:

@check
def myCheck(param1, param2):
    ...
    return(result)

the decorator could:

  • prepare selectors (eg: get data files and parse them)
  • collect output into the correct format
  • handle some error and edge case checking

Advantages are that people writing checks need to think less about the items above, disadvantages are that it obscures all of that, and leads to the possibility that users can run a bunch of checks simultaneously which we don't want

@jeanetteclark jeanetteclark self-assigned this Nov 10, 2022
@jeanetteclark
Copy link
Contributor Author

re-classifying and prioritizing this issue since it will be much easier to test new data quality checks when this is done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant