Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/nbformat/corpus/words.py: 75%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

4 statements  

1"""Generate a corpus id.""" 

2 

3from __future__ import annotations 

4 

5import uuid 

6 

7 

8def generate_corpus_id(): 

9 """Generate a corpus id.""" 

10 return uuid.uuid4().hex[:8]