We define a sentinel class here, and we use it throughout the codebase where want to allow None to work as a fill value declaration.
typing_extensions>=4.14 has a backport of the stdlib Sentinel type , which does the same thing as our home-built sentinel. So we should swap our implementation over to that.
We define a sentinel class here, and we use it throughout the codebase where want to allow
Noneto work as a fill value declaration.typing_extensions>=4.14has a backport of the stdlibSentineltype , which does the same thing as our home-built sentinel. So we should swap our implementation over to that.