Opennyai icon indicating copy to clipboard operation
Opennyai copied to clipboard

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

Open thisis-gp opened this issue 9 months ago • 0 comments

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

thisis-gp avatar Mar 05 '25 14:03 thisis-gp