-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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][python binding] _set_node_friendly_name() got multiple values for argument 'node' when node
kwarg is used on node creation
#15999
Comments
Hello @daniil-lyakhov, Could you please tell me why do you want to pass Actually, you may see that the function's signature is Best regards, Ref: 105065 |
Hi @akuporos, than you for a quick response! Could we remove this implicit limitation? Could |
I think that's a very valid request, since The second option is (Anastasia's finding!) using slash in function arguments, however it has been introduced in Python 3.8 and we still support Python 3.7. We could wait for dropping Python 3.7 and solve the issue in an elegant, Pythonic way. Personally I think we should go for the second option. What do you think @akuporos @jiwaszki? |
@p-wysocki +1 for the second option. Ticket is already in the backlog for the future release (waiting for the drop of 3.7). |
This issue will be closed in 2 weeks in case of no activity. |
System information (version)
ov.Node
creationDetailed description
openvino/runtime/utils/decorators.py: nameable_op wrapper raise a runtime error if
'node'
is passed to wrapped function as kwargsrc: https://github.com/openvinotoolkit/openvino/blob/master/src/bindings/python/src/openvino/runtime/utils/decorators.py#L18-L27
Steps to reproduce
Following error is raised:
Following code works as expected:
Issue submission checklist
I report the issue, it's not a question
I checked the problem with documentation, FAQ, open issues, Stack Overflow, etc and have not found solution
There is reproducer code and related data files: images, videos, models, etc.
The text was updated successfully, but these errors were encountered: