mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Fix broken imports ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --------- Signed-off-by: jinhai <haijin.chn@gmail.com>
6 lines
179 B
Python
6 lines
179 B
Python
from . import generator
|
|
|
|
__all__ = [name for name in dir(generator)
|
|
if not name.startswith('_')]
|
|
|
|
globals().update({name: getattr(generator, name) for name in __all__}) |