You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python's typing module has a dedicated Optional type for nullable types but in the playwright docs, typing.Union is being used and can be confusing for the users.
Solution:
Replace all occurrences of typing.Union with typing.Optional. @mxschmitt@pavelfeldman
The text was updated successfully, but these errors were encountered:
Python's typing module has a dedicated
Optional
type for nullable types but in the playwright docs,typing.Union
is being used and can be confusing for the users.Solution:
Replace all occurrences of
typing.Union
withtyping.Optional
. @mxschmitt @pavelfeldmanThe text was updated successfully, but these errors were encountered: