Skip to content

Commit 4c4390b

Browse files
author
Joel Collins
committed
Added proxy to flask url_for
1 parent eeac929 commit 4c4390b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/labthings/server/find.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
import logging
2-
from flask import current_app
2+
from flask import current_app, url_for
33
import weakref
44

55
from .names import EXTENSION_NAME
66

7+
__all__ = [
8+
"url_for",
9+
"current_labthing",
10+
"registered_extensions",
11+
"registered_components",
12+
"find_component",
13+
"find_extension",
14+
]
15+
716

817
def current_labthing(app=None):
918
"""The LabThing instance handling current requests.

0 commit comments

Comments
 (0)