virl2-client icon indicating copy to clipboard operation
virl2-client copied to clipboard

SIMPLE-6073 broke the ClPyats API contract

Open xorrkaz opened this issue 4 months ago • 0 comments

With the fix for SIMPLE-6073, CLPyats no longer raises PyatsNotInstalled. The docstring still says that it does, but this will not be raised until sync_testbed() is called. Yet that method doesn't indicate it will raise PyatsNotInstalled.

What might be a simple fix for this is to call _check_pyats_installed() in __init__(). Then the contract is restored and backward compatibility is preserved.

xorrkaz avatar Oct 12 '25 17:10 xorrkaz