We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There's some patterns like this:
cur = model.get_digest(stream) if cur.count(): return 'already exists' else: model.insert(stream)
Digest is indexed, so catching DuplicateKeyError is sufficient. No idea who wrote this shit.
DuplicateKeyError