mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
rm import hack
This commit is contained in:
parent
5a3362ec62
commit
109cae0853
@ -1,12 +0,0 @@
|
||||
"""Enterprise integrations package.
|
||||
|
||||
This module ensures that all enterprise callback processors are registered
|
||||
with the discriminated union system used by Pydantic for validation.
|
||||
"""
|
||||
|
||||
# Import all enterprise callback processors to register them
|
||||
from integrations.slack.slack_v1_callback_processor import SlackV1CallbackProcessor # noqa: F401
|
||||
|
||||
__all__ = [
|
||||
'SlackV1CallbackProcessor',
|
||||
]
|
||||
@ -44,8 +44,6 @@ from openhands.server.middleware import ( # noqa: E402
|
||||
)
|
||||
from openhands.server.static import SPAStaticFiles # noqa: E402
|
||||
|
||||
# Import enterprise integrations to register callback processors with the discriminated union system
|
||||
import integrations # noqa: E402, F401
|
||||
|
||||
directory = os.getenv('FRONTEND_DIRECTORY', './frontend/build')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user