You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think an issue here might be that the native model is more than 100MB big
(venv) eslau@N503476:~/repos-wsl/ydk_poc/venv/lib64/python3.10/site-packages/ydk/models/cisco_ios_xe$ ls -lhS
total 120M
-rw-r--r-- 1 eslau eslau 103M Jun 14 15:39 Cisco_IOS_XE_native.py
-rw-r--r-- 1 eslau eslau 817K Jun 14 15:39 Cisco_IOS_XE_ospf_oper.py
-rw-r--r-- 1 eslau eslau 488K Jun 14 15:39 CISCO_RTTMON_MIB.py
that causes vscode to stop linting and auto completing. As far as I can tell, there is no way currently to up the max size (see this: microsoft/pylance-release#1520)..
So it would make sense to try and split it into smaller files (if possible) as type hints most likely will not work on the native model which I guess is the most used one..
Refer to "type annotations" in python3
The text was updated successfully, but these errors were encountered: