31 lines
741 B
Python
Raw Normal View History

2024-09-25 20:22:46 +04:00
"""
Warnings that can be emitted by nbformat.
"""
from __future__ import annotations
class MissingIDFieldWarning(FutureWarning):
"""
This warning is emitted in the validation step of nbformat as we used to
mutate the structure which is cause signature issues.
This will be turned into an error at later point.
We subclass FutureWarning as we will change the behavior in the future.
"""
class DuplicateCellId(FutureWarning):
"""
This warning is emitted in the validation step of nbformat as we used to
mutate the structure which is cause signature issues.
This will be turned into an error at later point.
We subclass FutureWarning as we will change the behavior in the future.
"""