Skip to content

Commit f384b27

Browse files
committed
Merge branch 'tn-add-load_dotenv-dash' into dash-int
2 parents d3f9380 + 9843da8 commit f384b27

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

dash-app/app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from dotenv import load_dotenv
2+
load_dotenv()
13
import dash
24
import pandas as pd
35
from dash import dcc, html

dash-bikeshare/app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from dotenv import load_dotenv
2+
load_dotenv()
13
import dash
24
import os
35
import pandas as pd
@@ -6,7 +8,6 @@
68

79
from dash import dcc, html
810
from dash.dependencies import Input, Output
9-
from dotenv import load_dotenv
1011

1112
app = dash.Dash(__name__)
1213

dash-stock-pricing/app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# -*- coding: utf-8 -*-
2+
from dotenv import load_dotenv
3+
load_dotenv()
24
import os
35

46
import dash

0 commit comments

Comments
 (0)