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

@batch: Support for some non-batchable arguments to group by #1

Open
chr1st1ank opened this issue Sep 18, 2021 · 0 comments
Open

@batch: Support for some non-batchable arguments to group by #1

chr1st1ank opened this issue Sep 18, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@chr1st1ank
Copy link
Owner

The @Batch decorator could support arguments which are not batched, but are rather used to group the calls by. Calls with the same value in these arguments can be batched together.

This is for the case that these other arguments are configuration options of any kind, e.g.:

def f(x: List, with_preprocessing = True):
    ...
@chr1st1ank chr1st1ank added the enhancement New feature or request label Sep 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant