Closed hawesie closed 1 year ago
Thanks for spotting this omission. The alternative would be to make cacheDir an option to the constructor of DBDPatternSelect. In this way, you could use the select() method several times without the need to supply the cacheDir all the time, should you use a non-standard cache directory. Any preference? I am happy to merge your PR, with or without the modification suggested.
I think your suggestion makes the most sense, since it would be in line with the other classes. I took the current approach to get something working quickly, but I will add to the constructor in the next week or so.
Thanks for the feedback. Then I propose you undo flagging the pull request as draft, so I can merge your modifications, and then I will move the change to the constructor. Will not take much time anyway.
Ok, great!
Fixed as of commit be2cbae95bfe9550a268d83b888735482afa622d
Awesome, thanks! Does this automatically go to the package available via pip?
Available via pip as version 0.4.12.
This commit adds the
cacheDir
argument toDBDPatternSelect.select
since it didn't have it previously but is needed with non-default cache directory locations.