10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 05:43:46 +01:00

Fix circular import

This commit is contained in:
Mickaël Véril 2020-07-06 10:29:17 +02:00
parent 1593614d5f
commit dda226d8b6

View File

@ -1,8 +1,8 @@
import inspect
from . import default
from . import formatHandlerBase
def getFormatHandlers(includeUnnamed=False):
from . import default
for clsName,Cls in inspect.getmembers(default,inspect.isclass):
if issubclass(Cls,formatHandlerBase):
if hasattr(Cls,"__formatName__"):