Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/nbformat/warnings.py: 100%
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
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
1"""
2Warnings that can be emitted by nbformat.
3"""
5from __future__ import annotations
8class MissingIDFieldWarning(FutureWarning):
9 """
11 This warning is emitted in the validation step of nbformat as we used to
12 mutate the structure which is cause signature issues.
14 This will be turned into an error at later point.
16 We subclass FutureWarning as we will change the behavior in the future.
18 """
21class DuplicateCellId(FutureWarning):
22 """
24 This warning is emitted in the validation step of nbformat as we used to
25 mutate the structure which is cause signature issues.
27 This will be turned into an error at later point.
29 We subclass FutureWarning as we will change the behavior in the future.
30 """