napalm-device-types 4.7.0 renamed OSDriver.get_users to get_os_users (BREAKING CHANGE): NAPALM's own get_users has a different shape and a runtime stub, so hasattr could not tell the two apart.
BsdDriver.get_users (napalm_bsd/base.py) returns the OS user list and must become get_os_users when this driver moves to napalm-device-types >= 4.7.0. Update the tests with it.
Not live yet: netOrk still pins napalm-device-types at e58b65a (4.5.1).
Priority: P3 (needed for the pin bump).
napalm-device-types 4.7.0 renamed `OSDriver.get_users` to `get_os_users` (BREAKING CHANGE): NAPALM's own `get_users` has a different shape and a runtime stub, so `hasattr` could not tell the two apart.
`BsdDriver.get_users` (`napalm_bsd/base.py`) returns the OS user list and must become `get_os_users` when this driver moves to napalm-device-types >= 4.7.0. Update the tests with it.
Not live yet: netOrk still pins napalm-device-types at e58b65a (4.5.1).
Priority: P3 (needed for the pin bump).
Already fixed on main by 1921a3f ("fix: rename get_users to get_os_users for napalm-device-types 4.7"): base.py:539 defines get_os_users; tests/test_drivers.py checks that get_users is not overridden.
Already fixed on main by 1921a3f ("fix: rename get_users to get_os_users for napalm-device-types 4.7"): `base.py:539` defines `get_os_users`; `tests/test_drivers.py` checks that `get_users` is not overridden.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
napalm-device-types 4.7.0 renamed
OSDriver.get_userstoget_os_users(BREAKING CHANGE): NAPALM's ownget_usershas a different shape and a runtime stub, sohasattrcould not tell the two apart.BsdDriver.get_users(napalm_bsd/base.py) returns the OS user list and must becomeget_os_userswhen this driver moves to napalm-device-types >= 4.7.0. Update the tests with it.Not live yet: netOrk still pins napalm-device-types at e58b65a (4.5.1).
Priority: P3 (needed for the pin bump).
Tracked in NetOrk/netork#1096.
Already fixed on main by
1921a3f("fix: rename get_users to get_os_users for napalm-device-types 4.7"):base.py:539definesget_os_users;tests/test_drivers.pychecks thatget_usersis not overridden.