Skip to content

Commit 074558b

Browse files
committed
fix(syntax): typing;
- Pyright fix.
1 parent 23b2db1 commit 074558b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ckanext/recombinant/views.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ def record_fail(err: str) -> str:
215215
'recombinant.preview_table',
216216
resource_name=res['name'],
217217
owner_org=org['name'])
218-
if 'confirm' not in request.form or request.method == 'GET':
218+
# type_ignore_reason: incomplete typing
219+
if 'confirm' not in request.form or request.method == 'GET': # type: ignore
219220
return render('recombinant/confirm_delete.html',
220221
extra_vars={'dataset': dataset,
221222
'resource': res,

0 commit comments

Comments
 (0)