Skip to content

Commit 8e7b949

Browse files
Bordacarmoccapre-commit-ci[bot]
authored
App: drop flaky doctest example (Lightning-AI#17366)
* skip app dcotest * Proposed change * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * delete --------- Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent da883e7 commit 8e7b949

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/lightning/app/core/app.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -101,18 +101,6 @@ def __init__(
101101
For instance, if you want to run your app at `https://customdomain.com/myapp`,
102102
set `root_path` to `/myapp`.
103103
You can learn more about proxy `here <https://www.fortinet.com/resources/cyberglossary/proxy-server>`_.
104-
105-
106-
Example:
107-
108-
>>> from lightning.app import LightningFlow, LightningApp
109-
>>> from lightning.app.runners import MultiProcessRuntime
110-
>>> class RootFlow(LightningFlow):
111-
... def run(self):
112-
... self.stop()
113-
...
114-
>>> app = LightningApp(RootFlow()) # application can be dispatched using the `runners`.
115-
>>> MultiProcessRuntime(app).dispatch()
116104
"""
117105

118106
self.root_path = root_path # when running behind a proxy

0 commit comments

Comments
 (0)