Skip to content

Commit 2841b02

Browse files
committed
run_server -> run
1 parent 7e5d978 commit 2841b02

File tree

18 files changed

+18
-18
lines changed

18 files changed

+18
-18
lines changed

docs/components_page/components/index/simple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121

2222
# 5. Start the Dash server
2323
if __name__ == "__main__":
24-
app.run_server()
24+
app.run()

docs/content/docs/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ app.layout = dbc.Container(
6565
)
6666

6767
if __name__ == "__main__":
68-
app.run_server()
68+
app.run()
6969
```
7070

7171
## Examples

docs/demos/demo_layout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ def for_path(self, component):
6666
if __name__ == "__main__":
6767
app = Dash(__name__, external_stylesheets=[dbc.themes.BOOTSTRAP])
6868
app.layout = _layout
69-
app.run_server(port=8888, debug=True)
69+
app.run(port=8888, debug=True)

docs/demos/theme_explorer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,4 @@ def open_toast(_):
134134

135135

136136
if __name__ == "__main__":
137-
app.run_server(debug=True)
137+
app.run(debug=True)

docs/templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ <h2>Get started quickly</h2>
6868
)
6969

7070
if __name__ == "__main__":
71-
app.run_server()</code></pre>
71+
app.run()</code></pre>
7272
</div>
7373
</div>
7474
<hr />

examples/advanced-component-usage/graphs_in_tabs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,4 @@ def generate_graphs(n):
102102

103103

104104
if __name__ == "__main__":
105-
app.run_server(debug=True, port=8888)
105+
app.run(debug=True, port=8888)

examples/advanced-component-usage/navbars.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,4 @@ def toggle_navbar_collapse(n, is_open):
165165
)(toggle_navbar_collapse)
166166

167167
if __name__ == "__main__":
168-
app.run_server(debug=True, port=8888)
168+
app.run(debug=True, port=8888)

examples/advanced-component-usage/toast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,4 @@ def display_toasts(store):
114114

115115

116116
if __name__ == "__main__":
117-
app.run_server(debug=True)
117+
app.run(debug=True)

examples/gallery/faithful/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ def make_graph(dropdown_value, checklist_value):
8686

8787

8888
if __name__ == "__main__":
89-
app.run_server(debug=True, port=8888)
89+
app.run(debug=True, port=8888)

examples/gallery/iris-kmeans/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,4 @@ def filter_options(v):
124124

125125

126126
if __name__ == "__main__":
127-
app.run_server(debug=True, port=8888)
127+
app.run(debug=True, port=8888)

0 commit comments

Comments
 (0)