-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaxies.py
More file actions
25 lines (22 loc) · 685 Bytes
/
Copy pathaxies.py
File metadata and controls
25 lines (22 loc) · 685 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from app import create_app, db, explorator, consolidator
from app.models import *
from app.utils import cli
app = create_app()
cli.register(app)
@app.shell_context_processor
def make_shell_context():
return {
'db': db,
'User': User,
'UserContext': UserContext,
'Context': Context,
'Value': Value,
'Motivation': Motivation,
'Keyword': Keyword,
'AnnotationAction': AnnotationAction,
'ConsolidationAction': ConsolidationAction,
'ConsolidationValue': ConsolidationValue,
'ConsolidationKeyword': ConsolidationKeyword,
'explorator': explorator,
'consolidator': consolidator
}