Skip to content

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

Closed
@caffeine-addictt

Description

@caffeine-addictt

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

Metadata

Metadata

Labels

Type: BugSomething isn't working as expected.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions