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 33ee1e5 commit 782eaacCopy full SHA for 782eaac
selections/__init__.py
@@ -35,12 +35,7 @@
35
36
migrate = Migrate(app, db)
37
38
-# Load Applications Blueprint
39
-from selections.blueprints.application import *
40
-from selections.blueprints.teams import *
41
-
42
-from selections.utils import before_request
43
+#initialize S3
44
import boto3
45
session = boto3.Session(
46
aws_access_key_id=app.config['AWS_ACCESS_KEY_ID'],
@@ -49,6 +44,13 @@
49
s3 = session.resource('s3')
50
bucket = s3.meta.client
51
47
+# Load Applications Blueprint
48
+from selections.blueprints.application import *
+from selections.blueprints.teams import *
+
+from selections.utils import before_request
52
53
54
@app.route('/')
55
@auth.oidc_auth
56
@before_request
0 commit comments