071
072 If any two row models in `data` have the same unique key, raises
073 a `ValueError`.
074
075 Values associated to the key must be hashable.
076
077 Args:
078 data (List[dict]): List of dictionaries to be inserted
079
080 >>> check_id_duplicates([
UNEXPECTED EXCEPTION: NameError("name 'BaseModel' is not defined")
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest swh.indexer.storage.check_id_duplicates[0]>", line 2, in <module>
NameError: name 'BaseModel' is not defined
/var/lib/jenkins/workspace/DCIDX/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/indexer/storage/__init__.py:80: UnexpectedException
TEST RESULT
TEST RESULT
- Run At
- Oct 1 2020, 6:16 PM