27 lines
547 B
Python
27 lines
547 B
Python
"""
|
|
EU-Utility - Plugin API (Backward Compatibility)
|
|
|
|
This file provides backward compatibility for plugins importing
|
|
from core.plugin_api. New code should use:
|
|
|
|
from core.api import get_api
|
|
|
|
See core/api/plugin_api.py for full implementation.
|
|
"""
|
|
|
|
# Import everything from the new location
|
|
from core.api.plugin_api import (
|
|
PluginAPI,
|
|
get_api,
|
|
PluginAPIError,
|
|
ServiceNotAvailableError
|
|
)
|
|
|
|
# Re-export for backward compatibility
|
|
__all__ = [
|
|
'PluginAPI',
|
|
'get_api',
|
|
'PluginAPIError',
|
|
'ServiceNotAvailableError'
|
|
]
|