mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix imports
This commit is contained in:
parent
1da12fe5ff
commit
4ae5ed36a7
@ -3,8 +3,7 @@ Utility file to enable simper imports
|
||||
"""
|
||||
|
||||
from .registry import registry
|
||||
from .plugin import InvenTreePluginBase
|
||||
from .integration import IntegrationPluginBase
|
||||
from .plugin import InvenTreePluginBase, IntegrationPluginBase
|
||||
from .base.action.action import ActionPlugin
|
||||
|
||||
from .helpers import MixinNotImplementedError, MixinImplementationError
|
||||
|
@ -5,13 +5,13 @@ import logging
|
||||
import warnings
|
||||
|
||||
from plugin.base.action.mixins import ActionMixin
|
||||
import plugin.integration
|
||||
import plugin.plugin
|
||||
|
||||
|
||||
logger = logging.getLogger("inventree")
|
||||
|
||||
|
||||
class ActionPlugin(ActionMixin, plugin.integration.IntegrationPluginBase):
|
||||
class ActionPlugin(ActionMixin, plugin.plugin.IntegrationPluginBase):
|
||||
"""
|
||||
Legacy action definition - will be replaced
|
||||
Please use the new Integration Plugin API and the Action mixin
|
||||
|
@ -31,7 +31,7 @@ except: # pragma: no cover
|
||||
from maintenance_mode.core import maintenance_mode_on
|
||||
from maintenance_mode.core import get_maintenance_mode, set_maintenance_mode
|
||||
|
||||
from .integration import IntegrationPluginBase
|
||||
from .plugin import IntegrationPluginBase
|
||||
from .helpers import handle_error, log_error, get_plugins, IntegrationPluginError
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user