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
"""For backwards-compatibility, keep around the old name."""
warnings.warn(
"'diffsync.DiffSync' is deprecated and will be removed with 2.1, use 'diffsync.Adapter' instead.",
DeprecationWarning,
)
returnAdapter(*args, **kwargs)
This causes the import of any class using this as a base class to fail:
importdiffsyncclassTestAdapter(diffsync.DiffSync):
"""A simple DiffSync adapter for testing purposes."""
Traceback (most recent call last):
File "/home/gary/github/nautobot/nautobot-app-device-onboarding/test_diffsync.py", line 4, in <module>
class TestAdapter(diffsync.DiffSync):
TypeError: function() argument 'code' must be code, not str
The text was updated successfully, but these errors were encountered:
The
diffsync.DiffSync
class was changed to a functiondiffsync/diffsync/__init__.py
Lines 897 to 904 in 7ca1717
This causes the import of any class using this as a base class to fail:
The text was updated successfully, but these errors were encountered: