Skip to content

Commit 9a11449

Browse files
committed
fix(typing): comment;
- Type ignore.
1 parent 1845941 commit 9a11449

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ckanext/recombinant/logic.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,8 @@ def recombinant_datastore_upsert(up_func: Action,
479479
_error_dict = dict(e.error_dict)
480480
if 'records' not in _error_dict:
481481
raise
482-
_error_dict['records'] = list(_error_dict['records'])
482+
# type_ignore_reason: incomplete typing
483+
_error_dict['records'] = list(_error_dict['records']) # type: ignore
483484
for record_errs in _error_dict['records']:
484485
if not isinstance(record_errs, dict):
485486
continue

0 commit comments

Comments
 (0)