How to remove Optional from type hint?
How do unwrap (The problem reminds of rust) a type hint in python? Or in other words how to turn a Variable of type list[Optional[str]]
into list[str]
?
How do unwrap (The problem reminds of rust) a type hint in python? Or in other words how to turn a Variable of type list[Optional[str]]
into list[str]
?