Skip to content

check pythonjob inputs conflict #760

@superstar54

Description

@superstar54
@task.pythonjob
def add(x, y, compter):

in this case, it should raise a clear error, because compute is a builtin input of PythonJob.

If the user already has a function with computer as input, then we suggest wrapping it inside a Python job, and renaming computer to another name, e.g., inner_computer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions