mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01:00
Fix circular import
This commit is contained in:
parent
1593614d5f
commit
dda226d8b6
@ -1,8 +1,8 @@
|
|||||||
import inspect
|
import inspect
|
||||||
from . import default
|
|
||||||
from . import formatHandlerBase
|
from . import formatHandlerBase
|
||||||
|
|
||||||
def getFormatHandlers(includeUnnamed=False):
|
def getFormatHandlers(includeUnnamed=False):
|
||||||
|
from . import default
|
||||||
for clsName,Cls in inspect.getmembers(default,inspect.isclass):
|
for clsName,Cls in inspect.getmembers(default,inspect.isclass):
|
||||||
if issubclass(Cls,formatHandlerBase):
|
if issubclass(Cls,formatHandlerBase):
|
||||||
if hasattr(Cls,"__formatName__"):
|
if hasattr(Cls,"__formatName__"):
|
||||||
|
Loading…
Reference in New Issue
Block a user