You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# nbformat.validator.py:360# Generate cell ids if any are missingifrepair_duplicate_cell_ids:
cell["id"] =generate_corpus_id()
changes+=1
Where
# nbformat.corpus.words"""Generate a corpus id."""from __future__ importannotationsimportuuiddefgenerate_corpus_id():
"""Generate a corpus id."""returnuuid.uuid4().hex[:8]
Where
The line:
Yields:
Which will always be a string since
uuid.uuid4().hex[:8]
is a string.The text was updated successfully, but these errors were encountered: