Skip to content

DeprecationNotice

Class: warmhub.DeprecationNotice

DeprecationNotice(shape: str, message: str, removal_milestone: str, extra: Mapping[str, Any] = empty_mapping())

A shape that still works and will stop working.

Named Notice rather than Warning because DeprecationWarning is a builtin exception class: a model by that name would shadow it in any module that imported both, and except DeprecationWarning would then be a type error rather than the catch the author meant.

shape

Documentation is not yet available.

message

Documentation is not yet available.

removal_milestone

Documentation is not yet available.

extra = field(default_factory=empty_mapping)

Documentation is not yet available.