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
- Remove deprecated FEATURES_MAP import (replaced with dynamic registration)
- Update _register_missing_plugin_models method signature to remove feature_mixins_map parameter
- Simplify _is_model_registered to use registry['models'] structure instead of feature-based checking
- Bump version to 4.4.0.1 to reflect NetBox 4.4 compatibility
Fixes ImportError: cannot import name 'FEATURES_MAP' from 'netbox.models.features'
Related to NetBox issue #20129 - dynamic model feature registration system
Registers plugin models that were not registered during initial application startup.
55
-
53
+
56
54
Iterates through the provided list of plugin names, identifies models that are missing from the NetBox feature registry, and registers them using the supplied registration function. Prints errors encountered during processing and reports the number of models registered if any were missed.
0 commit comments