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

Add fixture to cleanup dataloader after each test runs #1852

Merged
merged 2 commits into from
Jul 4, 2023

Conversation

oliverholworthy
Copy link
Member

Follow-up to #1848

Adds a fixture to cleanup dataloader after each test runs. This ensures that if a test using the Merlin Dataloader only partially consumes a dataloader instance (and isn't using it as a context manager (with statement), or calling stop explicitly). Then we automatically clean it up by calling stop on it (it's ok if we call stop more than once).

@oliverholworthy oliverholworthy added this to the Merlin 23.07 milestone Jun 28, 2023
@oliverholworthy oliverholworthy self-assigned this Jun 28, 2023
@github-actions
Copy link

Documentation preview

https://nvidia-merlin.github.io/NVTabular/review/pr-1852

@oliverholworthy oliverholworthy merged commit aa5c25c into main Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants