Skip to content

ValueError: 'in' is not a valid parameter name during import #7

@thisis-gp

Description

@thisis-gp

When I try to import the opennyai library, I get a ValueError: 'in' is not a valid parameter name error.

from opennyai import Pipeline
from opennyai.utils import Data
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
[<ipython-input-3-c53621924b30>](https://localhost:8080/#) in <cell line: 0>()
----> 1 from opennyai import Pipeline
      2 from opennyai.utils import Data

16 frames
[/usr/lib/python3.11/inspect.py](https://localhost:8080/#) in __init__(self, name, kind, default, annotation)
   2706         is_keyword = iskeyword(name) and self._kind is not _POSITIONAL_ONLY
   2707         if is_keyword or not name.isidentifier():
-> 2708             raise ValueError('{!r} is not a valid parameter name'.format(name))
   2709 
   2710         self._name = name

ValueError: 'in' is not a valid parameter name

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