After a great delay, I’ve decided to go with using Literal[NotGiven] for type annotations of sentinel values.
Thanks for everyone taking part in the discussion of type annotations for sentinels, here and on the typing-sig mailing list!
After a great delay, I’ve decided to go with using Literal[NotGiven] for type annotations of sentinel values.
Thanks for everyone taking part in the discussion of type annotations for sentinels, here and on the typing-sig mailing list!