Files
napalm-device-types/napalm_device_types
christianmanivong e5eb8de316 fix: a NotRequired key is optional at runtime too (#144)
Eight modules postponed their annotations, so TypedDict saw each
NotRequired as a string and recorded the key as required:
__optional_keys__ of KernelFactsDict and eight more shapes was empty.
mypy reads the source and was right; runtime introspection was not.
The modules evaluate their annotations again, and a test walks every
TypedDict in the package for an annotation it could not read.
2026-12-05 01:15:13 +01:00
..