Skip to content

Python 3 TypeError while initializing CRUDService class #1032

@ygorelik

Description

@ygorelik

Current Behavior

Getting Python 3 TypeError while initializing CRUDService class.

Steps to Reproduce

(venv) ygorelik@bionic:~/ydk-gen$ python
Python 3.6.9 (default, Oct  8 2020, 12:12:24) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from ydk.services import CRUDService
>>> crud = CRUDService()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: ydk_.services.CRUDService.__init__() must be called when overriding __init__
>>> 

The issue does not appear with lower (required) version of pybind11, which is 2.1.1.

System Information

YDK-0.8.5
pybind11 (2.6.0)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions