refactor: import the cluster shapes from the package root
driver / standard (pull_request) Successful in 19s
driver / lint (pull_request) Successful in 14s
driver / types (pull_request) Successful in 1m10s
driver / test (3.12) (pull_request) Successful in 1m16s
driver / test (3.13) (pull_request) Successful in 1m10s
driver / lowest (pull_request) Successful in 34s
driver / build (pull_request) Successful in 32s
driver / security (pull_request) Successful in 1m21s
CI / driver (pull_request) Successful in 2m58s
driver / publish (pull_request) Skipped

napalm-device-types keeps them in a module of their own now; the package exports them.

Refs NetOrk/netork#484
This commit is contained in:
Christian Manivong committed 2026-11-01 17:08:10 +01:00
1 parent f60532e434
commit 25369df572
1 file changed
+1 -1
+1 -1
View File
@@ -27,7 +27,7 @@ from napalm_proxmox.utils import cpu_flags
if TYPE_CHECKING:
# Type-only: the cluster models are newer than the napalm_device_types floor
# in pyproject.toml, and nothing here needs them at runtime.
from napalm_device_types.models import (
from napalm_device_types import (
ClusterDict,
ClusterNetworkDict,
ClusterNodeDict,