diff options
author | Munyoki Kilyungi | 2024-08-27 11:46:35 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-08-29 14:51:30 +0300 |
commit | 7fec75dcaf6214eb8d42e3ab92e9866589264025 (patch) | |
tree | f35201c09f444e5b567aee8db3ae7472b910367c /gn2/wqflask | |
parent | 8465ba42c2a284fcd1311caca7c8372307015dbe (diff) | |
download | genenetwork2-7fec75dcaf6214eb8d42e3ab92e9866589264025.tar.gz |
Add type annotation for symbol.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2/wqflask')
-rw-r--r-- | gn2/wqflask/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py index c13d29e4..baed268b 100644 --- a/gn2/wqflask/views.py +++ b/gn2/wqflask/views.py @@ -1220,8 +1220,8 @@ def display_diffs_users(): files=files) -@app.route("/genewiki/<symbol>") -def display_genewiki_page(symbol): +@app.route("/genewiki/<string:symbol>") +def display_genewiki_page(symbol: str): """Fetch GeneRIF metadata from GN3 and display it""" wiki = requests.get( urljoin( |