We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b110dd8 commit 6f8f756Copy full SHA for 6f8f756
.konchrc
@@ -1,6 +1,6 @@
1
import konch
2
3
-from flask_sqlalchemy import _BoundDeclarativeMeta
+from flask_sqlalchemy import DefaultMeta
4
5
from app import make_app
6
import db_models
@@ -9,7 +9,7 @@ import db_models
9
# 'context_format', 'ipy_extensions', 'ipy_autoreload',
10
# 'ipy_colors', 'ipy_highlighting_style'
11
curr_app = make_app()
12
-model_instance_list = [db_models.__dict__.get(a) for a in dir(db_models) if isinstance(db_models.__dict__.get(a), _BoundDeclarativeMeta)]
+model_instance_list = [db_models.__dict__.get(a) for a in dir(db_models) if isinstance(db_models.__dict__.get(a), DefaultMeta)]
13
model_context_dict = {x.__name__: x for x in model_instance_list}
14
15
context_dict = {
0 commit comments