This commit is contained in:
Kyle Lahnakoski 2016-01-08 22:48:41 -05:00
Родитель 1c98a7063b
Коммит a08e40eda1
4 изменённых файлов: 19 добавлений и 7 удалений

0
README.md Normal file
Просмотреть файл

Просмотреть файл

@ -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

4
requirements.txt Normal file
Просмотреть файл

@ -0,0 +1,4 @@
flask
mohawk
boto
requests