admin
This commit is contained in:
Родитель
1c98a7063b
Коммит
a08e40eda1
|
@ -26,15 +26,19 @@ def _delayed_imports():
|
|||
from pyLibrary.queries.containers.lists import ListContainer as _ListContainer
|
||||
_ = _ListContainer
|
||||
|
||||
from pyLibrary.queries.qb_usingMySQL import MySQL
|
||||
from pyLibrary.queries.qb_usingES import FromES
|
||||
from pyLibrary.queries.meta import FromESMetadata
|
||||
try:
|
||||
from pyLibrary.queries.qb_usingMySQL import MySQL as _MySQL
|
||||
except Exception:
|
||||
_MySQL = None
|
||||
|
||||
from pyLibrary.queries.qb_usingES import FromES as _FromES
|
||||
from pyLibrary.queries.meta import FromESMetadata as _FromESMetadata
|
||||
|
||||
set_default(type2container, {
|
||||
"elasticsearch": FromES,
|
||||
"mysql": MySQL,
|
||||
"elasticsearch": _FromES,
|
||||
"mysql": _MySQL,
|
||||
"memory": None,
|
||||
"meta": FromESMetadata
|
||||
"meta": _FromESMetadata
|
||||
})
|
||||
|
||||
|
||||
|
|
|
@ -35,7 +35,11 @@ def _delayed_imports():
|
|||
global _Query
|
||||
global _Normal
|
||||
|
||||
from pyLibrary.queries.qb_usingMySQL import MySQL as _MySQL
|
||||
try:
|
||||
from pyLibrary.queries.qb_usingMySQL import MySQL as _MySQL
|
||||
except Exception:
|
||||
_MySQL = None
|
||||
|
||||
from pyLibrary.queries.qb_usingES import FromES as _FromES
|
||||
from pyLibrary.queries.containers.lists import ListContainer as _ListContainer
|
||||
from pyLibrary.queries.containers.cube import Cube as _Cube
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
flask
|
||||
mohawk
|
||||
boto
|
||||
requests
|
Загрузка…
Ссылка в новой задаче