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

pass file name as an argument to Vlad during initiation #5

Closed
dmcclory opened this issue Aug 25, 2015 · 0 comments
Closed

pass file name as an argument to Vlad during initiation #5

dmcclory opened this issue Aug 25, 2015 · 0 comments

Comments

@dmcclory
Copy link

We were running SubClassOfVlad.validate() in our own code, instead of using thevladiate` binary. Since that file wasn't in the working directory, we had to do somthing like this:

vlad = SubclassedValidator()
vlad.source = LocalFile(csv_file)
vlad.validate()

Not too bad, but it would be nice to be have an api that's more like this:

vlad = SubclassedValidator(csv_file=csv_file)
vlad.validate()
@di di closed this as completed in 56d4bcf Aug 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant