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

[Bug] Parallel Processing function signature does not support multi keyword arguments #42

Closed
caffeine-addictt opened this issue Feb 27, 2024 · 0 comments
Assignees
Labels
Type: Bug Something isn't working as expected.

Comments

@caffeine-addictt
Copy link
Member

Bug report

Your issue may already be reported!
Please check out our active issues before creating one.

Expected Behavior

Parallel Processing's function signature should accept one or more keyword arguments to the function argument.

import thread

def my_func(a: int, b: int): int -> ...
thread.ParallelProcessing(function = my_func, dataset = [], args=(1,))

Current Behavior

It only accepts functions that take only one keyword argument

Is this a regression?

No

Possible Solution

Update function signature

Your Environment

  • Version used: main branch
  • Python version: 3.11.7
  • Operating System and version (desktop or mobile): Archlinux
@caffeine-addictt caffeine-addictt added the Type: Bug Something isn't working as expected. label Feb 27, 2024
@caffeine-addictt caffeine-addictt self-assigned this Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as expected.
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant